Skip to content

Flight operation

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.

During flight, AstroNav Nano continuously samples its sensors.

Measured data includes:

  • Acceleration
  • Rotation
  • Pressure
  • Temperature

Derived information includes:

  • Altitude
  • Vertical velocity
  • Orientation

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 g

A 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.

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.

When apogee is confirmed:

If:

FIRE_PYRO_APOGEE=TRUE

the 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_M above 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=FALSE

the apogee event is still detected and logged, but the automatic pyro output is blocked.

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.

Once landing is confirmed:

  1. The mission log is finalized.
  2. Buffered data is written to storage.
  3. Flight records are updated.

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.