Install Xtion2


Spec/Device Xtion2
Optimized Range 0.8 - 3.5m
RGB Image Size 5MP (2592x1944)
Depth Image Size
Field of View
74° horiz
52° vert
90° diagonal

Install SDK && Try Sample

# Download from
cd ~/Downloads
cd SDK/Linux

tar zxvf ASUS-Linux-x64-OpenNI2.2.tar.gz
cd ASUS-Linux-x64-OpenNI2.2/

sudo apt-get install ros-indigo-openni2-launch ros-indigo-openni2-camera libopenni2-dev
sudo ./
# you need to copy by manual
sudo cp ASUS/Xtion2/lib/ /usr/lib/OpenNI2/Drivers/

cd Samples/Bin
./SimpleViewer  # This should open a viewer for depth image

Use Xtion2 camera with openni2_camera ROS package

cd ~/ros/indigo/src
wstool set ros-drivers/openni2_camera --git -v 0.2.8 -y -u

source /opt/ros/indigo/setup.bash
catkin b

source ~/ros/indigo/devel/setup.bash
roslaunch openni2_launch openni2.launch