Lab 2.X: Fixing Kinect Connection Problem

Overview

The goal of this page is to fix a general problem that openni can not find Kinect when Kinect is actually connect to the Ubuntu.

Problem look like

When you use the command to launch openni to activate Kinect node, you will probably see:

roslaunch openni_launch openni.launch
[ INFO] [1439008653.350860050]: No devices connected…. waiting for devices to be connected
[ INFO] [1439008656.351515535]: No devices connected…. waiting for devices to be connected

But you indeed plugin the Kinect. Here is the solution that works for me.

1. Install openni

sudo apt-get install ros-indigo-openni-camera

2. Install freenect

mkdir ~/kinectdriver
cd ~/kinectdriver
git clone https://github.com/avin2/SensorKinect
cd SensorKinect/Bin/
tar xvjf SensorKinect093-Bin-Linux-x64-v5.1.2.1.tar.bz2
cd Sensor-Bin-Linux-x64-v5.1.2.1/
sudo ./install.sh

3. Install free nect lib

sudo apt-get install libfreenect-bin

Then problem solved. You can now use roslaunch command.

roslaunch openni_launch openni.launch

And then enjoy.