Problem with Xtion Pro Live and openni_camera
Hi,
Had an interesting one recently where we purchased two new Asus 'XTION Pro Live' cameras, and had them fail to work in ROS. Posting and answering my own question here, since I don't want anyone else to have to go through the 2hrs of troubleshooting we did.
Bad device has serial
32101 - 1302250110
and sticker
D3IWBDA18501
Good device has serial
3210 -1206070413
and sticker
C6IWBDA07705
I ran 'lsusb' to find the usb details for this device, and 'meld' to compare them to the old one, and it seems they have different USB endpoints available, and also different USB device IDs. The new device is ID 0601, and the old device is 0600.
After looking around it seems that the udev rules are set correctly to expect this variant:
turtlebot@bert:/opt/ros/groovy/share/openni_camera$ cat /lib/udev/rules.d/40-libopenni-sensor-primesense0.rules
# PrimeSense Devices
SUBSYSTEM=="usb", ATTR{idProduct}=="0200", ATTR{idVendor}=="1d27", MODE:="0666", OWNER:="root", GROUP:="video"
SUBSYSTEM=="usb", ATTR{idProduct}=="0300", ATTR{idVendor}=="1d27", MODE:="0666", OWNER:="root", GROUP:="video"
SUBSYSTEM=="usb", ATTR{idProduct}=="0400", ATTR{idVendor}=="1d27", MODE:="0666", OWNER:="root", GROUP:="video"
SUBSYSTEM=="usb", ATTR{idProduct}=="0500", ATTR{idVendor}=="1d27", MODE:="0666", OWNER:="root", GROUP:="video"
SUBSYSTEM=="usb", ATTR{idProduct}=="0600", ATTR{idVendor}=="1d27", MODE:="0666", OWNER:="root", GROUP:="video"
SUBSYSTEM=="usb", ATTR{idProduct}=="0601", ATTR{idVendor}=="1d27", MODE:="0666", OWNER:="root", GROUP:="video"
<snip...>< p="">
Some other people had issues and suggested installing openni-sensor-primesense-bin or similar packages, (run 'sudo apt-get install openni-sensor-primesense-bin', and the latest one was 5.1.0.41, which people thought was necessary).
But that did not seem to help.