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.
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.
Bug fix
There was an issue in the code where the obstacle information was published within the
rmf_human_detector_oakd
package. Theobstacle.id
value was mistakenly inserted twice, leaving theobstacle.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-L80It 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.