summaryrefslogtreecommitdiff
path: root/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-05-17 23:36:21 -0700
committerKeith Packard <keithp@keithp.com>2009-05-17 23:36:21 -0700
commit91b07410122d0eaaf292cdb31c200925d45eaf2c (patch)
tree7a5662b499d09855e9cece8d2de379e3556a0156 /ao.h
parent71d1689759829f1bc8550f1a4d8c9f2dc90b2ab4 (diff)
Transmit computed ground pressure and acceleration values0.4
These are the last two values relevant to figuring out the state of the flight computer, and as they are computed by averaging 10 seconds of 100Hz sample data, they're a lot more accurate than anything the receiver could do on its own. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao.h')
-rw-r--r--ao.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ao.h b/ao.h
index 31558529..411b950d 100644
--- a/ao.h
+++ b/ao.h
@@ -725,8 +725,10 @@ struct ao_telemetry {
uint8_t addr;
uint8_t flight_state;
int16_t flight_accel;
+ int16_t ground_accel;
int32_t flight_vel;
int16_t flight_pres;
+ int16_t ground_pres;
struct ao_adc adc;
struct ao_gps_data gps;
char callsign[AO_MAX_CALLSIGN];