INAV is an open-source flight controller firmware for multirotors, fixed-wing aircraft and other unmanned vehicles that emphasizes GPS-assisted navigation. Within flight control for drones, it occupies the space between racing-oriented firmware and full autopilot suites: it runs on the same low-cost STM32 flight controllers used in FPV, yet adds altitude hold, position hold, return to home and waypoint missions.
INAV began in 2016 as a fork of Cleanflight, the same lineage that produced Betaflight. The two projects later diverged sharply: Betaflight optimized acro handling and filtering for freestyle and racing, while INAV invested in sensor fusion, navigation logic and fixed-wing support. It is distributed free of charge and configured with the desktop INAV Configurator application or a command-line interface.
How INAV estimates position and navigates
INAV navigates by combining several sensors into one position and velocity estimate. The gyroscope and accelerometer of the IMU provide fast attitude data, a GNSS receiver supplies absolute position and ground speed, a barometer reports altitude changes, and an optional magnetometer gives heading on multirotors.
A dedicated navigation estimator fuses these inputs with filters that weigh each source by its expected accuracy. The result feeds layered controllers: an outer position controller produces a desired velocity, a velocity controller produces a desired attitude or throttle, and the inner PID loop holds that attitude. This cascaded structure resembles larger autopilots, but it is tuned to fit on modest microcontrollers.
The table lists the main sensors INAV uses and what each contributes to navigation.
| Sensor | Main contribution | Required for |
|---|---|---|
| Gyroscope and accelerometer | Attitude and short-term motion | All flight modes |
| GNSS receiver | Position, ground speed, home point | Position hold, RTH, waypoints |
| Barometer | Relative altitude | Altitude hold on most builds |
| Magnetometer | Heading at low speed | Multirotor navigation modes |
| Pitot tube | True airspeed | Optional on fixed-wing aircraft |
| Rangefinder or optical flow | Height and drift near ground | Optional precision hold |
Flight modes and navigation functions
INAV exposes its capabilities as flight modes assigned to transmitter switches. Stabilized modes such as Angle, Horizon and Acro behave much as they do in other firmware, while the NAV modes add automatic altitude and position control. On fixed-wing aircraft, a Manual mode passes stick inputs directly to the control surfaces.
| Mode | What it does | Typical use |
|---|---|---|
| NAV ALTHOLD | Holds altitude; pilot steers | Smooth video, beginner flights |
| NAV POSHOLD | Holds position and altitude | Hovering for observation |
| NAV RTH | Flies back to the home point and lands | Signal loss, low battery |
| NAV WP | Flies a stored waypoint mission | Mapping and long-range routes |
| NAV CRUISE | Holds heading and altitude | Fixed-wing long-range cruising |
| NAV LAUNCH | Automates a hand or bungee launch | Fixed-wing take-off |
Beyond these modes, INAV provides failsafe return to home, multiple safe home locations, geofence-like altitude limits, and a programming framework of logic conditions that can trigger actions from flight data. Waypoint missions can be planned in the configurator or in compatible mobile apps and uploaded through the MSP protocol.
INAV compared with related flight firmware
INAV is best understood as a navigation-first firmware that still respects hobby hardware constraints. Choosing it over alternatives depends on whether the aircraft needs autonomy or peak agility, and on how much hardware and setup complexity the builder accepts.
| Firmware | Primary focus | Navigation depth | Typical hardware |
|---|---|---|---|
| INAV | GPS navigation, fixed wing | RTH, position hold, missions | STM32 F4, F7, H7 boards |
| Betaflight | Acro, racing, freestyle | Basic GPS rescue only | STM32 F4, F7, H7 boards |
| ArduPilot | Full autopilot, many vehicles | Extensive, mission-grade | Larger F7 and H7 boards |
| PX4 | Professional autopilot stack | Extensive, research-grade | Pixhawk-class hardware |
In practice, INAV appeals to long-range FPV pilots and fixed-wing builders who want dependable return to home without moving to a heavier autopilot ecosystem. Pilots focused on freestyle tricks usually stay with Betaflight, whose filtering and feedforward are optimized for that style.
Setting up INAV for reliable navigation
Reliable INAV navigation depends more on careful setup than on tuning. The firmware performs well only when sensors are calibrated, mounted correctly and free from interference.
- Flash the target that matches the flight controller and select the correct platform type and mixer.
- Calibrate the accelerometer in all six orientations and the magnetometer away from metal objects.
- Mount the GNSS and compass module away from power wiring and video transmitters.
- Verify sensor alignment and stick directions in the configurator before any flight.
- Test NAV POSHOLD and NAV RTH at low altitude before trusting failsafe behavior.
INAV also enforces arming safety checks: it refuses to arm when navigation is required but the GNSS has too few satellites, when the aircraft is not level, or when sensors report errors. These checks reduce the risk of a fly-away caused by a missing home position.
Limitations and common mistakes
INAV is capable, yet it remains hobby-grade software without certification for commercial or safety-critical operations. Most navigation failures trace back to configuration errors rather than code defects.
| Symptom | Likely cause | Remedy |
|---|---|---|
| Toilet-bowl circling in hold | Compass interference or misalignment | Relocate and recalibrate magnetometer |
| Altitude drifts in hold | Barometer exposed to prop wash | Cover the barometer with open-cell foam |
| RTH flies the wrong way | Wrong GNSS or compass orientation | Correct alignment in the configurator |
| Will not arm | No GNSS fix or uncalibrated sensors | Wait for a fix; repeat calibration |
Another frequent mistake is assuming that return to home guarantees recovery. RTH needs a valid home point, sufficient battery reserve and a clear climb path; obstacles are not detected. Pilots should also observe local rules on visual line of sight and maximum altitude, which firmware features do not override.
In simple terms
INAV is the software brain of a hobby drone or model plane. It keeps the aircraft steady. It can also use GPS to know where the aircraft is.
With INAV, a drone can stop and wait in one spot in the air. It can fly a planned route by itself. If the radio signal is lost, it can fly home on its own. Think of it as a simple autopilot that fits on a small, inexpensive circuit board.
A practical example
A hobbyist builds a 7-inch long-range quadcopter to film a coastline. The aircraft carries an F7 flight controller, a GNSS and compass module on a short mast, and a barometer covered with foam. Before the first long flight, the builder calibrates every sensor, assigns NAV POSHOLD and NAV RTH to switches, and sets failsafe to return to home at a climb height of 50 meters.
About 2 kilometers out, the video link breaks up behind a headland and the radio link drops. INAV detects the lost signal, climbs to the set height and flies back along a direct line. Once the link returns, the pilot retakes control and lands manually. The failsafe return saved the aircraft, and the INAV blackbox log later confirms a clean, steady return path.