Anybody knows how to convert the raw value from gyro and accelerometer to true value? Because I did not find any information. Thanks. (I have a full ardupilot Mega Kit)
Tags: accelerometer, gyro, raw, value
Permalink Reply by Jake Stew on March 30, 2012 at 12:01am RTFM!
JK... All you have to do is take the max number of the bit width in the value (8 bits = 256, 16 bits = 65,535, etc.). Take the full scale range (2g, 4g, etc.) and divide by the max number. That gives you the G value per number in your reading.
Now take your reading and subtract half of the max number, then multiply that by the G per number figure.
You have to remember that the lower numbers are actually going to be negative values.
Sorry for such a clumsy explanation, but hopefully it helps.
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.24 members
1289 members
248 members
57 members
87 members
© 2013 Created by Chris Anderson.
Powered by
