kriswiner / EM7180_SENtral_sensor_hub

(Affordable) Ultimate Sensor Fusion Solution
https://www.tindie.com/products/onehorse/ultimate-sensor-fusion-solution/
96 stars 37 forks source link

Acceleration Values #55

Open afnan opened 5 years ago

afnan commented 5 years ago

Hi

What is the difference between acceleration values used at different places in the program.

` // Now we'll calculate the accleration value into actual g's

Ax = (float)accelCount[0] * 0.000488f; // get actual g value

Ay = (float)accelCount[1] * 0.000488f;

Az = (float)accelCount[2] * 0.000488f;`

VS

lin_Ax = Ax + A31; lin_Ay = Ay + A32; lin_Az = Az - A33;

As the name suggests, the later one is linear but then is the first one angular acceleration?

I am interested in determining G's the sensor board is exposed to.

Thanks

kriswiner commented 5 years ago

The linear accelerations have the gravity component removed.

On Thu, May 2, 2019 at 4:12 AM afnan notifications@github.com wrote:

Hi

What is the difference between acceleration values used at different places in the program.

// Now we'll calculate the accleration value into actual g's Ax = (float)accelCount[0] 0.000488f; // get actual g value Ay = (float)accelCount[1] 0.000488f; Az = (float)accelCount[2] * 0.000488f;

VS

lin_Ax = Ax + A31; lin_Ay = Ay + A32; lin_Az = Az - A33;

As the name suggests, the later one is linear but then is the first one angular acceleration?

I am interested in determining G's the sensor board is exposed to.

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/EM7180_SENtral_sensor_hub/issues/55, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKT3SMB5CR535RADDFLPTLEDFANCNFSM4HJ5MNFA .