Camera shows frames only in realsense-viewer and only if „Enable hardware logs” option is turned on
-
Hi Sasabukreev808 Is the special program that you are using called the RealSense Viewer? If it is then there have been a couple of past cases where the depth stream would only work when logging was enabled at the bottom of the Viewer window. In both cases the problem seemed to be related to the camera operating in USB 2.1 mode instead of 3.2.
Which RealSense camera model are you using, please? On most models it is possible to unplug the micro-sized end of the USB cable from the camera, turn the connector around and re-insert it the other way. Does flipping the connector enable the camera to be detected as USB 3.2?
When running your own program, is the RealSense special program closed? A particular stream on a RealSense camera can only be accessed by one program at a time. The program that is launched first claims that stream exclusively, and another program launched afterwards cannot use that stream until the first program stops using it, by stopping the stream or closing that program.
-
Sorry for such long answer delay. I use D415. Today i have tried to unplug and flip the connector but these acts didn't help me out. I also tried to use different cables but result is the same. Regarding my own program, when i trying to run my program the realsense-viewer (with enabled Hardware firmware Logs) is open as otherwise i will receice error “Frames didn't arrive in 5 seconds”. And of course realsense-viewer occupies the pipe. Maybe should i calibrate somehow? Or pass other commands through terminal? Could this camera work with via USB 2.1 or it is nexessary to use USB 3.0?
-
RealSense cameras can work with USB 2.1, yes. There will be a more limited range of supported resolution and FPS combinations though. For example, 648x480 at 30 FPS will be supported on both USB 2.1 and 3.2, but on USB 2.1 the resolution 1280x720 will be limited to 6 FPS.
There was a similar past situation to yours at the link below.
https://github.com/IntelRealSense/librealsense/issues/12840
The RealSense user in that case wanted to enable logging in their script instead of enabling it in the Viewer. There is not an equivalent to the logging activation button in scripting, though you can retrieve logs with the instruction RS2_CAMERA_INFO_DEBUG_OP_CODE
Please sign in to leave a comment.
Comments
3 comments