From a035d57a2570d9c5ec7a8c85a390e00c1e4dd6e2 Mon Sep 17 00:00:00 2001 From: kosuke55 Date: Tue, 14 Nov 2023 14:19:15 +0900 Subject: [PATCH] pub path candidate after approval Signed-off-by: kosuke55 --- .../src/scene_module/goal_planner/goal_planner_module.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/planning/behavior_path_planner/src/scene_module/goal_planner/goal_planner_module.cpp b/planning/behavior_path_planner/src/scene_module/goal_planner/goal_planner_module.cpp index dfe89e530677e..84b4032cde4ad 100644 --- a/planning/behavior_path_planner/src/scene_module/goal_planner/goal_planner_module.cpp +++ b/planning/behavior_path_planner/src/scene_module/goal_planner/goal_planner_module.cpp @@ -915,9 +915,6 @@ BehaviorModuleOutput GoalPlannerModule::planPullOverAsCandidate() return output; } - path_candidate_ = - std::make_shared(thread_safe_data_.get_pull_over_path()->getFullPath()); - return output; } @@ -955,6 +952,9 @@ BehaviorModuleOutput GoalPlannerModule::planPullOverAsOutput() return output; } + path_candidate_ = + std::make_shared(thread_safe_data_.get_pull_over_path()->getFullPath()); + updateStatus(output); return output;