Tags:
create new tag
, view all tags

Step 13 - Installing Kinect Drivers

Essentials packages

Get the essentials packages with this command:

   $ sudo apt-get install cmake libglut3-dev libxmu-dev libusb-1.0-0-dev pkg-config libxi-dev

Installation

First you need to copy libfreenect directory on the Beagleboard exactly like the ARToolkitPlus directory. Go to the libfreenect directory and copy-paste instructions to get up-and-running instantly

   $ cd Desktop/libfreenect
   $ mkdir build
   $ cd build
   $ cmake ..
   $ make
   $ sudo make install

Use as normal user

To be able to access the Kinect without sudo permission you need to add yourself to the video group and change the permission on the created device.

Create the file: /etc/udev/rules.d/66-kinect.rules

   $ sudo gedit /etc/udev/rules.d/66-kinect.rules

For the lxde interface replace gedit by leafpad

And paste that:

   #Rules for Kinect ######################################################

   SYSFS{idVendor}=="045e", SYSFS{idProduct}=="02ae", MODE="0660",GROUP="video"

   SYSFS{idVendor}=="045e", SYSFS{idProduct}=="02ad", MODE="0660",GROUP="video"

   SYSFS{idVendor}=="045e", SYSFS{idProduct}=="02b0", MODE="0660",GROUP="video"

   ### END #############################################################

Save and close

Then add yourself (in this case ubuntu) to the video group:

   $ sudo adduser ubuntu video

Now you can plug the Kinect, the led should be blink in green.

Finally you can test Kinect drivers and OpenCv libraries with the sample cvdemo:

   $ cd libfreenet/build/bin
   $ sudo ./cvdemo

RGB_view.pngDepth_view.png

-- AlYoung - 2013-01-09

Topic revision: r1 - 2013-01-09 - AlYoung
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback