stereolabs / zed-ros-wrapper

ROS wrapper for the ZED SDK
https://www.stereolabs.com/docs/ros/
MIT License
447 stars 391 forks source link

Dual ZED2 Camera Flickering - ROS #840

Closed L-Reichardt closed 2 years ago

L-Reichardt commented 2 years ago

Preliminary Checks

Description

Hello,

I have setup two ZED2 Cameras in parallel set at 1080p using the mutli-cam ROS launch files from the official Examples. I have changed the serial numbers to fit both cameras accordingly.

However, I get flickering (an example image attached) when viewing (RVIZ) or recording the data. So it seems that this issue is coming directly from the cameras. This affects both cameras. Both are running SDK 3.7.2, and are connected via USB 3.

I am recording the following topics into ROSBags: /zed2/camera_A/nodelet_A/right_raw/camera_info /zed2/camera_A/nodelet_A/right/image_rect_color /zed2/camera_B/nodelet_B/left_raw/camera_info /zed2/camera_B/nodelet_B/left/image_rect_color

Any help would be greatly appreciated.

Best Regards

Steps to Reproduce

  1. Modify multi-cam launch files for ZED repo for two cameras. Use 2x ZED2 cameras, change serial numbers in launch file.
  2. Launch through ROS
  3. View in RVIZ / test recording

Expected Result

Flawless Recording

Actual Result

Camera Flickering (estimated 2.5% of frames)

ZED Camera model

ZED2

Environment

OS: Ubuntu 20.04 LTS
ROS: Noetic
CPU: Intel i5-10400F @ 2.9 GHz
AMD64
GPU: Nvidia 3060, CUDA 11.6, Driver 510.60.02
SDK 3.7.2

Anything else?

No response

L-Reichardt commented 2 years ago

Bandwidth Issue caused by 2xUSB 3 Ports build PC internally with a shared bandwidth.