Skip to content

Commit

Permalink
Merge pull request #53 from iker-lluvia/patch-1
Browse files Browse the repository at this point in the history
Correct plugin so it can show more than one instance of each category
  • Loading branch information
Myzhar authored Oct 2, 2023
2 parents 29d7beb + 4c6c5e7 commit 6120553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rviz-plugin-zed-od/src/plugin/src/zed_od_display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ void ZedOdDisplay::processMessage(const zed_interfaces::ObjectsStamped::ConstPtr

void ZedOdDisplay::createOrUpdateObject(zed_interfaces::Object& obj)
{
int16_t id = obj.label_id;
int16_t id = obj.instance_id;
if (id == -1 && obj.tracking_available) // Not a valid ID?
{
return;
Expand Down

0 comments on commit 6120553

Please sign in to comment.