Skip to content

Commit d1baad8

Browse files
add comment on override
Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com>
1 parent e2e8e18 commit d1baad8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

planning/behavior_path_start_planner_module/src/start_planner_module.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -1250,6 +1250,11 @@ TurnSignalInfo StartPlannerModule::calcTurnSignalInfo()
12501250

12511251
constexpr bool egos_lane_is_shifted = true;
12521252
constexpr bool is_pull_out = true;
1253+
1254+
// In Geometric pull out, the ego stops once and then steers the wheels to the opposite direction.
1255+
// This sometimes causes the getBehaviorTurnSignalInfo method to detect the ego as stopped and
1256+
// close to complete its shift, so it wrongly turns off the blinkers, this override helps avoid
1257+
// this issue.
12531258
const bool override_ego_stopped_check = std::invoke([&]() {
12541259
if (status_.planner_type != PlannerType::GEOMETRIC) {
12551260
return false;

0 commit comments

Comments
 (0)