summaryrefslogtreecommitdiff
path: root/src/make-kalman
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-03-23 10:33:38 +0900
committerKeith Packard <keithp@keithp.com>2011-03-23 10:33:38 +0900
commit32364c9e0d346e0e5d517e18d4e90b8ff2fa944f (patch)
tree0e4d8e491265045dec86535bd603dcec52372bba /src/make-kalman
parent3d2042ccc2d29e4cb8ea39c5c69d07cb7e3daeea (diff)
altos: Ignore alt error for fast->coast. Allow larger error for baro apogee.
With the fixed kalman filter, transitions across mach don't cause bumps in the merged filter. And, with working kalman bits, the signal for broken baro detection is stronger and so we can allow for baro apogee detection in cases where noise occurs close to apogee. Bump the kalman filter to trust the baro less so that the model tracks across mach. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/make-kalman')
-rw-r--r--src/make-kalman4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/make-kalman b/src/make-kalman
index 6fb181ec..5a25e1ec 100644
--- a/src/make-kalman
+++ b/src/make-kalman
@@ -2,8 +2,8 @@
cd ../kalman
-SIGMA_BOTH="-M 2 -H 4 -A 4"
-SIGMA_BARO="-M 2 -H 4 -A 4"
+SIGMA_BOTH="-M 2 -H 6 -A 2"
+SIGMA_BARO="-M 2 -H 6 -A 2"
SIGMA_ACCEL="-M 2 -H 4 -A 4"
nickle kalman.5c -p AO_BOTH -c both -t 0.01 $SIGMA_BOTH