diff options
author | Keith Packard <keithp@keithp.com> | 2014-10-04 00:11:13 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-10-04 00:11:13 -0700 |
commit | 00ae706dab6e8fddef4c5730a17c433a022228b7 (patch) | |
tree | fae976ad891d1776f6e52c078d9eceb35d96a845 /altoslib/AltosLib.java | |
parent | a757fd5af53f5721a949181372548afa4757d6c9 (diff) |
altoslib: Compute tilt angle from eeprom data
This copies the computation of tilt angle from the firmware so that
post-flight analysis can also show the data.
This change also renames all of the imu values to make them easier to
understand:
accel gyro axis
along roll length of the board
across pitch across the board
through yaw through the board.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosLib.java')
-rw-r--r-- | altoslib/AltosLib.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/altoslib/AltosLib.java b/altoslib/AltosLib.java index 92a22ec7..0edc0b43 100644 --- a/altoslib/AltosLib.java +++ b/altoslib/AltosLib.java @@ -74,6 +74,7 @@ public class AltosLib { public static final int AO_LOG_BARO_TREF = 3006; public static final int AO_LOG_BARO_TEMPSENS = 3007; public static final int AO_LOG_BARO_CRC = 3008; + public static final int AO_LOG_IMU_CAL = 3009; public static final int AO_LOG_SOFTWARE_VERSION = 9999; |