summaryrefslogtreecommitdiff
path: root/altoslib/AltosProgrammer.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-02 02:09:23 -0700
committerKeith Packard <keithp@keithp.com>2011-08-02 02:09:23 -0700
commit82e04a0e3a3296288a524ec582785a36fd644331 (patch)
treee04401147abdd76273e48f891d45f95dc9150d15 /altoslib/AltosProgrammer.java
parent6c55bf35b11ae3ddae152795072d69e98184bac1 (diff)
altos: Require sequencing through 'main' state before landing
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>
Diffstat (limited to 'altoslib/AltosProgrammer.java')
0 files changed, 0 insertions, 0 deletions