TurtleBot3传感器-3.D435i深度相机

d435i.png

驱动安装

注册公钥

sudo apt-key adv --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE

添加库地址

sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic main" -u


sudo apt-get install git libssl-dev libusb-1.0-0-dev pkg-config libgtk-3-dev -y


sudo apt-get install libglfw3-dev -y


cd 

git clone https://gitee.com/kay2020/librealsense.git


cd librealsense

./scripts/setup_udev_rules.sh

./scripts/patch-realsense-ubuntu-lts.sh


mkdir build

cd build

cmake ../ -DBUILD_EXAMPLES=true

make -j4

此处可能会出现因为下载https://github.com/curl/curl.git/失败,手动下载即可


sudo make install


测试指令

realsense-viewer 

测试例子.png

    关键词:TurtleBot3传感器