[solved]Cannot use Kinect via "openni.launch"
Reference: http://wiki.ros.org/openni_launch
When I ran this command:
$ roslaunch openni_launch openni.launch
I got the error message below:
Warning: USB events thread - failed to set priority. This might cause loss of data...
[ INFO] [1440405663.251678185]: Number devices connected: 1
[ INFO] [1440405663.251811349]: 1. device on bus 002:07 is a SensorKinect (2bf) from PrimeSense (45e) with serial id '0000000000000000'
[ INFO] [1440405663.253899109]: Searching for device with index = 1
[ INFO] [1440405663.259276611]: 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-hydro-openni-camera-1.9.2-0precise-20150515-0253/src/openni_device.cpp @ 61 : creating depth generator failed. Reason: Xiron OS failed to wait on event!
terminate called after throwing an instance of 'openni_wrapper::OpenNIException'
what(): unsigned int openni_wrapper::OpenNIDriver::updateDeviceList() @ /tmp/buildd/ros-hydro-openni-camera-1.9.2-0precise-20150515-0253/src/openni_driver.cpp @ 125 : enumerating image nodes failed. Reason: One or more of the following nodes could not be enumerated:
Image: PrimeSense/SensorKinect/5.1.2.1: Failed to set USB interface!
[camera/camera_nodelet_manager-2] process has died [pid 3659, exit code -6, cmd /opt/ros/hydro/lib/nodelet/nodelet manager __name:=camera_nodelet_manager __log:=/home/exbot/.ros/log/d70f0976-4a3b-11e5-a7b0-a021b74eea2b/camera-camera_nodelet_manager-2.log].
log file: /home/exbot/.ros/log/d70f0976-4a3b-11e5-a7b0-a021b74eea2b/camera-camera_nodelet_manager-2*.log
My Specs: Ubuntu 12.04 on hard PC (not Virtual Machine).
$ lsusb
Microsoft Corp.
Microsoft Corp.
Microsoft Corp.
this issue has botherd me for 1 week. Hope you guys can help me solving it. THX!!