Skip to content

Commit

Permalink
fix(intersection): fixed virtual wall marker id duplication (#3603)
Browse files Browse the repository at this point in the history
Signed-off-by: Mamoru Sobue <[email protected]>
  • Loading branch information
soblin authored May 8, 2023
1 parent c46ba35 commit 1356149
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ visualization_msgs::msg::MarkerArray IntersectionModule::createVirtualWallMarker
&wall_marker, now);
}

auto id = 0;
auto id = planning_utils::bitShift(module_id_);
for (auto & marker : wall_marker.markers) {
if (marker.action == visualization_msgs::msg::Marker::ADD) {
marker.id = id;
Expand Down

0 comments on commit 1356149

Please sign in to comment.