Ubuntu20 下安装 Realsense2
更新
sudo apt-get update
安装依赖项
sudo apt-get install libudev-dev pkg-config libgtk-3-dev
sudo apt-get install libusb-1.0-0-dev pkg-config
sudo apt-get install libglfw3-dev
sudo apt-get install libssl-dev
sudo apt-get install libglu1-mesa-dev
下载安装包
sudo git clone https://github.com/IntelRealSense/librealsense
或者下载指定版本
sudo git clone https://github.com/IntelRealSense/librealsense/releases/tag/v2.16.1
编译安装
cd librealsense
sudo mkdir build
cd build
sudo cmake ../ -DBUILD_EXAMPLES=true
sudo make
sudo make install
给相机权限
cd ..
./scripts/setup_udev_rules.sh
测试
realsense-viewer
RealSense SDK with Python
sudo pip3 install pyrealsense2
RealSense SDK with ROS link
sudo apt-get install ros-$ROS_DISTRO-realsense2-camera
sudo apt-get install ros-$ROS_DISTRO-realsense2-description
Jetson
https://dev.intelrealsense.com/docs/nvidia-jetson-tx2-installation
评论区