Skip to content

Commit

Permalink
fix(autoware_auto_perception_rviz_plugin): fix twist marker id (#1774)
Browse files Browse the repository at this point in the history
Signed-off-by: scepter914 <scepter914@gmail.com>

Signed-off-by: scepter914 <scepter914@gmail.com>
  • Loading branch information
scepter914 authored Sep 9, 2022
1 parent c0a7d61 commit e5a1551
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ void DetectedObjectsDisplay::processMessage(DetectedObjects::ConstSharedPtr msg)
if (velocity_text_marker) {
auto velocity_text_marker_ptr = velocity_text_marker.value();
velocity_text_marker_ptr->header = msg->header;
velocity_text_marker_ptr->id = id++;
add_marker(velocity_text_marker_ptr);
}

Expand All @@ -74,6 +75,7 @@ void DetectedObjectsDisplay::processMessage(DetectedObjects::ConstSharedPtr msg)
if (twist_marker) {
auto twist_marker_ptr = twist_marker.value();
twist_marker_ptr->header = msg->header;
twist_marker_ptr->id = id++;
add_marker(twist_marker_ptr);
}
}
Expand Down

0 comments on commit e5a1551

Please sign in to comment.