stereolabs / zed-ros2-wrapper

ROS 2 wrapper for the ZED SDK
https://www.stereolabs.com/docs/ros2/
Apache License 2.0
154 stars 154 forks source link

depth_registered shows black screen, only occasionally showing depth #118

Closed s183898 closed 1 year ago

s183898 commented 1 year ago

Preliminary Checks

Description

The other topics in rviz work fine, including point cloud, rgb, stereo, etc. However, when I open the depth_registered topic in rviz the screen is black and will only occasionally show the depth. The image will blink black with varying frequency and duration (even if there are no objects close to the camera, which I read might be an issue).

I am using the standard launch file shown in your guides and writing the following in the terminal:

ros2 launch zed_wrapper zed2i.launch.py

Steps to Reproduce

  1. Run "ros2 launch zed_wrapper zed2i.launch.py" in terminal on Jetson Xavier NX with Ubuntu 20.04 and ROS2 foxy, with Zed 2i
  2. Add "depth_registered" topic in rviz

Expected Result

A continuous view of the depth

Actual Result

Black screen, only sometimes showing depth

ZED Camera model

ZED2i

Environment

ROS2 foxy
Ubuntu 20.04
Jetson Xavier NX

Edit: Removed unrelated rviz errors

s183898 commented 1 year ago

Missed an existing issue. Found solution here: https://github.com/stereolabs/zed-ros-wrapper/issues/397