bengfarrell / nuimotion

Node.js wrapper for OpenNI/NiTE offering skeletal joint tracking and gestures
http://www.sweatintotheweb.com/nuimotion-for-node-js/
MIT License
74 stars 19 forks source link

Using with the OpenNI2 libFreenect driver #13

Closed alastaircoote closed 10 years ago

alastaircoote commented 10 years ago

I have been trying to set up nuimotion using an OpenNI2-compatible Kinect driver:

https://github.com/piedar/OpenNI2-FreenectDriver

It works- when I put the resulting library in the NiTE2 Samples/Bin/OpenNI2/Drivers directory the samples work fine. However, the same can't be said for nuimotion. I copy the library to /OpenNI2/Drivers but when I run, I get:

Nui Motion Initialize 
Initialize Depth Camera
Couldn't create user tracker
Shutdown NITE

The NiTE examples take ~5 seconds to initialize, wheras this fails immediately - could it be that it isn't loading the new driver I added? I should add that the sample I am running is the UserViewer one - so presumably it is using the user tracker.

alastaircoote commented 10 years ago

Actually, I think this is related to #12 - moving discussion there.