Ubuntu16.04安装RealsenseD435驱动及work

Ubuntu16.04安装RealsenseD435驱动及work

1.下载source code

2.cmake

3.仍然回传不了图像?firmware版本的问题

4.sudo apt-get install dfu问题?

1.下载source code

IntelRealSense官网下载(官网-靠谱),ubuntu下载source code:https://github.com/IntelRealSense/librealsense/releases/tag/v2.16.1

2.解压

cmake

参考官网https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md
一般内核不会太老(检查命令:uname -r),许多步骤可以省略。按下述步骤:
1.拔掉摄像头和电脑的连接
2.sudo apt-get update
3.sudo apt-get install git libssl-dev libusb-1.0-0-dev pkg-config libgtk-3-dev
4.sudo apt-get install libglfw3-dev
5.cd librealsense(tab)
6.sudo cp config/99-realsense-libusb.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules && udevadm trigger
7. ./scripts/patch-ubuntu-kernel-4.16.sh (或者./scripts/patch-realsense-ubuntu-lts.sh)
8. mkdir build && cd build
9. cmake …/
10. cmake …/ -DBUILD_EXAMPLES=true (可以跳过)
11. sudo make uninstall && make clean && make && sudo make install

在任意目录下敲

(连上摄像头)realsense-viewer

3.仍然回传不了图像?firmware版本的问题

连接摄像头和电脑(or NUC)
sudo apt-get install dfu
sudo apt-get install intel-realsense-dfu
lsusb #(看一下对应的device号)
3.下载bin,参考:https://downloadcenter.intel.com/download/28237/Latest-Firmware-for-Intel-RealSense-D400-Product-Family?v=t
https://downloadcenter.intel.com/download/28237/Latest-Firmware-for-Intel-RealSense-D400-Product-Family?v=t
intel-realsense-dfu -b 002 -d 009 -f -i ./Signed_Image_UVC_5_10_6_0.bin #(注意修改对应的-b 和 -d 后面的数字,以及bin的版本号)

4.sudo apt-get install dfu问题?

echo 'deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main' | sudo tee /etc/apt/sources.list.d/realsense-public.list
sudo apt-key adv --keyserver keys.gnupg.net --recv-key 6F3EFCDE
sudo apt-get update
sudo apt-get install dfu*

此时再试realsense-viewer?

你可能感兴趣的:(Ubuntu16.04安装RealsenseD435驱动及work)