projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
d6f5a06
)
Avoid 16-bit overflow in velocity computation.
author
Keith Packard
<keithp@keithp.com>
Sun, 24 May 2009 04:16:22 +0000
(21:16 -0700)
committer
Keith Packard
<keithp@keithp.com>
Sun, 24 May 2009 04:16:22 +0000
(21:16 -0700)
Adding two 16 bit integers together can wrap around to negative numbers,
this resulted in velocity values which never decreased, making the switch
from coast to apogee state not occur.
Signed-off-by: Keith Packard <keithp@keithp.com>
No differences found