Skip to content

Commit

Permalink
fix(avoidance): return previous module turn signal if it's in success…
Browse files Browse the repository at this point in the history
… state

Signed-off-by: satoshi-ota <[email protected]>
  • Loading branch information
satoshi-ota committed May 17, 2024
1 parent 5bb25a0 commit f35348c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planning/behavior_path_avoidance_module/src/scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ BehaviorModuleOutput AvoidanceModule::plan()
updatePathShifter(data.safe_shift_line);

if (data.success) {
removeRegisteredShiftLines();
return getPreviousModuleOutput();
}

if (data.yield_required) {
Expand Down

0 comments on commit f35348c

Please sign in to comment.