LabelFusion icon indicating copy to clipboard operation
LabelFusion copied to clipboard

Openni2 fails to open Xtion camera

Open Pozimek opened this issue 7 years ago • 2 comments

When trying to collect data from the Xtion camera via the Docker image I get the following issue:

**root@436e5c9570b0:/etc/udev/rules.d#** openni2-camera-lcm 
No matching device found.... waiting for devices. Reason: openni2_wrapper::OpenNI2Device::OpenNI2Device(const string&) @ /root/director-build/src/openni2-camera-lcm/src/openni2_device.cpp @ 75 : Device open failed
	Could not open "1d27/0600@1/15": Failed to open the USB device!

No matching device found.... waiting for devices. Reason: openni2_wrapper::OpenNI2Device::OpenNI2Device(const string&) @ /root/director-build/src/openni2-camera-lcm/src/openni2_device.cpp @ 75 : Device open failed
	Could not open "1d27/0600@1/15": USB device not found!

The same camera works fine with openni2 outside the Docker image, so it is not a problem with the camera itself. I have already tried copying over my rule files from /etc/udev/rules.d/, but it has not helped. I also cannot do a lot of debugging on my own because apt-get doesn't work inside the container, so I cannot even download usbutils to run lsusb or a text editor.

Pozimek avatar Nov 09 '17 15:11 Pozimek

Hey @Pozimek please do this:

  1. close down your docker and then:
git fetch origin
git checkout origin/pf-add-usb-lcm
  1. do docker_run again and see if it works?

We fixed this on that branch but haven't merged yet!

Keeping open until we merge this PR: https://github.com/RobotLocomotion/LabelFusion/pull/15

Let me know if that works for you?

peteflorence avatar Nov 09 '17 15:11 peteflorence

It worked, thanks a lot!

Pozimek avatar Nov 09 '17 15:11 Pozimek