OpenNI driver wont start sometimes
Hi,
I have problem with the OpenNI driver openni_node
. Sometime it dies with the following error:
$ rosrun openni_camera openni_node _device_id:=1@0
[ INFO] [1365593984.497957554]: Initializing nodelet with 4 worker threads.
terminate called after throwing an instance of 'openni_wrapper::OpenNIException'
what(): unsigned int openni_wrapper::OpenNIDriver::updateDeviceList() @ /tmp/buildd/ros-fuerte-openni-camera-1.8.6/debian/ros-fuerte-openni-camera/opt/ros/fuerte/stacks/openni_camera/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!
Aborted
I have changed the nodelet to node and add respam="true"
in the openni.launch
, so eventually it will start normally. But that doesn't fix the error.