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

OAK-D PRO don't have depth topic

Open Ragnar7982 opened this issue 1 year ago • 7 comments

Hello, I'm using Turtlebot4 and OAK-D PRO, OS is Ubuntu22.04 and ROS2-humble, when I call ros2 topic list, the camera only have these topic: /oakd/rgb/preview/camera_info /oakd/rgb/preview/image_raw /oakd/rgb/preview/image_raw/compressed /oakd/rgb/preview/image_raw/compressedDepth /oakd/rgb/preview/image_raw/theora

Is there any NOT compressedDepth topic? Because I wanna use RTAB-map, so is there any settings can change to depth(not compressed)? Thank you.

Ragnar7982 avatar Aug 05 '24 12:08 Ragnar7982

Hi, this can be the result of your config file, more specifically pipeline type. You can find more on pipeline types here

Serafadam avatar Aug 05 '24 12:08 Serafadam

@Serafadam Hello, thanks for replying fast. When I run camera.launch.py, it shows: [component_container-1] [ERROR] [1722860415.251114816] [oak]: No available devices [component_container-1] [INFO] [1722860415.251352386] [oak]: No ip/mxid specified, connecting to the next available device. Is there any way can fix this?

Ragnar7982 avatar Aug 05 '24 12:08 Ragnar7982

Hi, I think it would be best if you go through the steps described in our bug report template. You can also check this page for general information regarding connectivity issues

Serafadam avatar Aug 05 '24 14:08 Serafadam

Hello, sorry for the late reply, so after I connect to laptop the camera works find(USB3.0),but why it's wrong with rtabmap, all of settings are default, and I run: ros2 launch depthai_ros_driver rtabmap.launch .py, but it feels so lagging, and it shows very weird, do you know where might be the problem? Screenshot from 2024-08-07 15-18-02

Ragnar7982 avatar Aug 07 '24 07:08 Ragnar7982

Hi, based on this image I think it is related to odometry losing track of features, this can be cause by fast movements or exposure changes, you can retrigger the odometry via ROS service or RTABMap's GUI. Regarding latency, it is probably related to ROS2 DDS, you can find some more information on improving the latency here

Serafadam avatar Aug 07 '24 09:08 Serafadam

Thanks for replying fast, but I run visualized_pointcloud.py( default setting), which is in depthai_ros_driver, it shows like this, I am wondering if it's camera problems? This is far: Screenshot from 2024-08-07 19-03-50 This is close: Screenshot from 2024-08-07 19-08-07 These are actually similar to rtabmap, can you tell me where might be the problems? Thank you

Ragnar7982 avatar Aug 07 '24 11:08 Ragnar7982

@Serafadam Did you ever try rtabmap with oak-d pro camera before? If you did it do you mind let me see your parameters? Thank you.

Ragnar7982 avatar Aug 07 '24 11:08 Ragnar7982