Video¶
Description¶
We currently use a Microsoft Kinect for a Xbox 360 in combination with OpenNI to use it inside the ROS ecosystem.
Pre requirement Installation¶
- Install OpenNI
$ sudo apt-get install ros-kinetic-openni-launch ros-kinetic-openni-camera ros-kinetic-openni-description
$ sudo apt-get install ros-kinetic-compressed-image-transport #Image compression plugin
- Start OpenNI server
$ roslaunch devine devine.launch launch_all:=false kinect:=true dashboard:=true
- View Data
You can use the dashboard (http://localhost:8080) or the image_view package:
$ rosrun image_view image_view image:=/openni/rgb/image_color #color
$ rosrun image_view image_view image:=/openni/rgb/image_mono #mono
$ rosrun image_view disparity_view image:=/openni/depth_registered/disparity #disparity
- Read the ROS OpenNI documentation for more info!
ROS Installation¶
- Run the install script ./install_package.bash
- Build the module using catkin_make:
$ roscd
$ cd ..
$ catkin_make