-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No RealSense devices were found! Error in docker container #11883
Comments
Hi @kenloumixx Which method did you use to install librealsense and the RealSense ROS wrapper on your Jetson TX2, please? On a Jetson board it is recommendable to install both from source code instead of using packages, building librealsense first and then the ROS wrapper secondly afterwards once it has been confirmed that librealsense is working successfully. #6964 (comment) has a guide for building librealsense and pyrealsense2 at the same time from source code on Jetson. |
@MartyG-RealSense Thank you for your response! I followed the manual that you added and got this result. I also installed ROS wrapper following this link. And also, the result of |
Thanks very much for the information. Which RealSense camera model are you using, please? On some RealSense models, unplugging the micro-sized end of the USB cable from the camera, turning the connector around the opposite way and re-inserting it into the camera will enable the camera to work correctly (USB-C cables are two-way insertion at the micro-sized end) |
I am using depth camera D435. Since I have camera in pre-built robot, it is hard to dissect the components to unplug the camera. By the way I checked that camera works well by running the application of the robot whose mechanism I don't understand yet... |
Whilst a RealSense camera that is integrated into a product by its manufacturer may be similar to the standalone RealSense camera hardware, that product may use SDK software or firmware drivers that are unique to the product and not compatible with Intel's own SDK and drivers whilst working with the manufacturer's own software. Intel cannot provide RealSense technical support for such products unfortunately that were not manufactured by Intel and the product's manufacturer should be contacted for support instead (in this case, the company who created the robot). |
@MartyG-RealSense Thank you for the response. As the product manager says I can follow the Intel manuscript, can you please suggest any other ways that I can try to solve this issue? |
Whilst it may be possible to use the RealSense ROS wrapper on a Unitree robot, Unitree's support site will be the appropriate place to post a support question about their robots as the robot is not an Intel-made RealSense product. https://unitreerobotics.net/support/ Also, advice about solving problems with the RealSense ROS wrapper on computers with a USB-connected RealSense camera may not be applicable to a product with an integrated camera. If lsusb cannot find the camera then it is likely that the problem is not specific to the ROS wrapper but is caused by something else outside of the wrapper. So Unitree's support will be best able to diagnose that. |
@MartyG-RealSense Okay, thank you for the reply and I will contact to Unitree support. |
Hello, can I ask another question? the first line of the output of command
And the output of
I think this is rather related to the Intel issue, rather than the issue of unitree's integrated robot product. If it doesn't bother you, I would like to ask how to deal with this issue. |
The rs-enumerate-devices message suggests that the camera cannot be accessed because it is already enabled and therefore 'busy'. Perhaps a Unitree process claims access to the camera first when the robot is started up. You could try resetting the camera at ROS launch with the initial_reset parameter.
Also try a ros2 launch:
|
Thank you for your response :) I tried both ways, but the respective answers are as below:
Thank you for your support..! |
When you provided links to how you installed librealsense and the ROS wrapper, you provided the librealsense link #6964 (comment) again for ROS. Can you confirm the method that you used to install the ROS wrapper please? It should have been built from source code with colcon build using Step 3 of the instructions here: https://github.com/IntelRealSense/realsense-ros#--installation |
@MartyG-RealSense Thank you for the response, yes I also installed ROS wrapper following this link and forgot to attach. RS2_USB_STATUS_BUSY <- I think this error is related to the multiple processes that use the realsense camera. May I ask it is a common issue? |
When using multiple processes, access to the streams of a particular camera is governed by the rules of the Multi-Streaming Model at the link below. More than one process can access the camera, but each stream (or 'endpoint') can only be accessed by one process at a time. So if Process 1 accesses depth then Process 2 will have access to infrared and color but not depth, as Process 1 has already claimed access rights to it. Once Process 1 stops using the claimed stream then it becomes available for other processes to use. |
Hi @kenloumixx Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Issue Description
<Describe your issue / question / feature request / etc..>
I run the following command
ros2 run realsense2_camera realsense2_camera_node
and the output keeps saying 'No RealSense devices were found!'.
I ran
lsusb
and it does not show the realsense camera, while the camera is connected in a right way.I'd like to figure out why this happens,
TIA
The text was updated successfully, but these errors were encountered: