-
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
Is there a way to get imu data in docker? #12623
Comments
Hi @ashBabu At IntelRealSense/realsense-ros#2470 there was a case where a Docker user was able to access the IMU in librealsense 2.48.0 but not in 2.50.0 (the version that the Docker guide that you linked to was introduced in). In a more recent case at #11742 another user found that they could not access the IMU through Docker with a D435i but could if they used a RealSense T265 Tracking camera (a now retired RealSense model that had the same IMU component as D435i). Their Dockerfile can be found here: https://github.com/EnthusiasticRoboticist/DonkeyJet/blob/main/realsense.Dockerfile So it appears that IMU remains inaccessible on Docker in the years since the guide that you linked to was published, unfortunately. |
Thanks @MartyG-RealSense. I am not an expert but does modifying some udev rules help?. In the file I linked, there are these lines Not sure if the above is of any help but just a guess. Please feel free to close this if this is a dead end as I dont have T265 cam. |
My Docker knowledge is limited, unfortunately. Does it make a difference if you launch Docker in sudo admin permissions mode with sudo docker run instead of 'docker run' if you are not using sudo already, please? |
I dont think |
In regard to your earlier comment about using |
ok. Thank you @MartyG-RealSense . Closing this |
Issue Description
This docker building mentions that IMU cannot be accessed in docker. I was wondering if any further changes have been made to get IMU on docker since the link was updated around 3 years back.
I ran
ros2 launch realsense2_camera rs_launch.py pointcloud.enable:=true enable_gyro:=true enable_accel:=true unite_imu_method:=2
in dockerRunning the above straight away throws error. I would like to get the /camera/imu topic.
The text was updated successfully, but these errors were encountered: