Trouble connecting multiple cameras
Hi everyone,
I am having trouble connecting multiple cameras (D455) to one computer. The problem is that some cameras turn off after a while and the system does not see them until the computer is reset. From the camera I read the image depth with a frequency of 90 Hz and the size of 640x480. Has anyone had a similar problem?
-
Hi P Woronow As the problem is occurring a while after the session has started, if the camera's operating temperatures are within recommended maximum limits then it is likely that the problem is occurring due to something other than the camera hardware. This could include a glitch on the USB port or cable, the computer hardware or the computer's operating system.
The chance of unforeseeable consequences in regards to stability could also increase if you are using Ubuntu as your operating system and are using a kernel that is not currently supported by default in the RealSense SDK. For example, version 2.50.0 of the RealSense SDK (librealsense) supports kernel 5.4 when installed from packages and up to kernel 5.8 and 5.11 when built from source code.
Whilst newer non-supported kernels can be used with the SDK, the aforementioned possibility of instability could occur.
A draft kernel patch has recently been released at the link below to add support to the SDK for kernel 5.13 and 5.15.
https://github.com/IntelRealSense/librealsense/pull/10625
A pre-built package for testing the patch is here:
https://github.com/mengyui/librealsense2-dkms/releases
May I also ask which method you used to install the SDK? A build based on kernel patching will be more suited to multiple cameras than one built from source code with the RSUSB backend installation method.
-
Thanks very much for the information. A short and unpredictable time period of between 10 seconds and 20 minutes increases the likelihood that there is an issue in the program rather than the hardware. Are you using the RealSense SDK's RealSense Viewer tool or a program that you have created yourself, please?
-
A camera connection may 'time out' if new frames are not received for 5 seconds. If only some of the cameras are stopping then it would seem to be an issue related to individual camera connections and not a freezing / exit of the entire program.
Does your program code use the instruction wait_for_frames() ? If it does then poll_for_frames() is recommended for a program that is accessing multiple cameras.
If poll_for_frames() is already used in your program then it is advisable to control when the CPU sleeps and for how long, as described at the link below.
https://github.com/IntelRealSense/librealsense/issues/2422#issuecomment-423254709
Please sign in to leave a comment.
Comments
6 comments