在 Ubuntu 用 OpenNI支持 使用 Kincet 传感器

本文详细介绍了如何在Ubuntu 12.04上使用OpenNI驱动Kinect传感器,包括解决遇到的问题。首先,你需要安装OpenNI的不稳定版本和SensorKinect包。在安装过程中,注意不要改变目录以生成SensorKinect的Redist目录。此外,文章提供了克隆过程的加速链接和可能遇到的错误解决方案。成功安装Kinect_for_Windows后,使用Kinect_for_Xbox只需简单插拔。最后,文章给出了OpenNI和SensorKinect的GitHub资源链接,以供参考。
摘要由CSDN通过智能技术生成

Use Kinect on Ubuntu with OpenNI(中文在后)

You have to Refer this blog (backup link)and you may meet some incompatible contents, do not worry, the thought and path is correct.

The very important doc you should read carefully is that on OpenNI's GitHub site and that on SensorKinect GitHub site.

  • The Core thing for this is Installing Driver for Kinect on Ubuntu. The two important packages you should install are:
    The OpenNI UNSTABLE version
    The SensorKinect package

  • Here, I want to say that: after you have installed the OpenNI, and be ready to clone the git files for SensorKinect,DO NOT change directory!Otherwise you cannot generate the Redist directory for installation of SensorKinect.

  • The Cloning process could be very slow, you can checkout the files from here:
    http://yunpan.cn/cmTPmvr2D29Yj   keycode: 32e4

  • There existed a Readme.txt file which is wriiten in Chinese. Don't worry, you can ignore it after you suffer this Installation for longer than 1 week cuz you will be the expert on this field at that time. ;-)

  • When you succeded in using Kinect_for_Windows on Ubuntu, the using of Kinect_for_Xbox is just 'unplug and plugin'.

  • It's really easier if you use Kinect_for_XBox with OpenKinect. unfortunately, OpenKinect does not support Kinect4Windows.

  • If you're using Virtual Machine launching Ubuntu on it, I don't recommend you continue. I failed too many times in trying to do it on VMs. And finally I succeded in real machine.

Read Carefully about This Blog: this blog. and follow it. Good luck!

my seccess of running ./Sample-NiSimpleViewer :

   

If you still met some issues, my note of Installation can help you maybe.

================= Notes for debugging =============================

Optional: for ubuntu12.04_for_ros_hydro OS version, we need to firstly do some patch work:
  $ sudo apt-get update --fix-missing

------Install the Prerequisition------
The Prerequisition for your next Installation is the Tools you may need, Ubuntu will automatically install or upgrade them.
>>git 
>>build-essential 
>>python libusb-1.0-0-dev 
>>freeglut3-dev 
>>openjdk-7-jdk 
Run the Command:
  $ sudo apt-get install git build-essential python 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值