From: Keith Packard Date: Sat, 8 Oct 2011 17:51:05 +0000 (-0600) Subject: altos: Ignore ejection bumps when doing boost re-detect X-Git-Tag: 1.0.9.2~6 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=6a7363b3ba99310bd44c9b66f6f5159e46762be4;hp=6a7363b3ba99310bd44c9b66f6f5159e46762be4;p=fw%2Faltos altos: Ignore ejection bumps when doing boost re-detect An ejection charge looks an awful lot like an extra (really small) motor burn. Ignore them by averaging the acceleration during fast/coast using a /64 exponential decay filter. Signed-off-by: Keith Packard ---