Flight operation
Flight sequence
Section titled “Flight sequence”flowchart TD
launch[Launch detection] --> boost[Boost]
boost --> coast[Coast]
coast --> apogee[Apogee detection]
apogee --> descent[Descent]
descent --> landed[Landed]
This sequence summarizes detection and state changes. Automatic deployment at apogee depends on FIRE_PYRO_APOGEE and the other safety conditions described below.
Sensor sampling
Section titled “Sensor sampling”During flight, AstroNav Nano continuously samples its sensors.
Measured data includes:
- Acceleration
- Rotation
- Pressure
- Temperature
Derived information includes:
- Altitude
- Vertical velocity
- Orientation
Launch detection
Section titled “Launch detection”Launch is not triggered from a single acceleration sample.
The firmware requires sustained acceleration above the configured launch threshold.
The default threshold is:
1.35 gA hard knock while handling the rocket can still pass this test. If the board then comes to rest without having climbed 3 m, it treats it as a false launch and returns to Idle, ready for the real launch.
After launch confirmation, the board enters Boost.
The vehicle is considered to be in powered ascent.
When boost ends, the board transitions into Coast.
The vehicle continues climbing without powered acceleration.
Apogee detection
Section titled “Apogee detection”The firmware evaluates multiple conditions when determining apogee.
These include:
- Drop from peak altitude
- Downward vertical velocity
- Low acceleration
- Minimum flight time
Confirmation samples are used so one noisy sensor reading does not immediately trigger an apogee event.
If the rocket tumbles or spins and the low-acceleration check never passes, a backup still triggers apogee on a clear barometric descent, slightly later than normal. Late deployment is safer than none. The log then shows APOGEE_TRIGGER=baro_descent.
Pyro behavior
Section titled “Pyro behavior”When apogee is confirmed:
If:
FIRE_PYRO_APOGEE=TRUEthe pyro channel can receive a one-second pulse when the other safety conditions permit it:
- the barometer is reliable, because parachute timing depends on it;
- the peak is at least
MIN_PYRO_FIRE_HEIGHT_Mabove the launch point (default 5 m).
If a condition is not met, the pyro does not fire and the flight log records why in PYRO_BLOCKED_REASON.
If:
FIRE_PYRO_APOGEE=FALSEthe apogee event is still detected and logged, but the automatic pyro output is blocked.
Landing detection
Section titled “Landing detection”After the apogee event, the firmware monitors for landing.
Landing detection considers:
- Low altitude trend
- Low vertical velocity
- Low acceleration
- Stable gravity alignment
These conditions must remain stable before Landed is confirmed.
After landing
Section titled “After landing”Once landing is confirmed:
- The mission log is finalized.
- Buffered data is written to storage.
- Flight records are updated.
Sensor fallback
Section titled “Sensor fallback”The firmware may continue using healthy sensor paths when another reading becomes invalid.
Sensor fallback is intended to improve robustness.
It does not mean warnings or sensor failures should be ignored.