summaryrefslogtreecommitdiff
path: root/src/core/ao_log.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-12-18 23:15:20 -0800
committerKeith Packard <keithp@keithp.com>2012-12-18 23:15:20 -0800
commit57487e78b90465a21c87cf30deb0aeaba0887332 (patch)
tree59f8627886140d300a0d45b790e9c6d4f2a65b14 /src/core/ao_log.h
parent244415c515f21328cffe88d1369949a4af49a177 (diff)
altos: Actually record ground averages for 6dof sensor
This gets the long-term averages for the 6dof sensors recorded into the first flight log record. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_log.h')
-rw-r--r--src/core/ao_log.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ao_log.h b/src/core/ao_log.h
index 93b01778..036d6f2d 100644
--- a/src/core/ao_log.h
+++ b/src/core/ao_log.h
@@ -205,9 +205,9 @@ struct ao_log_mega {
int16_t ground_accel_along; /* 16 */
int16_t ground_accel_across; /* 12 */
int16_t ground_accel_through; /* 14 */
- int16_t ground_gyro_roll; /* 18 */
- int16_t ground_gyro_pitch; /* 20 */
- int16_t ground_gyro_yaw; /* 22 */
+ int16_t ground_roll; /* 18 */
+ int16_t ground_pitch; /* 20 */
+ int16_t ground_yaw; /* 22 */
} flight; /* 24 */
/* AO_LOG_STATE */
struct {