luxonis / depthai-ros

Official ROS Driver for DepthAI Sensors.
MIT License
251 stars 185 forks source link

[BUG] Wrongly defined topic name in obj_pub.py #567

Open kygrafabe opened 1 month ago

kygrafabe commented 1 month ago

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

Serafadam commented 1 month ago

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