"No device connected" error with D435i connected to Jetson Nano in headless mode
Hello -
After successfully building pyrealsense2 library natively on Jetson Nano, I wanted to run a basic python code to check for streams and I get 'No device connected' error since then.
Even, rs-enumerate-devices command also did not result in my D435i connected to Jetson Nano.
Important:
> I have tested this D435i connected to Windows, and it is fully functional!
> When Jetson Nano has been booted into GUI mode (Ubuntu), the camera seems to be working also.
> However, when Jetson Nano is booted into head-less (CLI mode), the camera stopped working (I mean, the error above). I have used the following command on Nano to enforce headless boot-up.
sudo systemctl set-default multi-user.target
Am I missing any background daemons / supported libraries like OpenGL etc when running Nano (Ubuntu) on CLI mode which is causing this error?
Please help!
Cheers,
ram
-
If you are building Librealsense for a headless setup using CMake, it is recommended that you set the BUILD_GRAPHICAL_EXAMPLES flag to be False (it is True by default). This ensures that Librealsense will not install programs that require OpenGL graphics, such as the RealSense Viewer and the Depth Quality Tool.
-
Hello MartyG- Thanks, but my question is about the inability to access/discover camera at all in the first place. So, I'm curious how would not building GUI examples would make a difference in the behavior? I am sensing the issue to be with some sort of driver loading (probably, i'm wrong). do you have any further thoughts to my problem, eager to hear from you! Thanks in advance.
-
I could not find info related specifically to using the Nano with RealSense in CLI mode, unfortunately. The RealSense SDK can be used in headless mode. So this suggests that the issue is with the Nano's CLI mode in particular.
I did extensive research but could find no other cases of the problem that you reported (though this may be because no one else has tried using a RealSense camera with the Nano in CLI mode). So my interpretation of the situation is that although it may be possible to use the camera headless, it is possible that it may not be compatible with doing so through the Nano's CLI mode.
Please sign in to leave a comment.
Comments
5 comments