OpenNI Grabber Error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

OpenNI Grabber Error

Dean, Kevin
Hey everyone! I have a project which requires the use of multiple Kinect cameras (~6). The project requires large distances between each camera for the best 3d reconstructions of what I am scanning. However, over long distances USB just doesn't work, so I have to have a conversion from usb to cat5/cat6 back to usb.

when I use lsusb:
Bus 005 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 006 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 003: ID 045e:0750 Microsoft Corp. Wired Keyboard 600
Bus 006 Device 004: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 006 Device 034: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 006 Device 036: ID 045e:02ad Microsoft Corp. Xbox NUI Audio
Bus 006 Device 035: ID 045e:02b0 Microsoft Corp. Xbox NUI Motor
Bus 006 Device 037: ID 045e:02ae Microsoft Corp. Xbox NUI Camera

when I use lsusb -v | grep -E '\<(Bus|xbox|camera|iSerial)' 2>/dev/null:
Bus 006 Device 036: ID 045e:02ad Microsoft Corp. Xbox NUI Audio
  iSerial                 4 (error)
Bus 006 Device 035: ID 045e:02b0 Microsoft Corp. Xbox NUI Motor
  iSerial                 0
  (Bus Powered)
Bus 006 Device 037: ID 045e:02ae Microsoft Corp. Xbox NUI Camera
  iSerial                 3 B00365707385043B

So I am seeing the camera, but the problem is the error that comes with OpenNI and OpenNI2:
OpenNI:
[kdean@goldust bin]$ ./pcl_openni_viewer 6@37
Warning: USB events thread - failed to set priority. This might cause loss of data...
Failed to create a grabber: void pcl::OpenNIGrabber::setupDevice(const string&, const pcl::OpenNIGrabber::Mode&, const pcl::OpenNIGrabber::Mode&) in /home/kdean/projects/src/pcl/io/src/openni_grabber.cpp @ 359 : No matching device found. openni_wrapper::OpenNIDevice::OpenNIDevice(xn::Context&, const xn::NodeInfo&, const xn::NodeInfo&, const xn::NodeInfo&, const xn::NodeInfo&) @ /home/kdean/projects/src/pcl/io/src/openni_camera/openni_device.cpp @ 129 : creating depth generator failed. Reason: Device is in safe mode. Cannot start any stream!

OpenNI2:
[kdean@goldust bin]$ ./pcl_openni2_viewer 6@37
OpenNI2-FreenectDriver: Using libfreenect v0.5.5
OpenNI2-FreenectDriver: Found device freenect://0
OpenNI2-FreenectDriver: Opening device freenect://0
[Stream 70] Negotiated packet size 64
write_register: 0x0105 <= 0x00
write_register: 0x0006 <= 0x00
write_register: 0x0012 <= 0x03
write_register: 0x0013 <= 0x01
write_register: 0x0014 <= 0x1e
write_register: 0x0006 <= 0x02
write_register: 0x0017 <= 0x00
[Stream 80] Negotiated packet size 64
write_register: 0x000c <= 0x00
write_register: 0x000d <= 0x01
write_register: 0x000e <= 0x1e
write_register: 0x0005 <= 0x01
write_register: 0x0047 <= 0x00
write_register: 0x0006 <= 0x00
write_register: 0x0005 <= 0x00
OpenNI2-FreenectDriver: Closing device freenect://0
Failed to create a grabber: void pcl::io::OpenNI2Grabber::setupDevice(const string&, const pcl::io::OpenNI2Grabber::Mode&, const pcl::io::OpenNI2Grabber::Mode&) in /home/kdean/projects/src/pcl/io/src/openni2_grabber.cpp @ 350 : unknown error occured

Now I found some documentation about blacklisting gspca_kinect in
/etc/modprobe.d/blacklist-psengine.conf but that fix has already been provided by my installs.

The linux version that I am using is CentOS 7; so the testing for this may not exist, but if anyone could provide help, that'd be great!

One last thing, when I plug the usb from the camera straight into the bus on the computer, it works fine with both OpenNI and OpenNI2.

Thanks in Advance.

Kevin E. Dean




This email and its contents are confidential. If you are not the intended recipient, please do not disclose or use the information within this email or its attachments. If you have received this email in error, please report the error to the sender by return email and delete this communication from your records.
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users