diff options
| author | Keith Packard <keithp@keithp.com> | 2012-12-18 23:15:20 -0800 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-12-18 23:15:20 -0800 | 
| commit | 57487e78b90465a21c87cf30deb0aeaba0887332 (patch) | |
| tree | 59f8627886140d300a0d45b790e9c6d4f2a65b14 /src/core/ao_sample.h | |
| parent | 244415c515f21328cffe88d1369949a4af49a177 (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_sample.h')
| -rw-r--r-- | src/core/ao_sample.h | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/src/core/ao_sample.h b/src/core/ao_sample.h index 9336bdf9..a2dac979 100644 --- a/src/core/ao_sample.h +++ b/src/core/ao_sample.h @@ -111,6 +111,14 @@ extern __pdata accel_t	ao_ground_accel;	/* startup acceleration */  extern __pdata accel_t 	ao_accel_2g;		/* factory accel calibration */  extern __pdata int32_t	ao_accel_scale;		/* sensor to m/s² conversion */  #endif +#if HAS_GYRO +extern __pdata accel_t	ao_ground_accel_along; +extern __pdata accel_t	ao_ground_accel_across; +extern __pdata accel_t	ao_ground_accel_through; +extern __pdata gyro_t	ao_ground_pitch; +extern __pdata gyro_t	ao_ground_yaw; +extern __pdata gyro_t	ao_ground_roll; +#endif  void ao_sample_init(void); | 
