标签:sdn build 规则 .com open baidu openni libusb blog
ubuntu16.04 安装kinect v1驱动
文中所要下载的包在网盘中可以找到
网盘飞机票:https://pan.baidu.com/s/1gd9XdIV
一. 安装libfreenect
1. 安装必要工具
1 sudo apt-get install g++ python libusb-1.0-0-dev freeglut3-dev openjdk-8-jdk doxygen graphviz mono-complete
2. 安装libfreenect
1 git clone https://github.com/OpenKinect/libfreenect.git
2 cd libfreenect
3 mkdir build
4 cd build
5 cmake -L ..
6 make
7 sudo make install
3. 安装Udev规则
将~/libfreenect/platform/linux/udev/下的51-kinect.rules复制到/etc/udev/rules.d/下
1 sudo cp ~/libfreenect/platform/linux/udev/51-kinect.rules /etc/udev/rules.d/
二. 安装Openni
下载OpenNI-Bin-Dev-Linux-x64-v1.5.7.10.tar解压得到OpenNI-Bin-Dev-Linux-x64-v1.5.7.10文件夹
1 cd OpenNI-Bin-Dev-Linux-x64-v1.5.7.10
2 sudo ./install.sh
三. 安装Sensor
下载Sensor-Bin-Linux-x64-v5.1.6.6.tar.bz2解压得到Sensor-Bin-Linux-x64-v5.1.6.6文件夹
1 cd Sensor-Bin-Linux-x64-v5.1.6.6
2 sudo ./install.sh
四. 安装NITE
下载NITE-Bin-Dev-Linux-x64-v1.5.2.23.tar解压得到NITE-Bin-Dev-Linux-x64-v1.5.2.23文件夹
1 cd NITE-Bin-Dev-Linux-x64-v1.5.2.23
2 sudo ./install.sh
五. 运行示例
1. 连上kinect数据线,执行以下命令
1 roslaunch openni_launch openni.launch
在另一个终端执行
1 cd ~/OpenNI-Bin-Dev-Linux-x64-v1.5.7.10/Samples/Bin/x64-Release
2 ./NiViewer
2. 显示RGB图像等
参考教程飞机票:https://blog.csdn.net/x_r_su/article/details/52904113
参考文章飞机票:
https://github.com/OpenKinect/libfreenect#fetch-build
https://blog.csdn.net/u013453604/article/details/48013959
工程问题--ubuntu16.04 安装kinect v1驱动
标签:sdn build 规则 .com open baidu openni libusb blog
原文地址:https://www.cnblogs.com/sincere-diligence/p/9322313.html