Comments (9)
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.
Hi @mgonzs13 thanks for the quick reply. I have checked the Qos topics (see attached picture),
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.
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.
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.
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.
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.
@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.
@mgonzs13 Understood, I'll try to implement it into my ros2 project, thanks for the help!
from yolov8_ros.
Hey @Unknown9190, how is this going?
from yolov8_ros.
Related Issues (20)
- Could not transform: "base_link" passed to lookupTransform argument target_frame does not exist HOT 2
- Train HOT 6
- how can i convert 3d coordinate to real word coordinate? HOT 2
- How to create and train the dataset HOT 3
- Issue when trying to launch yolov8 - using realsense camera HOT 10
- base_link passed to lookupTransform argument target_frame does not exist HOT 2
- detect_3d_node.py: on_detections not being called! HOT 4
- 3D object detection Transformation issue HOT 15
- How to test this project for ROS noetic HOT 2
- UBUNUT & ROS VERSION HOT 1
- Lifecycle nodes HOT 2
- No image in Rviz2 using realsense camera! HOT 10
- missing pip module lap HOT 1
- custom yolo pretrained problem. HOT 5
- ros2 version HOT 10
- Encoding error by ultralytics prediction HOT 6
- distance to object HOT 5
- Operating system HOT 14
- Missing yolov8_msgs dependency
- Does this package support OBB? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolov8_ros.