Problem with openni2_camera, Primesense not detected.
Hi,
I am trying to access the rgdb information of a Primesense sensor. I have ros-hydro-openni2-* installed using sudo apt-get and it previously worked just fine with the following command: rosrun openni2_camera openni2_camera_node
but now when I run this command this is what I get:
~device_id is not set! Using first device.
[ INFO] [1409576381.725333109]: No matching device found.... waiting for devices. Reason: std::string openni2_wrapper::OpenNI2Driver::resolveDeviceURI(const string&) @ /tmp/buildd/ros-hydro-openni2-camera-0.1.3-0precise-20140720-0503/src/openni2_driver.cpp @ 623 : Invalid device number 1, there are 0 devices connected.
[ INFO] [1409576384.725593448]: No matching device found.... waiting for devices. Reason: std::string openni2_wrapper::OpenNI2Driver::resolveDeviceURI(const string&) @ /tmp/buildd/ros-hydro-openni2-camera-0.1.3-0precise-20140720-0503/src/openni2_driver.cpp @ 623 : Invalid device number 1, there are 0 devices connected.
I used to be able to access the rgbd information and the topics using exactly the same command about a month ago. I dont know if there has been an update which has led to this. I have ubuntu 12.04 and ROS hydro installed.
I get the same error whether the Primesense sensor is plugged in or not and lsusb doesnt detect this device.
I have tried setting the UsbInterface=0
in /etc/openni2/PS1080
as suggested in one of the posts but it didn't help.
I would really appreciate your help on this.
Any suggestions are welcome, thanks in advance!
Update 20140903
So this is the output
$ lsusb
Bus 001 Device 003: ID 058f:9540 Alcor Micro Corp.
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 17ef:1010 Lenovo
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 005: ID 5986:026a Acer, Inc
Bus 002 Device 004: ID 138a:0017 Validity Sensors, Inc.
Bus 002 Device 003: ID 1199:a001 Sierra Wireless, Inc.
Bus 002 Device 007: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 002 Device 006: ID 17ef:100f Lenovo
Bus 002 Device 002: ID 17ef:1010 Lenovo
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
// now with the Primesense connected
$ lsusb
Bus 001 Device 003: ID 058f:9540 Alcor Micro Corp.
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 17ef:1010 Lenovo
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 005: ID 5986:026a Acer, Inc
Bus 002 Device 004: ID 138a:0017 Validity Sensors, Inc.
Bus 002 Device 003: ID 1199:a001 Sierra Wireless, Inc.
Bus 002 Device 007: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 002 Device 006: ID 17ef:100f Lenovo
Bus 002 Device 002: ID 17ef:1010 Lenovo
Bus 002 Device 008: ID 1d27:0609 ASUS
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I tried another ...
It might be that the PrimeSense sensor died, it is sad, but it happened to me before. If you have spare, try another sensor.