Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ROS1 Melodic D435i] When "rs_multiple_devices.launch" is launched, "Hardware Notification: Depth stream start failure,1.65875e+12,Error, Hardware Error" and then freezes. #2423

Closed
ImaiKota opened this issue Jul 25, 2022 · 8 comments
Labels

Comments

@ImaiKota
Copy link

ImaiKota commented Jul 25, 2022

When I run

roslaunch realsense2_camera rs_multiple_devices.launch

with two D435i devices, it displays

Hardware Notification: Depth stream start failure,1.65875e+12,Error, Hardware Error

and then the Laptop is frozen.

Environment:

  • Camera model: D435i
  • OS: Ubuntu 18.04
  • Kernel version: 5.4.0-100-generic
  • ROS: Melodic
  • RealSense SDK: I installed it by
    sudo apt-get install librealsense2-dkms
    sudo apt-get install librealsense2-utils
    sudo apt-get install librealsense2-dev
    sudo apt-get install librealsense2-dbg
  • realsense-ros: I installed it by
    sudo apt-get install ros-melodic-realsense2-camera
    sudo apt-get install ros-melodic-realsense2-description

The following is a screen shot of the warning message.
realsense_error

@ImaiKota ImaiKota changed the title [ROS1 Melodic ]When "rs_multiple_devices.launch" is launched, "Hardware Notification: Depth stream start failure,1.65875e+12,Error, Hardware Error" and then freezes. [ROS1 Melodic D435i]When "rs_multiple_devices.launch" is launched, "Hardware Notification: Depth stream start failure,1.65875e+12,Error, Hardware Error" and then freezes. Jul 25, 2022
@ImaiKota ImaiKota changed the title [ROS1 Melodic D435i]When "rs_multiple_devices.launch" is launched, "Hardware Notification: Depth stream start failure,1.65875e+12,Error, Hardware Error" and then freezes. [ROS1 Melodic D435i] When "rs_multiple_devices.launch" is launched, "Hardware Notification: Depth stream start failure,1.65875e+12,Error, Hardware Error" and then freezes. Jul 25, 2022
@ImaiKota
Copy link
Author

I tried to run it with initial_reset:=true option, but the situation did not change.

@ImaiKota
Copy link
Author

The error "Hardware Notification: Depth stream start failure,1.65875e+12,Error, Hardware Error" sometimes appeared even when running

roslaunch realsense2_camera rs_camera.launch

with a single D435i.

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Jul 25, 2022

Hi @ImaiKota I note that you first installed the librealsense SDK from packages and then used the RealSense ROS wrapper's Method 1 instructions, which install both librealsense and the ROS wrapper from packages at the same time. The librealsense SDK will therefore have been installed twice, which may lead to conflicts between the installations.

I would recommend first uninstalling all RealSense related packages and then re-performing the Method 1 procedure to install librealsense and the ROS wrapper together from packages.

All RealSense-related packages can be uninstalled with the instruction below:

dpkg -l | grep "realsense" | cut -d " " -f 3 | xargs sudo dpkg --purge

@ImaiKota
Copy link
Author

ImaiKota commented Jul 26, 2022

After uninstalling all packages related to realsense, I installed the ros package and SDK using method 1 and the problem was solved. Thank you very much!

@ImaiKota ImaiKota reopened this Jul 26, 2022
@ImaiKota
Copy link
Author

Sorry, the same problem occurred again.

@ImaiKota
Copy link
Author

ImaiKota commented Jul 26, 2022

After running the launch file with initial_reset:=true, I no longer encounter the problem.
Is this a good solution?

@MartyG-RealSense
Copy link
Collaborator

Yes, using initial_reset:=true is a fine solution to use to resolve your problem.

@ImaiKota
Copy link
Author

Okay, Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants