Update 

Kinect, leap motion and opencv working at the same time :)

-OpenCV

-Leap Motion

-Voice recognition

-Kinect

-DIY oculus / Arduino

Old Mrl commino -> version 20 -> the 3 values are printed correctly

New Mrl commino -> version 21 -> only 2 values are sent correctly ( i can see a number) the ay2 value is always printed as 0

 

Windows 64 Eclipse - make OpenNI Worky Pre-Flight checklist

  • load mrl into eclipse
  • shift-alt-t  start typing OpenNI and open the OpenNI Service so its in text editor
  • right click on the file somewhere -> Debug -> Debug configurations
  • click on Arguments tab 
    for VM Arguments put  -Djava.library.path="libraries/native/"
  • Make sure the following libraries are in the native directory (depends on operating system)
  • I checked out myrobotlab into a folder called c:\mrl  so the root of myrobotlab is
    c:\mrl\myrobotlab
    libraries are
    c:\mrl\myrobotlab\libraries
  • My native folder is 
    c:\mrl\myrobotlab\libraries\native

    The root of your application can be anywhere - but relative to the root the directory structure is very important.
     

  • MRL uses a "modified" SimpleOpenNI code to use OpenNI.  The guys at SimpleOpenNI made a valient attempt to get the crazy loading of OpenNI2 to work.  The part that I had to modify was removing all the Processing dependencies. Because SimpleOpenNI is not a generalized loader it was made for Processing.

    Drivers - SimpleOpenNI2 comes with some of its own driver files. They have to be located in the following directory

    C:\mrl\myrobotlab\libraries\native\OpenNI2\Drivers

    If this is not here and the other pieces are - you wont get an error message and you wont get any video :(

    C:\mrl\myrobotlab\libraries\jar\SimpleOpenNI.jar


  •  

So a quick review of all files and structure :

Jar Files
C:\mrl\myrobotlab\libraries\jar\SimpleOpenNI.jar

Native Files

C:\mrl\myrobotlab\libraries\native\NiTE.ini
C:\mrl\myrobotlab\libraries\native\NiTE2.dll
C:\mrl\myrobotlab\libraries\native\OpenNI.ini
C:\mrl\myrobotlab\libraries\native\OpenNI2
C:\mrl\myrobotlab\libraries\native\OpenNI2.dll
C:\mrl\myrobotlab\libraries\native\SimpleOpenNI64.dll
C:\mrl\myrobotlab\libraries\native\OpenNI2\Drivers
C:\mrl\myrobotlab\libraries\native\OpenNI2\Drivers\Kinect.dll
C:\mrl\myrobotlab\libraries\native\OpenNI2\Drivers\OniFile.dll
C:\mrl\myrobotlab\libraries\native\OpenNI2\Drivers\PS1080.dll
C:\mrl\myrobotlab\libraries\native\OpenNI2\Drivers\PS1080.ini
C:\mrl\myrobotlab\libraries\native\OpenNI2\Drivers\PSLink.dll
C:\mrl\myrobotlab\libraries\native\OpenNI2\Drivers\PSLink.ini

NiTe2 data files

C:\mrl\myrobotlab\libraries\NiTE2\Data
C:\mrl\myrobotlab\libraries\NiTE2\FeatureExtraction.ini
C:\mrl\myrobotlab\libraries\NiTE2\h.dat
C:\mrl\myrobotlab\libraries\NiTE2\HandAlgorithms.ini
C:\mrl\myrobotlab\libraries\NiTE2\s.dat
C:\mrl\myrobotlab\libraries\NiTE2\Data\lbsdata.idx
C:\mrl\myrobotlab\libraries\NiTE2\Data\lbsdata.lbd
C:\mrl\myrobotlab\libraries\NiTE2\Data\lbsparam1.lbd
C:\mrl\myrobotlab\libraries\NiTE2\Data\lbsparam2.lbd

 

Does Apple and Microsoft play nice yet?

Something to think about--A year or two ago Apple bought out Asus' 3d sensor technology.  The Asus Xtion Live Pro is smaller and lighter than the Kinect, and is easier to interface and power.  I have no idea what Apple has done with it since, or what their plans are.  Maybe they have a future product in mind.

Alessandruino

9 years 6 months ago

In reply to by DancesWithRobots

not yet... a nasty unsatisfied link pops up when launching kinect in mrl :) btw i got it working on mac with skanect for 3d scanning