The Flight Controller (FC) is the central onboard computer of an Unmanned Aircraft System (UAS). Its firmware runs real-time control loops (often at 400 Hz to 8 kHz) to perform four critical functions:
Different missions require different firmware stacks. Use the comparison table below to select the appropriate platform for your airframe and operational requirements.
| Firmware Stack | License | Primary Use Case | Ground Control Software | Key Strengths |
|---|
| ArduPilot (ArduCopter / ArduPlane) | Open-Source (GPLv3) | Enterprise mapping, heavy-lift, agriculture, VTOL, rovers | Mission Planner, QGroundControl | Unmatched autonomy features, extensive hardware support, Lua scripting, mature EKF3 |
| PX4 Autopilot | Open-Source (BSD 3-Clause) | Commercial R&D, NDAA-compliant fleets, ROS2 integration | QGroundControl | Modular architecture, native MAVLink/ROS2 companion computer support, commercial-friendly license |
| Betaflight | Open-Source (GPLv3) | FPV racing, freestyle, cinewhoops, indoor tactical | Betaflight Configurator | Ultra-low latency flight feel, advanced RPM/notch filtering, lightweight codebase (limited GPS autonomy) |
| iNav | Open-Source (GPLv3) | Fixed-wing FPV, long-range cruising, lightweight mapping | iNav Configurator | Bridges Betaflight hardware with reliable GPS navigation, RTH, and waypoint missions |
| Proprietary Closed-Source (DJI, Autel, Skydio) | Closed-Source | Turnkey commercial inspection, public safety, photogrammetry | DJI Pilot 2, Autel Explorer, Skydio Enterprise | Plug-and-play reliability, integrated obstacle avoidance, built-in Remote ID & geofencing |
Whenever firmware is flashed or hardware is modified, calibrate sensors in this exact sequence:
To prevent bricked hardware, unexpected parameter resets, or mid-air anomalies, follow this standardized update procedure:
| Symptom / Error Message | Probable Cause | Corrective Action |
|---|
| EKF Variance / Compass Redundancy Error | Magnetic interference at launch site or uncalibrated compass | Move aircraft away from metal/rebar; recalibrate compass outdoors; verify board orientation |
| “PreArm: Gyros not calibrated” | Aircraft moved during boot initialization | Keep aircraft completely stationary on level ground during power-up |
| Motor Heating / High-Frequency Oscillation | Excessive D-gain, noisy gyro, or bent/unbalanced propeller | Replace propellers; inspect FC soft-mounting gummies; lower D-gain or tighten notch filters |
| Toilet-Bowling (Circular Drift in GPS Hold) | Compass declination error or magnetic interference from power wires | Twist battery power leads; increase distance between GPS/compass mast and ESCs; recalibrate compass |
| Stuck in Bootloader Mode (Solid LED) | Interrupted firmware flash or corrupted bootloader | Re-flash target firmware using DFU / Bootloader button recovery procedure |
UAS Flight Operations Manual: 1. Airspace & FAA Rules | 2. Weather & FRAT | 3. Pre-Flight & Maintenance | 4. Emergency Procedures | 5. Flight & Maintenance Logbook | 6. Flight Controller Firmware