Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Listeners without SessionManager #4

Open
chewie-21 opened this issue May 13, 2011 · 1 comment
Open

Use Listeners without SessionManager #4

chewie-21 opened this issue May 13, 2011 · 1 comment

Comments

@chewie-21
Copy link

Hi this post is more a request that an issue but i didn't find where to post it,

I wanted to use your excellents Listeners using information that i get from SkeletonJointPosition of OpenNi.
I've tried to create a sessionManager instance adding Listeners and use the forceSession giving the SkeletonPosition.Position 3DPoint (using LeftHand SkeletonJoin)
if works a bit but i've have a memory accessing violation after a moment trying to update SessionManager.
And i can't get info of ending session.

So i would like to create Listener an update manually using
updateMessage method.

But the parametre is an InPtr class and i don't know what to send (Point3D info ?, DepthGenerator info ?, Context info?)

Is it possible to do that?

@chewie-21
Copy link
Author

I find out why i'm getting an accessing violation error updating my SessionManager instance.
i have a push detector who's listening the sessionManager.

I replace my code who was
sessionManager.update(context);

by

lock(pushDetecort)
{
sessionManager.update(context);
}

and it solved the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant