How to get the Kinect running on Ubuntu 14.10/OpenCV 2.4.10

asked 2015-01-27 11:42:31 -0500

I am on a new Ubuntu installation and cannot get my Kinect to work.

the examples and my own code always produce the following error:

CvCapture_OpenNI::CvCapture_OpenNI : Failed to run xml script: Bad Parameter sent to the device!

My steps so far:
- installed freenect via sudo apt-get install libfreenect-dev
- installed primesense via sudo apt-get install libopenni-sensor-primesense-dev
- compiled opencv 2.4.10 from source with "WITH_OPENNI=ON" in ccmake
- i am able to use freenect-glview from command line so my kinect seems to work
- lsusb output :

Bus 003 Device 020: ID 045e:02ae Microsoft Corp. Xbox NUI Camera
Bus 003 Device 018: ID 045e:02b0 Microsoft Corp. Xbox NUI Motor
Bus 003 Device 019: ID 045e:02ad Microsoft Corp. Xbox NUI Audio

edit retag flag offensive close merge delete