Facing Issues getting RGB frames using Intel Realsense D435i on raspberry pi4 running ubuntu server 22.04 and ros humble #12923
-
Hi there, I am facing a weird issue on my when running the command:
On running this, the following is my terminal output:
About my system, I am using a Raspberry pi 4 with 8GB ram, and I've increased the swap size to 2048. The OS is ubuntu server 22.04 and I am using ROS humble. I am using ssh to connect to the raspberry pi, and also running the ros2 launch commands while in ssh. My kernel is also the latest version, doing The ouput of
I can see the depth topics and the infra topics on rviz2, but not the color/image_raw topic. I followed the official documentation to install the ros2 wrapper for intelrealsense but I am still getting this error. Searching the net for the same error also didn't give me any feasible solutions. Can anyone please help me figure out what the problem might be? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 8 replies
-
Hi @parapara29 xioctl(UVCIOC_CTRL_QUERY) errors typically indicate a conflict between the librealsense SDK and the kernel. What method did you use to install librealsense, please? A method that historically works well on Raspberry Pi is to use the libuvc backend approach at the link below, as it bypasses the kernel and does not require the use of a kernel patch script. https://github.com/IntelRealSense/librealsense/blob/master/doc/libuvc_installation.md |
Beta Was this translation helpful? Give feedback.
-
After using libuvc installation, If you still have the libuvc installation on your computer, what you could try is removing all RealSense related packages with the command below:
and then re-install the ROS wrapper with |
Beta Was this translation helpful? Give feedback.
-
You should not need to specify the device_type in your rso2 launch instruction if you only have one camera attached. Does the problem still occur if you use ros2 run instead of ros2 launch?
|
Beta Was this translation helpful? Give feedback.
-
You are very welcome. I'm pleased to hear that you have made progress by reversing the cable. Does FPS improve if you disable the RGB option auto_exposure_priority
|
Beta Was this translation helpful? Give feedback.
-
What happens if you reset the camera at launch with initial_reset and sync the timestamps of the different stream types with enable_sync
|
Beta Was this translation helpful? Give feedback.
-
Does performance improve if you reduce the resolution and FPS to 640x480 and 15 FPS?
|
Beta Was this translation helpful? Give feedback.
Hi @parapara29 xioctl(UVCIOC_CTRL_QUERY) errors typically indicate a conflict between the librealsense SDK and the kernel.
What method did you use to install librealsense, please? A method that historically works well on Raspberry Pi is to use the libuvc backend approach at the link below, as it bypasses the kernel and does not require the use of a kernel patch script.
https://github.com/IntelRealSense/librealsense/blob/master/doc/libuvc_installation.md