ESPFlight Docsv1
Browse documentation
Docs/Concepts/How ESPFlight Works

How ESPFlight Works

A mental model of the complete control path from sensors and app commands to motor outputs.

ESPFlight Docs · v1Validated v1 documentation path

#The loop

  1. 1

    Sense

    The IMU measures motion; optional range sensing can add altitude information.

  2. 2

    Estimate and interpret

    Firmware converts sensor data into the attitude/state used by control logic.

  3. 3

    Compare

    Control input and desired state are compared with measured state.

  4. 4

    Control

    Roll/Pitch/Yaw PID and mode logic compute corrections.

  5. 5

    Mix and output

    Corrections are mixed into four motor outputs, subject to ARM and safety state.

  6. 6

    Report

    Firmware sends telemetry/state back to the application over the local network.

#Where each layer belongs