The XBox Kinect is a surprisingly great sensor that is also really cheap. The combination of the two factors makes it a great sensor to use in Robotics research as an interface for human robot interaction. However, it’s a bit difficult to interface with due to the complicated install process, so this post will walk through the steps of installing OpenNI dependencies for use on ROS Indigo and Ubuntu 14.04.
Unfortunately, NiTE is now proprietary software, so I hope you’ve either found a cached version of it elsewhere, or have found a replacement gesture recognition suite. If so, let me know too please! 😀
Here are the steps:
1. Open terminal and do an apt-cache search of libopenni and install both the -dev and 0 libraries.
2. Clone openni_camera and openni_launch from Github into your catkin_ws/src and catkin_make in the workspace folder.
git clone https://github.com/ros-drivers/openni_launch
git clone https://github.com/ros-drivers/openni_camera
3. Connect the Kinect, and run the openni_launch file
roslaunch openni_launch openni.launch
If the above steps fail, go to this repo and cd into the Bin folder and extract the relevant file
tar xjf SensorKinect093-Bin-Linux-x64-v220.127.116.11.tar.bz2
4. Test out your build by running
Now you should be able to successfully launch openni and listen to all the outputs of the Kinect! You may need to run camera calibration scripts to get ride of edge distortions and the like, but the camera should be all set to go.
Comments are now closed to prevent spam. Please email me directly at email@example.com if you’d like help. Thanks!