Skip to content

Commit 168409a

Browse files
comments
Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com>
1 parent d1baad8 commit 168409a

File tree

1 file changed

+2
-0
lines changed
  • planning/behavior_path_lane_change_module/src

1 file changed

+2
-0
lines changed

planning/behavior_path_lane_change_module/src/scene.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,8 @@ TurnSignalInfo NormalLaneChange::updateOutputTurnSignal() const
486486
const auto & shift_path = status_.lane_change_path.shifted_path;
487487
const auto current_shift_length = lanelet::utils::getArcCoordinates(current_lanes, pose).distance;
488488
constexpr bool is_driving_forward = true;
489+
// The getBehaviorTurnSignalInfo method expects the shifted line to be generated off of the ego's
490+
// current lane, lane change is different, so we set this flag to false.
489491
constexpr bool egos_lane_is_shifted = false;
490492

491493
const auto [new_signal, is_ignore] = planner_data_->getBehaviorTurnSignalInfo(

0 commit comments

Comments
 (0)