Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6982723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:19:35+00:00 2026-05-27T18:19:35+00:00

I was looking over the documentation trying to find anything that will allow me

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:19:36+00:00Added an answer on May 27, 2026 at 6:19 pm

    The standard OpenNI Kinect drivers don’t expose or allow access to any accelerometer, motor, or LED controls. All of these controls are done through the “NUI Motor” USB device (protocol reference), which the SensorKinect Kinect driver doesn’t communicate with.

    One way around this is to use a modified OpenNI SensorKinect driver, i.e., this one which does connect to the NUI Motor device, and exposes basic accelerometer and motor control via a “CameraAngleVertical” integer property. It appears that you should be able to read/write an arbitrary integer property using SimpleOpenNI and Processing.

    If you’re willing to use a non-OpenNI-based solution, you can use Daniel Shiffman’s Kinect Processing library which is based on libfreenect. You’ll get good accelerometer, motor, etc…, but will lose access to the OpenNI skeleton/gesture support. A similar library for OpenFrameworks is ofxKinect.

    Regarding locking of OpenNI nodes, my understanding is that this just prevents properties from updating and does nothing at the USB driver level. Switching between drivers–PrimeSense-based SensorKinect and libusb-based libfreenect–at runtime is not possible. It may be possible (I haven’t tried it) to configure OpenNI for the camera device, and to use freenect to communicate with the NUI Motor device. No locking/synchronization between these devices should be required.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been looking all over but I can't find the documentation of Wordpress's XML-RPC
I'm looking at developing a device which will need to support Ethernet over USB
I'm trying to write a program that outputs data that can be served over
From looking over the documentation, it seems that the form clean() method is only
I have developed a USB device that communicates with linux over a simple but
I was looking over the Django documentation on a way to do this but
I have been looking over the internet for a while about this, but it
i was looking through the django documentation on how to export my data to
Even looking closely over documentation on Clojure, I do not see any direct confirmation
I've read the documentation over and over and I can't get why this doesn't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.