JonasHelming / jnect

Automatically exported from code.google.com/p/jnect
1 stars 0 forks source link

jnect without eclipse #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Branch name:jnectJavaOnly

Purpose of code changes on this branch:
New branch for integrating code by Melynda Eden. The changes aim at using jnect 
without the eclipse rcp framework just on a java vm.

Original issue reported on code.google.com by Alexande...@googlemail.com on 23 Sep 2012 at 1:15

GoogleCodeExporter commented 9 years ago
Name: jnectJavaOnly
Description: run jnect as a Java Application
Author(s): Melynda Eden
I hereby declare that I accept to contribute following the Eclipse terms of use 
and the Eclipse IP policy.

The link below is good until 2012-10-27 and will allow you to download a 
git-patch file, jnect.patch. The file was too large to attach to this issue 
directly. 

https://www.yousendit.com/download/WUJiTkFxV3JlaFFFSzhUQw

The git-patch contains the files I have added to the project as well as my 
modifications to the existing jnect code in order to allow jnect to run 
independently of Eclipse.  This patch contains the additional package, 
RegistryFactoryHelper (org.eclipse.equinox.nonosgi.registry), which I did not 
author, but is available under the Eclipse Public License v1.0.

These modifications and additions are also reflected in my clone, 
melyndaeden-jnect-clone-1 
(https://code.google.com/a/eclipselabs.org/r/melyndaeden-jnect-clone-1/).  The 
following is a summary of my modifications and additions:

KinectManagerImpl:  new code in setUpBodyProvider uses RegistryFactoryHelper 
package to avoid using the Eclipse runtime platform.

ConnectionProcessor:  new code eliminates the need for the Eclipse runtime 
platform.  

SkeletonParser:  While running jnect as a Java Application, there is no user 
interface (no Start/Stop buttons).  Therefore, a timer has been added to the 
Skeleton Parser in order to stop skeleton tracking and stop the kinect after a 
given amount of time.  This timer is used when running StartTracker.java, and 
can be modified or removed if desired.

org.jnect.rightHandTracker:  contains classes based off of the Right Hand 
Tracker tutorial to demonstrate jnect running as a Java Application.  
StartTracker.java contains a main class that can run as a Java Application.  
StartTracker will launch RightHandTracker and LeftHandTracker, which will print 
x,y, and z values for the user's right and left hands.  Once one skeleton is 
found, the tracker will run for five seconds and then stop. 

Let me know if I need to provide any additional information.

Melynda

Original comment by melyndae...@gmail.com on 21 Oct 2012 at 4:54

GoogleCodeExporter commented 9 years ago
Hi, I am using eclipse and want to use jnect. It does compile, however I got a 
noclassdeffounderror in org.jnect.core.KinectManager.<clinit>. Any idea what's 
causing this? 

Original comment by pascal.h...@gmail.com on 23 Feb 2013 at 11:51

GoogleCodeExporter commented 9 years ago
BTW, the only call I do is: KinectManager.INSTANCE.startKinect();
As external jars I added: org.jnect.core and org.jnect.bodymodel.

Original comment by pascal.h...@gmail.com on 23 Feb 2013 at 11:59