Giter VIP home page Giter VIP logo

Comments (10)

KXRLYM avatar KXRLYM commented on July 20, 2024

Not the author but I am having the same problem as described in the title (lol)

  • ROS2 Humble running on Ubuntu 22.04, using Azure Kinect
  • nothing is being published to yolo/dbg_image or any topic really
  • launching 'ros2 launch yolov8_bringup yolov8.launch.py device:=cpu input_image_topic:=/rgb/image_formatted' and everything seems fine with one and only output '[yolov8_node-1] YOLOv8m summary (fused): 218 layers, 25886080 parameters, 0 gradients, 78.9 GFLOPs'
  • /rbg/image_formatted seems normal, I can see the camera image on RVIZ2 image viewer

from yolov8_ros.

mgonzs13 avatar mgonzs13 commented on July 20, 2024

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.

from yolov8_ros.

zhang320 avatar zhang320 commented on July 20, 2024

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?

from yolov8_ros.

mgonzs13 avatar mgonzs13 commented on July 20, 2024

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.

from yolov8_ros.

KXRLYM avatar KXRLYM commented on July 20, 2024

I have made the QoS consistent between my publisher and YOLO subscriber but still doesn't work :(
Added some screenshots:

No image
image
I have both my publisher and YOLO sub open

rqt_graph yolo nodes subscribing to my node
image

Publisher with

self.publisher = self.create_publisher(Image, '/rgb/image_formatted', qos_profile_sensor_data)

from yolov8_ros.

zhang320 avatar zhang320 commented on July 20, 2024

Thank you for your response. I have got the result.

from yolov8_ros.

mgonzs13 avatar mgonzs13 commented on July 20, 2024

@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.

from yolov8_ros.

KXRLYM avatar KXRLYM commented on July 20, 2024

@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

from yolov8_ros.

mgonzs13 avatar mgonzs13 commented on July 20, 2024

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.

from yolov8_ros.

KXRLYM avatar KXRLYM commented on July 20, 2024

@mgonzs13 I understood the problem now. Thank you so much the images are coming through :))

from yolov8_ros.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.