Quantcast

Installing PCL 1.8 + OpenNI2 + Freenect

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

Installing PCL 1.8 + OpenNI2 + Freenect

josuerocha
I installed the precompiled OpenNI2 from the ppa and when I try to use it in PCL it outputs this error:

terminate called after throwing an instance of 'pcl::IOException'
what(): void pcl::io::OpenNI2Grabber::setupDevice(const string&, const pcl::io::OpenNI2Grabber::Mode&, const pcl::io::OpenNI2Grabber::Mode&) in /home/jr/Desktop/pcl-pcl-1.8.0/io/src/openni2_grabber.cpp @ 325 : No devices connected.
Aborted (core dumped)

The command used to install OpenNI2 was:

sudo apt-get install libopenni2-dev

I am using Freenect and I can se the camera feed in Freenect's viewer. Freenect was compiled from source and I put libFreenect.so in OpenNI2/Drivers

lsusb outputs this:

Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 058f:b003 Alcor Micro Corp.
Bus 001 Device 007: ID 045e:02ae Microsoft Corp. Xbox NUI Camera
Bus 001 Device 005: ID 045e:02b0 Microsoft Corp. Xbox NUI Motor
Bus 001 Device 006: ID 045e:02ad Microsoft Corp. Xbox NUI Audio
Bus 001 Device 003: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Please help me, is there another driver I can use that is easier to setup, can you help me fix this or recommend something else please?

Thank you.
Loading...