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

xioctl error with the realsense D455 #3282

Open
tillb98 opened this issue Dec 18, 2024 · 1 comment
Open

xioctl error with the realsense D455 #3282

tillb98 opened this issue Dec 18, 2024 · 1 comment
Labels

Comments

@tillb98
Copy link

tillb98 commented Dec 18, 2024


Required Info
Camera Model {D455}
Firmware Version (5.16.0.1)
Operating System & Version {Ubuntu 22 Server}
Kernel Version (Linux Only) (5.15.0-1067-raspi)
Platform Raspberry Pi 4
Librealsense SDK Version { 2.55.1 }
Language {C++/python }
Segment {Robot}
ROS Distro {Humble}
RealSense ROS Wrapper Version {4.55.1}

Issue Description

Dear Sir or Madam,

I am currently trying to use my Realsense 455 together with a Raspberrypi 4 for my mobile robot. The Raspberrypi is flashed with an Ubuntu Server 22.04 OS. I had already managed to read depth data from the Realsense with the wrapper for ROS 2 Humble and display it in RVIZ on my computer.

Recently, the operation with the Pi has unfortunately stopped working for reasons that are not clear to me (see attached screenshot with log/error messages from the terminal). To rule out a hardware error, I have also successfully tested the function on my Ubuntu 22 laptop with ROS 2 Humble. I have already reinstalled the SDK and the ROS 2 wrapper several times. I read in another issue that the LibUVC-backend installation could possibly help. Unfortunately, this has not been successful either.

Unfortunately, I can't think of any other solution strategies from this point on. Would it be possible to get help with this?

Kind regards
Realsense Timeout Error

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Dec 18, 2024

Hi @tillb98 A xioctl error typically indicates that there is a conflict between the librealsense SDK and the kernel. This is why the libuvc backend method of installing the SDK (which bypasses the kernel) is the best way to install it on a Raspberry Pi. I note though that you have tried the libuvc method and it has not been successful for you.

Usually, the best that can be achieved from using RealSense with a Pi board is a basic depth and color stream, with no additional functions such as pointcloud, alignment or post-processing filters. IMU data also usually will not be accessible on a Pi.

Your USB connection type is being detected as the slow USB 2.1, which will further degrade performance. If the USB cable is inserted in a USB 3.1 port on the Pi then a 2.1 detection could occur if a USB 2.1 cable is being used instead of the official USB3 cable supplied with the camera, or if the camera is plugged into a USB2 hub instead of a USB3 one.

Let's try a custom launch configuration with only depth and color enabled at 630x480 and 30 FPS to see whether it makes a difference.

ros2 launch realsense2_camera rs_launch.py depth_module.profile:=640x480x30 rgb_camera.profile:=640x480x30

If it does not make a difference, please then try adding initial_reset:=true onto the end of the launch command to reset the camera at launch.

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

No branches or pull requests

2 participants