提交 cc46efe8 编写于 作者: J jmtao 提交者: Xiangquan Xiao

planning: fix typo per code review

上级 8f64bfdd
......@@ -804,7 +804,7 @@ const hdmap::Lane::LaneTurn& ReferenceLineInfo::GetPathTurnType(
return hdmap::Lane::NO_TURN;
}
const bool ReferenceLineInfo::GetIntersectiomRighoffRoad(
const bool ReferenceLineInfo::GetIntersectionRighoffRoad(
const hdmap::PathOverlap& pnc_junction_overlap) const {
if (GetPathTurnType(pnc_junction_overlap.start_s) != hdmap::Lane::NO_TURN) {
return false;
......
......@@ -161,7 +161,7 @@ class ReferenceLineInfo {
const hdmap::Lane::LaneTurn& GetPathTurnType(const double s) const;
const bool GetIntersectiomRighoffRoad(
const bool GetIntersectionRighoffRoad(
const hdmap::PathOverlap& pnc_junction_overlap) const;
double OffsetToOtherReferenceLine() const {
......
......@@ -517,7 +517,7 @@ void ScenarioManager::ScenarioDispatch(const common::TrajectoryPoint& ego_point,
} else if (pnc_junction_overlap) {
// bare intersection
if (FLAGS_enable_scenario_bare_intersection) {
if (reference_line_info.GetIntersectiomRighoffRoad(
if (reference_line_info.GetIntersectionRighoffRoad(
*pnc_junction_overlap)) {
scenario_type = default_scenario_type_;
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册