diff options
| author | Keith Packard <keithp@keithp.com> | 2009-05-17 22:29:54 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2009-05-17 22:29:54 -0700 | 
| commit | 7cb9fb675f56bf30ab6bf0bcdc5cb679709ffe3e (patch) | |
| tree | 3bd1f4cce887c142790e31a0d35d55796e1b8df0 /ao.h | |
| parent | 2c780d67b8a22d75a2da4b2af21fd35f0c6f5236 (diff) | |
Send computed accel/vel/pres values over the radio0.3
These computed values reflect what the flight computer is actually refering
to for state changes, and will be useful in debugging the flight software as
well as provide a filtered view of the data.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao.h')
| -rw-r--r-- | ao.h | 4 | 
1 files changed, 4 insertions, 0 deletions
| @@ -568,6 +568,7 @@ extern __pdata enum ao_flight_state	ao_flight_state;  extern __pdata uint16_t			ao_flight_tick;  extern __pdata int16_t			ao_flight_accel;  extern __pdata int16_t			ao_flight_pres; +extern __pdata int32_t			ao_flight_vel;  extern __pdata int16_t			ao_ground_pres;  extern __pdata int16_t			ao_ground_accel;  extern __pdata int16_t			ao_min_pres; @@ -723,6 +724,9 @@ ao_gps_report_init(void);  struct ao_telemetry {  	uint8_t			addr;  	uint8_t			flight_state; +	int16_t			flight_accel; +	int32_t			flight_vel; +	int16_t			flight_pres;  	struct ao_adc		adc;  	struct ao_gps_data	gps;  	char			callsign[AO_MAX_CALLSIGN]; | 
