Replies: 5 comments 4 replies
-
Hi @yasmineYK Have you built librealsense from source code as an x86 (32-bit) version and are using a librealsense version older than 2.51.1, please? There was a D405-specific crash problem when using the camera with the 32-bit version of the librealsense library that was fixed in SDK version 2.51.1. |
Beta Was this translation helpful? Give feedback.
-
There is not an obvious reason in the script why the D405 in particular would be having an issue. In terms of hardware, the main differences between D435 and D405 are:
I am not aware of a previous RealSense case in which D405 has been used with PCL, so it is possible that there is a previously undiscovered D405-specific PCL issue. Have you tried removing the for(int) frame skip mechanism to see whether it might be causing a conflict?
So the code would look like this:
|
Beta Was this translation helpful? Give feedback.
-
A script run on a D405 should in theory behave the same as being run a D435 if the following components are not being accessed.
You could test for whether parameters in a D435 json are not supported by D405 if you export a json from the RealSense Viewer whilst only the D405 is connected and then test loading that json with your program. The json export option is near the top of the Viewer's options side-panel. |
Beta Was this translation helpful? Give feedback.
-
You are very welcome! The D405 has left and right infrared sensors. It is a separate RGB sensor that it lacks. The D405 instead obtains RGB from the depth sensor (the left infrared sensor, specifically). An index number (1 or 2) is used with the left and right infrared sensors when using both of the sensors, so that the program knows which of the sensors to access. If only the left infrared sensor (1) is being used in a program then it is not necessary to use an index number. |
Beta Was this translation helpful? Give feedback.
-
You are very welcome :) |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
I'm encountering an issue with the API when I try to communicate with D405 cameras. I have 3 cameras plugged in and I try to capture 1 image from each one, successively.
The problem is that I have a random crash when I capture frames from the cameras with this error message:
When this happens, I sometime loose access to the camera until I unplug/plug it.
Worse, I can loose access to all USB ports (including mouse and keyboard).
This only happens with D405 cameras. I don't have this issue with D435.
Here is a script reproducing the bug:
rs-pcl-debug.txt
And here is the file containing this scripts' logs:
logs_pcl_debug.txt
Beta Was this translation helpful? Give feedback.
All reactions