Giter VIP home page Giter VIP logo

Comments (9)

mgonzs13 avatar mgonzs13 commented on July 20, 2024

Hi @alt1-m8, have you checked the QoS of your topics as mentioned in #15? This package uses the default QoS profile for sensor data.

from yolov8_ros.

alt1-m8 avatar alt1-m8 commented on July 20, 2024

Hi @mgonzs13 thanks for the quick reply. I have checked the Qos topics (see attached picture),
Screenshot 2023-12-12 at 2 13 57 PM

This image shows the topic info for the image_raw topic published by the real sense node. It's 'RELIABLE'. If I understand correctly, 'BEST_EFFORT' is required in its place. Is there a way to specify this in the cli during launch of the realsense, or is this a setting that must be applied in the launch file, or within the ROS settings?

from yolov8_ros.

mgonzs13 avatar mgonzs13 commented on July 20, 2024

I have added some QoS parameters to the nodes and launch files to configure the reliability of the topics. So now you can change the QoS of the nodes of this package instead of the QoS of your camera. Take a look at the README. You can change the reliability by adding image_reliability:=1, depth_image_reliability:=1 and depth_info_reliability:=1 when you run the launch (0=system default, 1=Reliable, 2=Best Effort).

from yolov8_ros.

alt1-m8 avatar alt1-m8 commented on July 20, 2024

Thanks for the quick update. I have launched yolov8-ros with the new changes and the reliability adjustments on cli. The ros2 topic info --verbose shows yolov8-ros and the realsense as RELIABLE. However, I still haven't gotten a stream. Just to check, upon launching the yolov8-ros, should the stream with the detections show up as a pop-up window, or must RVIZ2 be launched separately? I have used RVIZ to visualise all the topics, and all streams show as no image with the exception of image_raw.

from yolov8_ros.

mgonzs13 avatar mgonzs13 commented on July 20, 2024

Yes, you have to open rviz2 to visualize the /yolo/dbg_image. You can also echo the topics /yolo/detections and /yolo/tracking.

from yolov8_ros.

Unknown9190 avatar Unknown9190 commented on July 20, 2024

I've ran the ros2 node successfully and is able to get the output image by subscribing to /yolo/dbg_image image topic on rviz2. My question is, how do I get the depth data like you did in the rviz2 by simply running $ ros2 launch yolov8_bringup yolov8.launch.py? I've looked into the code and the py file only seems to be subscribing to a type sensor::msg::Image topic. I'm using a monocular camera with no depth information whatsoever, is it possible to derive depth information only using yolov8? If possible, how can it be implemented?

from yolov8_ros.

mgonzs13 avatar mgonzs13 commented on July 20, 2024

@Unknown9190, in the examples of the README, I am using an RGB-D camera, that publishes color and depth images and the point cloud. The yolov8.launch.py launch only runs the nodes to apply YOLOv8, the tracking and the debug. For the 3D option, you have to use yolov8_3d.launch.py, which runs the 3D node subscribing to the depth image and camera info.

If you want depth images from monocular images, you can check solutions like the ones presented in Papers With Code.

from yolov8_ros.

Unknown9190 avatar Unknown9190 commented on July 20, 2024

@mgonzs13 Understood, I'll try to implement it into my ros2 project, thanks for the help!

from yolov8_ros.

mgonzs13 avatar mgonzs13 commented on July 20, 2024

Hey @Unknown9190, how is this going?

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.