From 1a683bf688128996ccd02236424dce9fedaec183 Mon Sep 17 00:00:00 2001 From: Mamoru Sobue Date: Fri, 26 May 2023 15:10:09 +0900 Subject: [PATCH] fix(stopline): fix virtual wall marker id duplication Signed-off-by: Mamoru Sobue --- planning/behavior_velocity_stop_line_module/src/debug.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/planning/behavior_velocity_stop_line_module/src/debug.cpp b/planning/behavior_velocity_stop_line_module/src/debug.cpp index d2b9527b1dd7d..69aba34677ddb 100644 --- a/planning/behavior_velocity_stop_line_module/src/debug.cpp +++ b/planning/behavior_velocity_stop_line_module/src/debug.cpp @@ -107,7 +107,8 @@ visualization_msgs::msg::MarkerArray StopLineModule::createVirtualWallMarkerArra *debug_data_.stop_pose, debug_data_.base_link2front, 0.0, 0.0); if (state_ == State::APPROACH || state_ == State::STOPPED) { appendMarkerArray( - virtual_wall_marker_creator_->createStopVirtualWallMarker({p_front}, "stopline", now), + virtual_wall_marker_creator_->createStopVirtualWallMarker( + {p_front}, "stopline", now, 0.0, std::to_string(module_id_) + "_"), &wall_marker, now); }