We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dad706 commit 6752bdbCopy full SHA for 6752bdb
planning/behavior_velocity_out_of_lane_module/src/debug.cpp
@@ -64,7 +64,7 @@ void add_current_overlap_marker(
64
debug_marker.points.clear();
65
for (const auto & p : current_footprint)
66
debug_marker.points.push_back(tier4_autoware_utils::createMarkerPosition(p.x(), p.y(), z));
67
- debug_marker.points.push_back(debug_marker.points.front());
+ if (!debug_marker.points.empty()) debug_marker.points.push_back(debug_marker.points.front());
68
if (current_overlapped_lanelets.empty())
69
debug_marker.color = tier4_autoware_utils::createMarkerColor(0.1, 1.0, 0.1, 0.5);
70
else
0 commit comments