Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix/add missing source value #35

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MikhailBertrand
Copy link

Bug fix

There was an issue in the code where the obstacle information was published within the rmf_human_detector_oakd package. The obstacle.id value was mistakenly inserted twice, leaving the obstacle.source field empty.

As a result, the rmf_visualization_obstacles node ignored the published obstacle, preventing it from being displayed in rviz.
https://github.com/open-rmf/rmf_visualization/blob/1130f2cc491736f7dc395abe032d364008c24900/rmf_visualization_obstacles/src/ObstacleVisualizer.cpp#L74-L80

It appears that the detector_name parameter was intended to be used as the source value in the obstacle information being published, so I made the necessary modifications.

@Yadunund
Copy link
Member

Thanks for submitting this fix! Will merge after CI passes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants