Asus Xtion PRO fails to connect on Oneiric, Electric [Closed] [closed]
I have seen posts which mentioned this, but they were either on a different setup or had a separate problem.
Due to various bugs running with openni_launch from openni_kinect, I had to step back to the old openni_camera_deprecated package in openni_ros. A Kinect will launch perfectly every time, but the Xtion does not register a serial number (or a device name as far a Ubuntu is concerned), and space is at a premium on this robot.
Seeing the lack of serial number recognition and believing that to be the problem, I tried launching with the device_id set to the serial number printed on the Xtion, and with the serial number blank, in addition to the default '#1'. Relevant lines of launch output (rviz lines omitted):
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[joint_state_publisher-1]: started with pid [14975]
process[robot_state_publisher-2]: started with pid [14976]
process[openni_node1-3]: started with pid [14977]
process[kinect_base_link-4]: started with pid [14978]
process[kinect_base_link1-5]: started with pid [14981]
process[kinect_base_link2-6]: started with pid [15001]
process[kinect_base_link3-7]: started with pid [15015]
process[cloud_to_scan-8]: started with pid [15025]
process[slam_gmapping-9]: started with pid [15048]
process[rviz-10]: started with pid [15056]
[ INFO] [1346171967.462231916]: [/openni_node1] Number devices connected: 1
[ INFO] [1346171967.462484918]: [/openni_node1] 1. device on bus 002:10 is a Xtion Pro (600) from ASUS (1d27) with serial id ''
[ WARN] [1346171967.465428310]: [/openni_node1] device_id is not set! Using first device.
[ INFO] [1346171967.503054193]: [/openni_node1] Opened 'Xtion Pro' on bus 2:10 with serial number ''
[ INFO] [1346171967.504986924]: RTT Preferred Mode is PBuffer.
[openni_node1-3] process has died [pid 14977, exit code -11].
log files: /home/ozymandium/.ros/log/4ea5817a-f12c-11e1-b5f1-dc0ea11461e2/openni_node1-3*.log
Running lsusb yields:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 04f2:b209 Chicony Electronics Co., Ltd
Bus 002 Device 009: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 002 Device 010: ID 1d27:0600
Running dmesg | grep usb
yields:
[ 1.181396] usbcore: registered new interface driver usbfs
[ 1.181406] usbcore: registered new interface driver hub
[ 1.181433] usbcore: registered new device driver usb
[ 3.033367] usb 1-1: new high speed USB device number 2 using ehci_hcd
[ 3.277307] usb 2-1: new high speed USB device number 2 using ehci_hcd
[ 3.481400] usb 1-1.1: new high speed USB device number 3 using ehci_hcd
[ 3.765327] usb 1-1.2: new high speed USB device number 4 using ehci_hcd
[ 4.123356] usbcore: registered new interface driver uas
[ 4.921305] usbcore: registered new interface driver usb-storage
[ 4.939241] scsi4 : usb-storage 1-1.2:1.0
[ 4.939369] usbcore: registered new interface driver ums-realtek
[ 5.017619] usb 1-1.2: USB disconnect, device number 4
[ 21.733544] input: WebCam as /devices/pci0000:00/0000:00:1a.0/usb1/1-1 ...