Skip to content

Hotfix/add missing source value#35

Open
KenyuKurimoto wants to merge 2 commits intoopen-rmf:mainfrom
sbgisen:hotfix/add_missing_source_value
Open

Hotfix/add missing source value#35
KenyuKurimoto wants to merge 2 commits intoopen-rmf:mainfrom
sbgisen:hotfix/add_missing_source_value

Conversation

@KenyuKurimoto
Copy link
Copy Markdown

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.

Signed-off-by: MikhailBertrand <kenyu.kurimoto@gmail.com>
Signed-off-by: MikhailBertrand <kenyu.kurimoto@gmail.com>
@KenyuKurimoto KenyuKurimoto force-pushed the hotfix/add_missing_source_value branch from b3df393 to 3e4b4a3 Compare August 23, 2024 08:00
@Yadunund
Copy link
Copy Markdown
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