diff options
author | Keith Packard <keithp@keithp.com> | 2011-03-18 16:53:11 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-03-18 16:53:11 -0700 |
commit | 62eae8a17d870e8ac6937ba23da01a5fbc652c6c (patch) | |
tree | 873f355524fc8dbfb1ed666004cce94bed46a8e2 /src/ao_pins.h | |
parent | c826fab31f8aea25a942b6bb8435d4b04c1bef10 (diff) |
altos: Add kalman filters for baro-only boards
This adds a baro-only kalman filter to track the state of the rocket,
and then uses it to control flight events instead of the existing
ad-hoc mechanisms.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_pins.h')
-rw-r--r-- | src/ao_pins.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ao_pins.h b/src/ao_pins.h index 0de39970..353b5fd5 100644 --- a/src/ao_pins.h +++ b/src/ao_pins.h @@ -27,6 +27,7 @@ #define HAS_ADC 1 #define HAS_EEPROM 1 #define HAS_DBG 1 + #define USE_KALMAN 0 #define DBG_ON_P1 1 #define DBG_ON_P0 0 #define IGNITE_ON_P2 1 @@ -50,6 +51,7 @@ #define HAS_ADC 1 #define HAS_EEPROM 1 #define HAS_DBG 1 + #define USE_KALMAN 0 #define DBG_ON_P1 1 #define DBG_ON_P0 0 #define IGNITE_ON_P2 1 @@ -98,6 +100,7 @@ #define HAS_ADC 1 #define HAS_EEPROM 1 #define HAS_DBG 0 + #define USE_KALMAN 1 #define IGNITE_ON_P2 0 #define IGNITE_ON_P0 1 #define PACKET_HAS_MASTER 0 @@ -118,6 +121,7 @@ #define HAS_SERIAL_1 1 #define HAS_ADC 1 #define HAS_DBG 0 + #define USE_KALMAN 0 #define HAS_EEPROM 1 #define DBG_ON_P1 0 #define DBG_ON_P0 1 |