Skip to content

UC3MSocialRobots/kinect

Repository files navigation

kinect

kinect is a ROS package that provides nodes to acquire information from a Microsoft Kinect device.

Build Status

How to install

Dependencies from sources

Dependencies handling is based on the wstool tool. Run the following instructions:

$ sudo apt-get install python-wstool
$ roscd ; cd src
$ wstool init
$ wstool merge `rospack find kinect`/dependencies.rosinstall
$ wstool update

Dependencies included in the Ubuntu packages

Please run the rosdep utility:

$ sudo apt-get install python-rosdep
$ sudo rosdep init
$ rosdep install kinect --ignore-src

Build package with Catkin

$ catkin_make --only-pkg-with-deps kinect

Drivers

There are four drivers (primitives) that can be used with the Kinect.

Which should I need?

It depends what you need. If you need the user map, go for NITE. Otherwise, use the freenect/openni one.

What topics do they supply?

They offer a unified interface:

  • /<robot>/rgb [sensor_msgs/Image]
  • /<robot>/depth [sensor_msgs/Image]
  • /<robot>/user [sensor_msgs/Image] (only for NITE)
  • /<robot>/skeletons [kinect/NiteSkeletonList] (only for NITE)
  • /<robot>/cur_tilt_angle [std_msgs/Float64]
  • /tf [tf/tfMessage]

Code API

Cf class NitePrimitiveClass and both implementations nite_primitive_standalone.cpp and nite_primitive.cpp

Licence

LGPL v3 (GNU Lesser General Public License version 3).