From: Keith Packard Date: Mon, 21 Mar 2011 23:51:23 +0000 (+0900) Subject: altos: Compute a 'trust' value for the barometer X-Git-Tag: 0.9.3~116 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=c14d6c5ace1d67bd948273ceb7eb6807b29c3806;hp=c14d6c5ace1d67bd948273ceb7eb6807b29c3806;p=fw%2Faltos altos: Compute a 'trust' value for the barometer Instead of making the baro use/don't-use decision binary, use a 'trust value' which slowly migrates from baro+accel to accel-only mode. This eliminates bumps in the data from a rapid shift. Signed-off-by: Keith Packard ---