RealSense camera not detected
Hello.
I was toggling some settings in the RealSense camera configuration tool and executed some code in Processing. This error came up in the command terminal:
RuntimeException: hr returned: HResult 0x8007001f: "A device attached to the system is not functioning."
Is there a way to keep this error from occurring? Or is there a reliable way to diagnose the source?
Thanks.
-
If you are using Windows, this error is apparently a generic one that may not offer useful diagnostic information.
https://github.com/IntelRealSense/librealsense/issues/2084#issuecomment-406056571
Could you tell us more about your project's setup please, such as:
- Whether you are using Windows 7 or 10, or Linux, or MacOS
Which model of RealSense camera you are using
- What your Processing program does (for example, display RGB video).
Thanks!
-
Are you using the RealSense SDK's unofficial Java wrapper by edwinRNDR to run your Processing code, please?
https://github.com/edwinRNDR/librealsense/tree/master/wrappers/java
-
Why do you ask?
No, we're using the Intel librealsense SDK and some associated drivers. The docs in our repo point me at https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?doc_devguide_whats_new_in_sdk.html and I'm unable to find a mention of the library that you posted.
Thanks.
-
My apologies. You mentioned executing code in Processing with a capital P, so I needed to check whether you were using a Java language called 'Processing'. Thank you for the clarification.
The 'associated drivers' and 'whats new in sdk' links are for an older 2016 RealSense SDK and should be ignored if you have a D415 camera, as the D415 is not supported by that 2016 SDK. So I am not sure why your repo would direct you to those resources if you were using a D415 and the current RealSense SDK 2.0.
Please check which RealSense files are on your Windows desktop. If you have an icon for a program called 'RealSense Viewer' then you have the current RealSense SDK 2.0 installed. If you have a folder called 'Intel RealSense SDK Gold' on your desktop then you have the old 2016 SDK installed, and that old SDK does not work with the D415 camera.
-
The front-page link for RealSense SDK 2.0 resources, including documentation, is here:.
https://dev.intelrealsense.com/docs
The reliability of RealSense camera connections can be increased by using a mains electricity powered USB 3 hub with the camera instead of plugging it directly into the computer or into an "unpowered" hub (one which draws its power from the computer). Intel have successfully tested RealSense in multi-camera setups with Amazon's own-brand AmazonBasics powered hub model, and I have one of them myself that works excellently with RealSense.
-
Could you please share a link to the hub you're using? Thanks
-
This is the 7-port model with a USB-C micro connector that I am using:
https://www.amazon.com/AmazonBasics-USB-C-7-Port-Power-Adapter/dp/B076YN9FW4/ref=sr_1_1
If you do not have a USB-C micro size port on your computer then you should get the version with the full-size USB-A connector:
https://www.amazon.com/AmazonBasics-USB-7-Port-Power-Adapter/dp/B076YPRTKF/ref=sr_1_2
Please sign in to leave a comment.
Comments
10 comments