librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

Problems in detecting RGB module

Open AleBasso80 opened this issue 8 years ago • 5 comments

Camera Model: D400 Firmware Version: 05.08.15.00 Operating System & Version: Linux Ubuntu 16.04 Kernel Version (Linux Only): 4.13.0 Platform: PC, NVIDIA Jetson. SDK version: 2.10.0

Hello, I tested both D415 and D435 with PC and Jetson TX2. After some regular tests made both on a PC and on a Jetson TX2, neither my C++ program nor the realsense-viewer are any more able to detect the RGB module. Moreover, the devices are no more recognized as D415 or D435, but as generic IntelRealSense USB2. I don't know why this is happening nor how to restore the original firmware.

I configure the streams by means of the command configuration.enable_stream and I set the preset as follows: auto range = depth_sensor.get_option_range(RS2_OPTION_VISUAL_PRESET); for (auto i = range.min; i < range.max; i += range.step) if (std::string(depth_sensor.get_option_value_description(RS2_OPTION_VISUAL_PRESET, i)) == _preset) depth_sensor.set_option(RS2_OPTION_VISUAL_PRESET, i);

I picked this code up from an example. These are the only parts of my code where I set something to the camera.

Any idea?

Thanks!

AleBasso80 avatar Mar 05 '18 12:03 AleBasso80

Hello @AleBasso80 , The root cause is the improper enumeration of the device as USB2 type. D400 devices require USB3 connection to satisfy both the power and bandwidth requirements. When the device is enumerated as USB2 the firmware switches to a "reduced capability" mode which includes only a subset of depth resolutions and formats (only low-res) and no RGB sensor.

The main reason for the improper enumeration is the HW setup: USB ports/connectors/cables/hubs. You need to verify the HW chain step by step to fix it.

Some recent reports on this topic: 1181, 1061, 1148, 902

ev-mp avatar Mar 05 '18 14:03 ev-mp

Hello @ev-mp, thank you for your answer. Actually I plugged the cameras on the wrong USB port on the PC, but the Jetson's was correct. I completely solved the issue by upgrading the firmware to the latest version. I still have a concern: when I try to set the preset 9 times out of 10 an exception is thrown. As I wrote, I use the procedure suggested within an example. I need to solve it and I'm also wondering if keeping on trying to set a new preset unsuccessfully might lead to some internal camera issues. Do you have any idea? Cheers

AleBasso80 avatar Mar 05 '18 16:03 AleBasso80

Hello @AleBasso80 , is it reproducible by switching the Presets in the realsense-viewer application ?

ev-mp avatar Mar 13 '18 05:03 ev-mp

Hello @ev-mp , in the realsense-viewer it works. I was wondering whether I had made some mistakes, but I just followed the procedure shown in an example.

AleBasso80 avatar Mar 16 '18 13:03 AleBasso80

[Realsense Customer Engineering Team Comment] @AleBasso80 Problem fixed? Can it be closed?