luxonis/depthai-ros

[BUG] Wrongly defined topic name in obj_pub.py

Opened this issue · 1 comments

Describe the bug
In file depthai-ros/depthai-ros-driver/scripts/obj_pub.py at line 39 the node tries to subscribe to topic "/oak/nn/detections". This topic does not exist in the orchestration. Rather name it "/oak/nn/spatial_detections". This topic is actually published to by the nn.

Minimal Reproducible Example
Run ros2 launch depthai-ros-driver example_marker_publisher.py.

Expected behavior
Markers being published

Screenshots
Screenshot from 2024-07-28 16-08-53

Hi, thanks for the report, that will be fixed sometime in the future, just wanted to mention that the same functionality as in obj_pub has been provided with spatial_bb node in depthai_filters