IntelRealSense / realsense-ros

ROS Wrapper for Intel(R) RealSense(TM) Cameras
http://wiki.ros.org/RealSense
Apache License 2.0
2.51k stars 1.74k forks source link

D435i can't find device in RK3588 #3183

Open ciyuan606 opened 4 weeks ago

ciyuan606 commented 4 weeks ago

Required Info
Camera Model D435i }
Firmware Version /
Operating System & Version Linux (Ubuntu 22.04
Kernel Version (Linux Only) 5.10.110-rockchip-rk3588
Platform orange pi
Librealsense SDK Version 2.55.1
Language python
Segment Robot
ROS Distro humble
RealSense ROS Wrapper Version 4.55.1

Issue Description

I use
sudo apt install ros-humble-librealsense2
sudo apt install ros-humble-realsense2-

图片 but 图片 how can I found device? use realsense-viewer 图片

MartyG-RealSense commented 4 weeks ago

Hi @ciyuan606 On Rockchip (RK) devices it is recommended to build the librealsense SDK from source code with CMake using the RSUSB backend method described at https://github.com/IntelRealSense/librealsense/issues/9931#issuecomment-964289692

An easier method than the RSUSB procedure is to use the libuvc backend method at the link below to install using a build script called libuvc_installation.sh.

https://github.com/IntelRealSense/librealsense/blob/master/doc/libuvc_installation.md

If you need realsense-viewer to be included in the librealsense installation though then you will need to edit line 46 of the build script to add the following flags:

-DBUILD_EXAMPLES=TRUE -DBUILD_GRAPHICAL_EXAMPLES=TRUE

https://github.com/IntelRealSense/librealsense/blob/master/scripts/libuvc_installation.sh#L46