depthai-ros icon indicating copy to clipboard operation
depthai-ros copied to clipboard

[BUG] Wrongly defined topic name in obj_pub.py

Open kygrafabe opened this issue 1 year ago • 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

kygrafabe avatar Jul 29 '24 12:07 kygrafabe

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

Serafadam avatar Jul 29 '24 15:07 Serafadam