Closed zhang320 closed 11 months ago
Hi @zhang320 and @KXRLYM, please, check if yolov8_node is subscribed to your topic and if the QoS is the same for both, yolov8_node and your publisher.
Hello, I am using the v4l2 that comes with ROS2 Camera sent an image Raw message, but I haven't received any feedback. How can I obtain tracking results?
Tracking results are published in the /yolo/tracking topic. If you don't get any results, it may be due to the QoS of your image topic. This package uses Best Effort for the image topics, the sensor QoS.
I have made the QoS consistent between my publisher and YOLO subscriber but still doesn't work :( Added some screenshots:
No image I have both my publisher and YOLO sub open
rqt_graph yolo nodes subscribing to my node
Publisher with
self.publisher = self.create_publisher(Image, '/rgb/image_formatted', qos_profile_sensor_data)
Thank you for your response. I have got the result.
@KXRLYM, in that case, the problem is that you are using the 3D version, which needs a depth image topic. Try the normal launch file, yolov8.launch.py
.
@mgonzs13 Oh I thought I was using that launch file as per
ros2 launch yolov8_bringup yolov8.launch.py device:=cpu input_image_topic:=/rgb/image_formatted
Yes, that should launch the normal version but in the rqt_graph image, you have the 3D node. In that case, no db images will be published till 3D data is obtained.
@mgonzs13 I understood the problem now. Thank you so much the images are coming through :))
Not the author but I am having the same problem as described in the title (lol)