problem with openni_grabber tutorial

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

problem with openni_grabber tutorial

bgldr
Hi,

I am having problem getting to work PCL with Kinect. I tried the openni_grabber tutorial but I see the following error:

burcuguldur@ubuntu:~/pcl/tutorials/openni_grabber/build$ ./openni_grabber
terminate called after throwing an instance of 'pcl::PCLIOException'
  what():  No matching device found. openni_wrapper::OpenNIDevice::OpenNIDevice(xn::Context&, const xn::NodeInfo&, const xn::NodeInfo&, const xn::NodeInfo&, const xn::NodeInfo&) @ /build/buildd/pcl-1.6-1.6.0/io/src/openni_camera/openni_device.cpp @ 121 : creating depth generator failed. Reason: Got a timeout while waiting for a network command to complete!

Could you help me with this?

Burcu
Reply | Threaded
Open this post in threaded view
|

Re: problem with openni_grabber tutorial

bgldr
I tried your fix methods given in The OpenNI Grabber Framework in PCL webpage since reason of failure change into:The network connection has been closed!

A: This error can occur with newer Linux kernels that include the gspca_kinect kernel module. The module claims the usb interface of the kinect and prevents OpenNI from doing so. You can either remove the kernel module (rmmod gspca_kinect) or blacklist it (by executing echo “blacklist gspca_kinect” > /etc/modprobe.d/blacklist-psengine.conf as root). The OpenNI Ubuntu packages provided by PCL already include this fix, but you might need it in other distributions.

now,

I see th following message:

burcuguldur@ubuntu:~/pcl/tutorials/openni_grabber/build$ ./openni_grabber
terminate called after throwing an instance of 'pcl::PCLIOException'
  what():  Could not start streams. Reason: virtual void openni_wrapper::OpenNIDevice::startImageStream() @ /build/buildd/pcl-1.6-1.6.0/io/src/openni_camera/openni_device.cpp @ 403 : starting image stream failed. Reason: Xiron OS got an event timeout!

If you can help me fix this, I would be very happy.
Thanks,
Burcu
Reply | Threaded
Open this post in threaded view
|

Re: problem with openni_grabber tutorial

Sergey
Administrator
Hi,

Have you tried to search for "PCLIOException" in the archive of this mailing list? There must be tons of messages on this topic, because it is a very common problem. Please make sure that you have read and tried everything that the people suggested. Of course it may happen that the problem that you are experiencing is new. Should that be the case, we would still want to see the list of actions that you made so we don't have to start from the beginning.

Regards,
Sergey
Reply | Threaded
Open this post in threaded view
|

Re: problem with openni_grabber tutorial

Ster
In reply to this post by bgldr
Have you installed avin2/SensorKinect ?
https://github.com/avin2/SensorKinect/
Reply | Threaded
Open this post in threaded view
|

Re: problem with openni_grabber tutorial

bgldr
I tried but every time, when I try to install SensorKinect, I get the same error and I can't find a way to fix it.

mkdir -p x86-Release
g++ -MD -MP -MT "./x86-Release/XnActualGeneralProperty.d x86-Release/XnActualGeneralProperty.o" -c -msse3 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -fPIC -fvisibility=hidden -o x86-Release/XnActualGeneralProperty.o ../../../../Source/XnDDK/XnActualGeneralProperty.cpp
In file included from ../../../../Source/XnDDK/XnGeneralProperty.h:28:0,
                 from ../../../../Source/XnDDK/XnActualGeneralProperty.h:28,
                 from ../../../../Source/XnDDK/XnActualGeneralProperty.cpp:25:
../../../../Source/XnDDK/XnProperty.h:29:21: fatal error: XnListT.h: No such file or directory
compilation terminated.
make[1]: *** [x86-Release/XnActualGeneralProperty.o] Error 1
make[1]: Leaving directory `/home/burcuguldur/kinect/SensorKinect/Platform/Linux/Build/XnDDK'
make: *** [XnDDK] Error 2

any ideas??

Burcu


On Tue, Aug 7, 2012 at 10:00 PM, Ster [via Point Cloud Library (PCL) Users] <[hidden email]> wrote:
Have you installed avin2/SensorKinect ?
https://github.com/avin2/SensorKinect/


If you reply to this email, your message will be added to the discussion below:
http://www.pcl-users.org/problem-with-openni-grabber-tutorial-tp4021183p4021187.html
To unsubscribe from problem with openni_grabber tutorial, click here.
NAML



--
Graduate Teaching Assistant

Civil & Environmental Engineering Department
400 Snell Engineering Center
Northeastern University
Boston, MA 02115

office phone: (617) 373-3991
mobile phone: (857) 399-3802
email: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: problem with openni_grabber tutorial

chatshc
This post has NOT been accepted by the mailing list yet.
Hi I have the same problem...

did you find the solution?

best regards
Reply | Threaded
Open this post in threaded view
|

Re: problem with openni_grabber tutorial

kurt.niederhauser
This post has NOT been accepted by the mailing list yet.
In regards to the avin2/SensorKinect compiling with the error:
../../../../Source/XnDDX/XnProperty.h:29:21: fatal error: XnListT.h: No such file or directory

This is due to the fact that you are trying to build the unstable version of SensorKinect
Try to link:
https://github.com/avin2/SensorKinect/tree/master

or make sure when you are on the github website for the SensorKinect project set the branch option to master, not unstable.
Unstable is selected by default, but you have to have installed the Unstable version of OpenNI in order to build the unstable version of SensorKinect.

Know also that the command:
$> git clone https://github.com/avin2/SensorKinect.git
 will default to the latest unstable version of SensorKinect