IntelRealSense / realsense-ros

ROS Wrapper for Intel(R) RealSense(TM) Cameras
http://wiki.ros.org/RealSense
Apache License 2.0
2.5k stars 1.74k forks source link

Multiple Cameras Jetson Xavier USB SCP overflow #1279

Closed RGring closed 4 years ago

RGring commented 4 years ago

Hi, I run the following setup:

I have updated the firmware to 5.12.6.0.

I reduced the fps to 15, but I need to keep the highest resolution for depth and rgb.

Unfortunately I still get the error: Hardware Notification:USB SCP overflow,1.59463e+12,Error,Hardware Error Hardware Notification:USB REC overflow,1.59464e+12,Error,Hardware Error

Any suggestions, how I could solve this?

MartyG-RealSense commented 4 years ago

You could try disabling infrared2 in your roslaunch statement. It saves on USB transportation and kernel work, according to Doronhi the RealSense ROS wrapper developer. Doronhi adds "It will have no effect on the depth quality. It only disables the infra2 images' transmission via the USB port. They are still taken and the depth is calculated using them inside the device".

An example statement would be:

roslaunch realsense2_camera rs_camera.launch enable_infra2:=false

RGring commented 4 years ago

Thanks for the reply. In the rs_camera.launch the enable_infra1 and enable_infra2 are set to false by default. So I had this already applied. I only change the following parameters.

  <include file="$(find realsense2_camera)/launch/rs_camera.launch">
    <arg name="camera" value="realsense"/>
    <arg name="enable_sync" value="true"/>
    <arg name="align_depth" value="true"/>

    <arg name="depth_width" value="1280"/>
    <arg name="depth_height" value="720"/>
    <arg name="infra_width" value="1280"/>
    <arg name="infra_height" value="720"/>

    <arg name="color_width" value="1920"/>
    <arg name="color_height" value="1080"/>

    <arg name="depth_fps" default="15"/>
    <arg name="color_fps" default="15"/>
  </include>
MartyG-RealSense commented 4 years ago

Thanks for the information. What is the ZED2 being used for in this project, please? Also, which Librealsense version and ROS wrapper version are you using?

RGring commented 4 years ago

I use the ROS Wrapper version 2.2.8, librealsense 2.35.2.

MartyG-RealSense commented 4 years ago

In general you should try to match a particular ROS wrapper version as closely as possible with the SDK version recommended for use with that wrapper on the wrapper's Releases page. Wrapper 2.2.8 was intended for use with the very old SDK 2.25.0.

RGring commented 4 years ago

Oh true! I overlooked the newer versions. I will try the most recent version (2.2.15) tomorrow and give feedback on the performance later.

RGring commented 4 years ago

I update to 2.2.14 with librealsense 2.35.2 and the Hardware Error remains.

MartyG-RealSense commented 4 years ago

Please try inserting this instruction into your roslaunch statement:

initial_reset:=true

RGring commented 4 years ago

I did that and it reduced the number of messages slightly, but they still remain.

MartyG-RealSense commented 4 years ago

Though your camera is connected to a USB 3 port, could you check please that it is actually being identified as a USB 3 connection and not a slower USB 2 one, please?

MartyG-RealSense commented 4 years ago

Case closed due to no further comments received.