From 1375cf56b13b1983b58cbe0b5f38ac0ab7a1cdc3 Mon Sep 17 00:00:00 2001 From: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com> Date: Tue, 6 Jun 2023 21:17:02 +0900 Subject: [PATCH] fix(behavior_path_planner): clear stop factors (#3910) fix(behavior_path_planner): clear stop reason Signed-off-by: satoshi-ota --- .../scene_module/scene_module_interface.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/planning/behavior_path_planner/include/behavior_path_planner/scene_module/scene_module_interface.hpp b/planning/behavior_path_planner/include/behavior_path_planner/scene_module/scene_module_interface.hpp index 1a75357b013ba..2c7e32d771b2c 100644 --- a/planning/behavior_path_planner/include/behavior_path_planner/scene_module/scene_module_interface.hpp +++ b/planning/behavior_path_planner/include/behavior_path_planner/scene_module/scene_module_interface.hpp @@ -505,6 +505,7 @@ class SceneModuleInterface void setStopReason(const std::string & stop_reason, const PathWithLaneId & path) { stop_reason_.reason = stop_reason; + stop_reason_.stop_factors.clear(); if (!stop_pose_) { stop_reason_.reason = "";