altos: Require sequencing through 'main' state before landing
authorKeith Packard <keithp@keithp.com>
Tue, 2 Aug 2011 09:09:23 +0000 (02:09 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 2 Aug 2011 09:09:23 +0000 (02:09 -0700)
The old version of the code would permit the flight to go straight
from 'drogue' to 'landed' without passing through 'main' at all. This
meant that a false landing detection would leave the main charge
unfired, potentially causing the airframe to land on drogue alone.

Requiring that the flight sequence pass through main ensures that the
main charge will get fired at the right time, although if the airframe
lands higher than that altitude, it will not go to 'landed' mode ever.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found