Skip to content
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 after Reboot [Unitree A1] #13414

Closed
Jellal-17 opened this issue Oct 10, 2024 · 4 comments
Closed

No RealSense devices were found after Reboot [Unitree A1] #13414

Jellal-17 opened this issue Oct 10, 2024 · 4 comments

Comments

@Jellal-17
Copy link


Required Info
Camera Model D435i
Firmware Version 2.55
Operating System & Version Ubuntu 18.04
Kernel Version (Linux Only) 4.90
Platform Nvidia Jetson Xavier NX
SDK Version 2
Language -
Segment Robot

Issue Description

Hello, I have a similar problem to this issue, though it is a bit further along the line. Replying to the comment, I have killed a process 'RobotVision', which is something the robot broadcasts through it's network, that was using the camera stream. It worked then. But after reboot, no matter what I do, the SDK doesn't detect the camera. I tried reinstalling the SDK, following some of the issues here and as the previous time, it worked before a reboot and the loop continues. So, the output of rs-enumerate-devices is No device detected. Is it plugged in?.

I have also tried this, for the installation of the ROS wrapper, I have used this method 2.

@MartyG-RealSense
Copy link
Collaborator

Hi @Jellal-17 In rare cases the camera may not be detected after a reboot, but is detected if the computer is shut down and then restarted with the power button. Have you tried a shutdown and boot from the power button to see whether it makes a difference to camera detection, please?

@Jellal-17
Copy link
Author

Hello @MartyG-RealSense, Sorry for the late reply.

Yes, I did switch it off from the power button and boot it. It was the same issue.
There is a way to not start the other processes right from the boot, so I will try to do that and update here. But for now, it's the same.

@Jellal-17
Copy link
Author

Jellal-17 commented Oct 14, 2024

@MartyG-RealSense,

I’ve removed the 'RobotVisionSystem' process from startup, and everything is working fine now. I will go ahead and close the issue.

For Future Reference

If you are developing on the Unitree A1 for low-level control and need to access the camera, follow these steps:

Navigate to the RobotVisionSystem directory: cd RobotVisionSystem
Open the start.sh file: gedit start.sh and Comment out the last line.

Restart the robot and check with: realsense-viewer

Alternatively, if you only need to access the camera for the current session:
Find the process: ps -aux | grep RobotVisionSystem
Kill the process: kill -9 ####

However, please note that killing the process might only work for a limited number of reboots. In my case, it stopped working after the first reboot, so I recommend the first method for a more permanent solution.

@MartyG-RealSense
Copy link
Collaborator

It's great to hear that you achieved a solution, @Jellal-17 - thanks very much for the update and for sharing the details of your solution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants