From f35348ce829d72830feb1e19861d938443a07f3b Mon Sep 17 00:00:00 2001 From: satoshi-ota Date: Thu, 7 Mar 2024 17:05:27 +0900 Subject: [PATCH] fix(avoidance): return previous module turn signal if it's in success state Signed-off-by: satoshi-ota --- planning/behavior_path_avoidance_module/src/scene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planning/behavior_path_avoidance_module/src/scene.cpp b/planning/behavior_path_avoidance_module/src/scene.cpp index 7d941bfa40b3a..d884c22e71c44 100644 --- a/planning/behavior_path_avoidance_module/src/scene.cpp +++ b/planning/behavior_path_avoidance_module/src/scene.cpp @@ -870,7 +870,7 @@ BehaviorModuleOutput AvoidanceModule::plan() updatePathShifter(data.safe_shift_line); if (data.success) { - removeRegisteredShiftLines(); + return getPreviousModuleOutput(); } if (data.yield_required) {