Acceleration with 24F8

This is the English forum for all topics related to JoyWarrior. Please post in English only

Moderator: Guido Körber

Post Reply
nlegz
Posts: 1
Joined: Fri Mar 23, 2012 10:25 pm

Acceleration with 24F8

Post by nlegz »

Hi, we are trying to retrieve the 3 axis acceleration values (real time m/s², not the tilt...) for the JW24F8/MOD, but with no success.
Is there any example codes for C++ Builder, or a description of cmd / mapping to get this ?

(We are able to read the tilt).

Thanks

Cedric
Guido Körber
Site Admin
Posts: 2856
Joined: Tue Nov 25, 2003 10:25 pm
Location: Germany/Berlin
Contact:

Re: Acceleration with 24F8

Post by Guido Körber »

I assume you mean that you want to eliminate the gravity from the acceleration values?

If you have a fixed orientation for the sensor you can simply subtract 1g from the vertical axis. If the orientation of the sensor changes significantly this can get very complex.

Here is a description of how to do this compensation:
http://cdn.intechopen.com/pdfs/8/InTech ... ensors.pdf
Post Reply