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 8011563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:03:14+00:00 2026-06-04T19:03:14+00:00

I am trying to build a Kinect and iPhone based application. I am trying

  • 0

I am trying to build a Kinect and iPhone based application.

I am trying to compute the acceleration of my hands over time on each of the X Y and Z axis based on the trajectory returned by the kinect. Basically I am selecting a standard time interval of 0.5 seconds or 15 frames( dt ) and 3 points, ( x0, x1 and x2 ) over time which are separeted by 0.5 seconds. First I should mention that the position of the 3 points is mentioned in meters. By using these points I am computing two speeds(v0 = (x1 - x0) / dt and v1 = (x2 - x1) / dt). Finally, by using these speeds, I am computing the acceleration between x1 and x2 as acc = (v1 - v0) / dt.

I repeat these computation at each frame and I obtain an array of accelerations.

As I’ve said, I have also an iPhone and I want to see in which hand I have my iPhone, left hand or right hand. I want to do this by trying to match the accelerations of my hand with the accelerations of the iPhone held in the right position so that I have the same axis system.

The only problem is that there is a huge difference between my accelerations and the accelerations of the phone.

The phone acceelaration readings are somewhere between -2 and 2 for each axis, whereas mine are between -10 and 10. How should I interpret the iPhone accelerations in order to obtain similar measures to mine in meter / seconds ?

  • 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-06-04T19:03:15+00:00Added an answer on June 4, 2026 at 7:03 pm

    Accelerometer data on the iPhone is provided in units of g-force. The x-axis is aligned with the top edge of your phone screen, the y-axis is aligned with the left edge, and the z-axis comes straight out of the screen towards you if you’re looking at it. So with your phone resting on the table face-up, you should get values of (0, 0, -1) for the x, y, and z axes respectively. If you drop your phone, while it is in free-fall you should get (0, 0, 0).

    Assuming you keep the phone aligned like this as you move it around, to get the 3-Dimensional acceleration in metres per second squared:

    - (void)accelerometer:(UIAccelerometer*)accelerometer didAccelerate:(UIAcceleration*)acceleration
    {
        float g = 9.80665f;
        float x = acceleration.x * g;
        float y = acceleration.y * g;
        float z = (acceleration.z + 1.0f) * g;
        // x, y, and z now hold the absolute acceleration in ms^-2
    }
    

    Notice that you must subtract the effect of Earth’s gravity in order to get the acceleration relative to your living room rather than relative to 4-Dimensional space-time.

    Also be aware that the iPhone accelerometer is quite noisy and these values jitter around even when the phone is static, so you will want to apply some smoothing. However, if you use a similar technique to what you seem to be doing with the position data, putting the values into an array each frame in order to get a rolling average over the last 0.5 seconds, this will already smooth the data for you.

    Another thing to be aware of is that the iPhone accelerometer peaks out at about 2.3g. These g-forces are not difficult to achieve (for example if you clap your hands together) so you may exceed them and techniques that accumulate data will not be very reliable.

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

Sidebar

Related Questions

I'm trying build an App Engine connected Android application and am having some problems
Trying to build a plot with an exponent x-axis. It should start with 0
I am trying build a DataTable one row at a time using the following
I am trying to build a game for kinect which has been just released
I am trying build small webcam chat (web application). I searched on google and
I`m trying to build a application using the Fragment/Tabs and Pager from the android
Im trying to build a feeds application in php in which im using a
Im trying to build a form that calculates a total price based on a
im trying to build an application like a book, with so many custom views
im trying to build a application or a method that goes through all of

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.