Hi Anyone,
I am hoping someone can help me out. I am working on getting my Kinect to work in MyRobotLab. I'm on Windows 7, x86 64 bit. The Kinect is installed and shows as a properly installed device in my device manager.
I start MRL and create an OpenCV service. I then select to use OpenKinect as the source and click capture, however, I don't see any image. Is there something I'm missing? Perhaps a 3rd party dependency ?
When I run it in the eclipse debugger, I see an exception happening in VideoProcessor.java in the following line:
frame = grabber.grab();
Exception in thread "ll_videoProcessor" java.lang.ExceptionInInitializerError
at com.googlecode.javacv.OpenKinectFrameGrabber.grabVideo(OpenKinectFrameGrabber.java:218)
at com.googlecode.javacv.OpenKinectFrameGrabber.grab(OpenKinectFrameGrabber.java:246)
at org.myrobotlab.opencv.VideoProcessor.run(VideoProcessor.java:270)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.IllegalStateException: Can't overwrite cause
at java.lang.Throwable.initCause(Throwable.java:456)
at com.googlecode.javacpp.Loader.load(Loader.java:581)
at com.googlecode.javacpp.Loader.load(Loader.java:532)
at com.googlecode.javacv.cpp.freenect.<clinit>(freenect.java:119)
... 4 more
It seems to be somewhere in the init of the freenect class, but I'm not really sure whats happening beyond that .
Thanks,
-Kevin
Hi Kevin !!! Check this post
Hi Kevin !!! Check this post and download the full pack for windows7 64 bit...
http://myrobotlab.org/content/mrl-evolution
You ll need windows Microsoft SDK 1.8 installed too
http://www.microsoft.com/en-us/download/details.aspx?id=40278
It contains "good" kinect drivers
Let us know
Another important stuff ...
Another important stuff ... You have to use openNI service...not openCV service :)
lib path ? openni via python
openni = Runtime.createAndStart("openni", "OpenNI")
Hi kevin, are you using the
Hi kevin, are you using the MRL packet i mentioned in the last comment? (http://myrobotlab.org/content/mrl-evolution)
That is a packet which contains all the required dependencies you need... (other versions will not work)
If yes, send a noworky after you get the java error . This will send us a log which will help us to find was is happening
here is how to send a noworky :
http://myrobotlab.org/content/helpful-myrobotlab-tips-and-tricks-0#noWo…
Alessandro
Hi Alessandro, Thanks for
Hi Alessandro,
Thanks for the follow up. I'll do a bit more debugging and see if I can find which library is missing. I'm a bit busy the next few days, but maybe this weekend I can get some time to look into it. If I find the solution I'll post back what I found, otherwise, I'll go down the no-worky path. (Pretty cool to have the bug reporting directly in the app.. that's a pretty neat feature..)
Best,
-Kevin
OpenNI library dependencies