Realsense D455 crashes my computer repeatedly
Hello, I am using 2 Intel Realsense D455 Camera with my Intel NUC i7-1165G7. I have the following launch file in which I launch the nodelets for both the realsense cameras. Sometimes, it works flawlessly, but other times it just hangs my system. And some times even Kernel Panic occurs. It crashes multiple times a day when I launch my launch file and then I have to restart my system, multiple times a day.
This is not the issue that the NUC doesn't have enough computation power as even with 1 D455 camera,it sometimes hangs. Earlier, about a month ago, when I boughtthe camera, everything worked flawlessly and I used the rs_camera.launch file. Now withmy launch file, the computer is hanging, but now also with 1 realsense Camera and even when using the rs_camera.launch file, the system hangs sometimes. 5-7 times a day.
I have to use the realsense cameras for an Autonomous Driving Project, so cannot afford that the camera causes the system to hang or comletely crash midway during a demonstration.
And it is not that lauchign the launch file and quiting it very quickly, is the reason, because even if I launch it after a few minutes, even then it hangs. And some other times, it works without any error, even when launching the launch file repeatedly.
I am using Ubuntu 18.04 and one of the cameras firmware is updated.
These are their details via rs-enumerate-devices -s :
Device Name Serial Number Firmware Version
Intel RealSense D455 207322250030 05.13.00.50
Intel RealSense D455 213522254737 05.12.07.150
Also I install the SDK fron the instructions given here. I did not build it from source, but installed it as given here: https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md
And I installed ROS Wrapper using Method 1 as given here: https://github.com/IntelRealSense/realsense-ros
Here is my Launch file:
<launch>
<group ns="erick">
<group ns="realsense_cam_1">
<include file="$(find realsense2_camera)/launch/includes/nodelet.launch.xml"/>
<rosparam file = "erick/realsense_newest.yaml" command = "load"/>
</group>
<group ns="realsense_cam_2">
<include file="$(find realsense2_camera)/launch/includes/nodelet.launch.xml"/>
<rosparam file = "erick/realsense_newest_2.yaml" command = "load"/>
</group>
</launch>
Please look into the matter and kindly help.
-
Hi Nishitanand5 I note that in your description of your installation procedure above, you installed the librealsense SDK from packages with the distribution_linux.md instructions and then installed the ROS wrapper from packages afterwards with Method 1 of the ROS wrapper instructions.
Method 1 installs both librealsense and the ROS wrapper at the same time. So when Method 1 was run, librealsense was installed for a second time after it had already been installed with distribution_linux.md. This may cause conflicts between the two installations.
I would recommend uninstalling all librealsense related packages and then performing the Method 1 installation again afterwards, so that you only have one librealsense installation. Packages can be uninstalled with the command below.
dpkg -l | grep "realsense" | cut -d " " -f 3 | xargs sudo dpkg --purge
-
Is dual installation of librealsense is a problem? MartyG. I have also faced this problem recent days.
-
Hi Gunasekaran S If you have installed librealsense from both packages and source code on the same computer in Linux then there could be a conflict between two different sets of udev rules (which handle devices on Linux computers).
Please sign in to leave a comment.
Comments
3 comments