Skip to content

aaravrav142/iai_kinect2

 
 

Repository files navigation

IAI Kinect2

Maintainer

Description

This is a collection of tools and libraries for a ROS Interface to the Kinect One (Kinect v2).

It contains:

Dependencies from all parts

Install

  1. Install the dependencies. Note that a modified version of libfreenect2 is needed
  2. Clone this repository into your catkin workspace.
  3. Build it.
  4. Connect your sensor and run kinect2_bridge.
  5. Calibrate your sensor using the kinect2_calibration. Further details
  6. Add the calibration files to the kinect2_bridge/data/<serialnumber> folder. Further details
  7. Restart kinect2_bridge and view the results using rosrun registration_viewer viewer -kinect2 -cloud.

Permissions to access the Kinect One

To gain access to the Kinect One for non root users you have to add a rule to the udev rules.

  1. Create a file named 90-kinect2.rules in /etc/udev/rules.d/.
  2. Write the following lines into that file:
# ATTR{product}=="Kinect2"
SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02c4", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02d8", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02d9", MODE="0666"
  1. Check if the idProduct of your sensor is in the list. If not just add another line with the idProduct of your sensor. You can obtain it by running dmesg | grep "045e".
  2. Reconnect the sensor and you should be able to access it.

Screenshots

Here are some screenshots from our toolkit: color image depth image point cloud image viewer

About

Tools for using the Kinect One (Kinect v2) in ROS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 89.7%
  • C 10.3%