summaryrefslogtreecommitdiff
path: root/src/core/ao_kalman.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-10-25 04:05:09 -0700
committerKeith Packard <keithp@keithp.com>2013-10-25 04:05:09 -0700
commit08143a922fe27bc50a19924f46538f9476ab5fd1 (patch)
treecdd2be15a286183eade9d6b665d5bc5a99d5abff /src/core/ao_kalman.c
parentba99630f33440b993c69830856d2a7741ffdef71 (diff)
altos: Add gyro-based orientation tracking
This tracks the angle-from-vertical as an additional input to the pyro channels. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_kalman.c')
-rw-r--r--src/core/ao_kalman.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/ao_kalman.c b/src/core/ao_kalman.c
index 762b2c0a..7fd4f889 100644
--- a/src/core/ao_kalman.c
+++ b/src/core/ao_kalman.c
@@ -292,7 +292,4 @@ ao_kalman(void)
else
#endif
ao_avg_height = (ao_avg_height_scaled + 63) >> 7;
-#ifdef AO_FLIGHT_TEST
- ao_sample_prev_tick = ao_sample_tick;
-#endif
}