ubuntu 16.04 lts 安装intel realsense 步骤

安装步骤

1.首先把驱动包通过终端下载下来。
$ git clone https://github.com/IntelRealSense/librealsense
2.进入该文件夹
$ cd librealsense/
3.在librealsense下执行
$ sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
$ sudo update-grub && sudo reboot
4.安装libsub-1.0
$ sudo apt-get install libusb-1.0-0-dev pkg-config
5.安装glfw3
$ sudo apt-get install libglfw3-dev
6.Library Build Process *librealsense* employs CMake as a cross-platform build and project management system.


6.1 $mkdir build && cd build`
6.2 $cmake ..
6.3 $cmake ../ -DBUILD_EXAMPLES=true
6.4 $make && sudo make install

7.安装Video4Linux(Linux中关于视频设备的内核驱动) 安装前确保摄像头拔出
7.1 sudo cp config/99-realsense-libusb.rules /etc/udev/rules.d
7.2 sudo udevadm control --reload-rules && udevadm trigger
7.3 sudo apt-get install libssl-dev
7.4在ubuntu16.04
./scripts/patch-realsense-ubuntu-xenial.sh
7.5 cd ./scripts/`
7.6 ./patch-arch.sh
7.7 sudo dmesg | tail -n 50

这样就驱动装完了 然后是怎么运行demo
  The library will be installed in `/usr/local/lib`, header files in `/usr/local/include`

  The demos, tutorials and tests will located in `/usr/local/bin`.

你可能感兴趣的:(3D摄像头)