summaryrefslogtreecommitdiff
path: root/src/ao_intflash.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-03-22 16:51:04 +0900
committerKeith Packard <keithp@keithp.com>2011-03-22 16:51:04 +0900
commit6864e06d88a5b908cffa7c4cd2be8969ff46ce4d (patch)
treebb6a3b86ccf040f319011afdfacadde534652043 /src/ao_intflash.c
parentc14d6c5ace1d67bd948273ceb7eb6807b29c3806 (diff)
altos/kalman: Kalman terms can be > 1, use 32-bit fixed point
Because speed and acceleration are scaled by 16, it's fairly common for the kalman terms to end up larger than 1. Instead of trying to fuss with 16-bit values and shifts, just use 32-bit values. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_intflash.c')
0 files changed, 0 insertions, 0 deletions