altos: Eliminate height requirement for coast detect
authorKeith Packard <keithp@keithp.com>
Mon, 7 May 2018 15:51:36 +0000 (08:51 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 7 May 2018 16:21:56 +0000 (09:21 -0700)
commitcc83d57454ed07e4828b4413e5af6ae2ecfe2e5a
tree9002f5d40e54ab38e88b1ed22f65dd227ae1c15c
parent49aafcbb6c0f3ecda4b668776be74a04a5654377
altos: Eliminate height requirement for coast detect

We had required a minimum altitude of 100m to transition from boost to
coast. With small motors in a heavy multi-staged rocket, this can fail
to detect coast in time to light the second motor.

Also, this would fail to deploy recovery systems if the flight failed
before reaching 100m.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_flight.c