I have an Asus Xtion Camera attached to my computer running ROS Groovy
So far I've installed
- Openni_Camera binary ( http://ros.org/wiki/openni_camera )
- Openni_launch binary ( http://ros.org/wiki/openni_launch )
- Openni SDK ( http://www.openni.org/openni-sdk/ )
- PrimeSense Sensor Module for Openni ( https://github.com/PrimeSense/Sensor/tree/unstable )
Everytime I run
roslaunch openni_launch openni.launch
i get this error
process[camera/depth/metric_rect-8]: started with pid [25941]
process[camera/depth/metric-9]: started with pid [25955]
terminate called after throwing an instance of 'openni_wrapper::OpenNIException'
what(): unsigned int openni_wrapper::OpenNIDriver::updateDeviceList() @ /tmp/buildd/ros-groovy-openni-camera-1.8.9-0precise-20130724-2255/src/openni_driver.cpp @ 125 : enumerating image nodes failed. Reason: One or more of the following nodes could not be enumerated:
Image: PrimeSense/SensorV2/5.1.2.1: Failed to set USB interface!
process[camera/depth/points-10]: started with pid [25972]
process[camera/register_depth_rgb-11]: started with pid [25973]
process[camera/depth_registered/rectify_depth-12]: started with pid [25974]
[FATAL] [1376100229.602956199]: Service call failed!
[FATAL] [1376100229.605474045]: Service call failed!
[camera_nodelet_manager-1] process has died
I can run samples from the openni sdk outside of ros sometimes like "SimpleViewer". Sometimes it works sometimes it doesn't. I just don't get it. It detects the device but can't set the USB interface...what gives?
Originally posted by llSourcell on ROS Answers with karma: 236 on 2013-08-09
Post score: 4
Original comments
Comment by dPackard on 2013-08-09:
Did you install /55-primesense-usb.rules
to /etc/udev/rules.d? This file may be found here: https://github.com/PrimeSense/Sensor/blob/unstable/Platform/Linux/Install/55-primesense-usb.rules )
Comment by llSourcell on 2013-08-09:
dPackard, sorry, it failed 4 times when i tried to post. Fixed.
Comment by llSourcell on 2013-08-09:
How to i install that file to /etc/udev/rules.d ?
Comment by dPackard on 2013-08-09:
If you installed the package via apt-get, tit is probably installed already (just check if the file exists). Otherwise you can create the file manually using your favorite text editor and sudo
. (e.g. sudo gvim /etc/udev/rules.d/55-primesense-usb.rules
).
Comment by llSourcell on 2013-08-09:
Tried that, no luck. I appreciate your help though.
Comment by dPackard on 2013-08-09:
If that file already exists (or if creating it doesn't help), you might find a solution here: ( http://answers.ros.org/question/55201/using-ros-with-kinect-failed-to-set-usb-interface/ )
Comment by llSourcell on 2013-08-11:
I went ahead and got a kinect. Still problems, just much less ;)
Comment by expelliarmus on 2014-02-14:
Were you able to resolve the issue? I am using a Kinect.