From 2b45358ce6fddae54908936ae594a2e31b718f1d Mon Sep 17 00:00:00 2001 From: Tomohito ANDO Date: Thu, 13 Jul 2023 20:40:45 +0900 Subject: [PATCH] fix(run_out): clear stop pose to prevent virtual wall from remaining (#663) fix(run_out): clear stop pose to prevent virtual wall from remaining (#4240) fix(run_out): clear stop pose to prevent virtual wall from increasing Signed-off-by: Tomohito Ando --- planning/behavior_velocity_run_out_module/src/debug.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/planning/behavior_velocity_run_out_module/src/debug.cpp b/planning/behavior_velocity_run_out_module/src/debug.cpp index 76d5d25a43d9f..7fa17b0cea52a 100644 --- a/planning/behavior_velocity_run_out_module/src/debug.cpp +++ b/planning/behavior_velocity_run_out_module/src/debug.cpp @@ -184,6 +184,8 @@ motion_utils::VirtualWalls RunOutDebug::createVirtualWalls() wall.pose = p; virtual_walls.push_back(wall); } + stop_pose_.clear(); + return virtual_walls; }