altos: Split up flight code into separate flight/sample/kalman bits
authorKeith Packard <keithp@keithp.com>
Tue, 29 Mar 2011 00:54:44 +0000 (17:54 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 29 Mar 2011 00:54:44 +0000 (17:54 -0700)
commitc754759a2d503633d527da4ebb20eb859cd506fd
tree75384610b018a5ae52ce4462a4109b5b344c7192
parent006de838bbb096b9443863a46b8a125b1e6b5600
altos: Split up flight code into separate flight/sample/kalman bits

The flight code mashed together data processing, filtering and actual
flight managament into one giant pile. Split things up so that we
have:

 ao_sample.c: Sensor data processing. Reads the ring, handles calibration
 ao_kalman.c: Filter the data to track the accel/speed/height values
 ao_flight.c: Flight state management, specific to rocketry.

The plan is to re-use ao_sample.c and ao_kalman.c for hardware not
specifically designed for rocketry, like TeleNano.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/Makefile.proto
src/ao.h
src/ao_adc.c
src/ao_config.c
src/ao_flight.c
src/ao_flight_test.c
src/ao_kalman.c [new file with mode: 0644]
src/ao_log_big.c
src/ao_sample.c [new file with mode: 0644]
src/ao_stdio.c