I was looking over the documentation trying to find anything that will allow me the Kinect/device?
I'm trying to get accelerometer data, but not sure how. So far there
were two things I've spotted in the guide and docs:
XnModuleDeviceInterface/xn::ModuleDevice
and
XnModuleLockAwareInterface/xn::ModuleLockAwareInterface
.
I'm wondering if I can use the ModuleDevice Get/Set methods to talk to the device and ask for accelerometer data. If so, how can I get started?
Also, I was thinking, if it would be possible to 'lock' openni functionality temporarily while I try to get accelerometer data via freenect or something similar, then 'unlocking' after reading is done.
Has anyone tried this before? Any tips?
I'm currently using the SimpleOpenNI wrapper and Processing, but have used OpenFrameworks and the C++ library, so the language wouldn't be very important.