-
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
Permission denied when attempting to activate the motion module #13263
Comments
Hi @radu-iordache-ADI If you are installing on a PC and not an Nvidia Jetson board then it looks as though your Docker file is using old package installation instructions. Whilst the Jetson instructions still use an Ubuntu keyserver, the package instructions for PC changed a while ago to using keyrings. Can you confirm please if you are using a PC or an Nvidia Jetson computing board? |
I am indeed using a PC to connect to the Realsense camera through a Docker container, due to using a ROS distribution that's not compatible to Ubuntu 22.04 |
If you run Docker with a 'docker run' command, are you launching it in sudo admin permissions mode with sudo docker run Does running Docker in sudo mode make any difference to your Motion Module access problem? |
Unfortunately, I am running docker using the docker extension that I have installed on VScode. As far as I am aware, the container already runs under root by default, right? |
My knowledge of Docker is admittedly limited. The Failed to open scan_element error can be caused by a problem with the udev device handling rules, such as the rules not having been installed or improperly installed as advised at #3242 (comment) and #5049 (comment) Checking the udev rules worked for a RealSense ROS user at IntelRealSense/realsense-ros#1436 (comment) who experienced the error. I note though that your robot was working until recently. |
Hi @radu-iordache-ADI Do you have an update about this case that you can provide, please? Thanks! |
Hi @radu-iordache-ADI Do you require further assistance with this case, please? Thanks! |
Hi @MartyG-RealSense , I don't, I wish I knew what's causing the problem, but as of now, everything I've tried has had no success. |
As the IMU worked until recently and everything tried has had no success, there may be something hidden on your computer that is preventing it from working. Removing librealsense and the wrapper and then reinstalling them may therefore help, unless the hidden problem is in Ubuntu. The ideal would be to wipe everything including Ubuntu and reinstall the computer from the beginning in order to be certain that hidden issues have been eliminated, though this may not be practical if you would have to reinstall Docker too. |
Hi @radu-iordache-ADI Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
I am using a Nvidia Jetson computing board and I am try to access the IMU features, but am getting this error - Traceback (most recent call last): I believe I need to reinstall librealsense, is that correct? Jeff |
Hi @JeffMag10 A RealSense user at IntelRealSense/realsense-ros#2982 who experienced the Failed to set frequency error was able to resolve it by their particular case by reinstalling librealsense and installing the udev device handling rules. It is not clear whether it was the SDK reinstall or the rules reinstall that fixed it, so it would be worth trying the easier of the two first - reinstalling the udev rules with the command below.
|
Thanks, I will try this. |
Issue Description
I am using ROS2 to launch a node that is used to start up my RealSense 455. Everything works perfectly if I don't pass
enable_gyro: True
andenable_accel: True
as the parameters. The moment I pass one of those, the launch fails with this error:Backend in rs2_open_multiple(sensor:0x747d3801df20,
profiles:0x747d383eab88, count:2):
Failed to open scan_element
/sys/devices/pci0000:00/0000:00:14.0/usb4/4-2/4-2:1.5/0003:8086:0B5C.0096/HID-SENSOR-200076.3.auto/iio:device1/scan_elements/in_anglvel_x_en
Last Error: Permission denied
The same error i get if I try to activate the Motion Module inside Realsense Viewer.
Worth mentioning that I am start the node inside a Docker container where i install the realsense sdk as such:
This node worked flawlessly until last Thursday but since Monday I've been getting this issue. I haven't made any significant updates or changes in between.
The text was updated successfully, but these errors were encountered: