Cannot connect xtion pro live with Ubuntu 12.04

2.4k views Asked by At

I need to work with asus xtion pro live to detect hand movements and objects. I am an amateur as far as it concerns programming this camera.

My problem is how to connect them and from where to start.

I work on Ubuntu 12.04. I've downloaded Ros fuerte and both Openni2 and OpenCV. When i plug the camera (usb port) and run the lsusb command, i see this:

"Bus 001 Device 003: ID 1d27:0601 "

Even when i run the command $ roslaunch openni_launch openni.launch

i get:

[ INFO] [1415717730.873978521]: No matching device found.... waiting for devices. Reason: openni_wrapper::OpenNIDevice::OpenNIDevice(xn::Context&, const xn::NodeInfo&, const xn::NodeInfo&, const xn::NodeInfo&, const xn::NodeInfo&) @ /tmp/buildd/ros-fuerte-openni-camera-1.8.6/debian/ros-fuerte-openni-camera/opt/ros/fuerte/stacks/openni_camera/src/openni_device.cpp @ 61 : creating depth generator failed. Reason: USB interface is not supported!

Can anyone please help? Is there a problem with the camera driver?

Thank you in advance.

1

There are 1 answers

5
api55 On BEST ANSWER

you must go to a terminal and do

sudo nano /etc/openni/GlobalDefaults.ini

and there find UsbInterface and make sure it is not a comment (without ; at the beginning) and that is equal to 2

UsbInterface=2

I heard that this may give you problems with Kinect hardware (the same error you are getting now). But, if you use the Kinect later on and gives this problem, just comment it and it should work

;UsbInterface=2

You must reboot every time you change this value!!

I hope this works for you ;)