INAV

On this page 7

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.

SensorMain contributionRequired for
Gyroscope and accelerometerAttitude and short-term motionAll flight modes
GNSS receiverPosition, ground speed, home pointPosition hold, RTH, waypoints
BarometerRelative altitudeAltitude hold on most builds
MagnetometerHeading at low speedMultirotor navigation modes
Pitot tubeTrue airspeedOptional on fixed-wing aircraft
Rangefinder or optical flowHeight and drift near groundOptional precision hold
Sensors used by INAV for navigation

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.

ModeWhat it doesTypical use
NAV ALTHOLDHolds altitude; pilot steersSmooth video, beginner flights
NAV POSHOLDHolds position and altitudeHovering for observation
NAV RTHFlies back to the home point and landsSignal loss, low battery
NAV WPFlies a stored waypoint missionMapping and long-range routes
NAV CRUISEHolds heading and altitudeFixed-wing long-range cruising
NAV LAUNCHAutomates a hand or bungee launchFixed-wing take-off
Common INAV navigation modes

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

FirmwarePrimary focusNavigation depthTypical hardware
INAVGPS navigation, fixed wingRTH, position hold, missionsSTM32 F4, F7, H7 boards
BetaflightAcro, racing, freestyleBasic GPS rescue onlySTM32 F4, F7, H7 boards
ArduPilotFull autopilot, many vehiclesExtensive, mission-gradeLarger F7 and H7 boards
PX4Professional autopilot stackExtensive, research-gradePixhawk-class hardware
INAV compared with other common firmware

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.

  1. Flash the target that matches the flight controller and select the correct platform type and mixer.
  2. Calibrate the accelerometer in all six orientations and the magnetometer away from metal objects.
  3. Mount the GNSS and compass module away from power wiring and video transmitters.
  4. Verify sensor alignment and stick directions in the configurator before any flight.
  5. 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.

SymptomLikely causeRemedy
Toilet-bowl circling in holdCompass interference or misalignmentRelocate and recalibrate magnetometer
Altitude drifts in holdBarometer exposed to prop washCover the barometer with open-cell foam
RTH flies the wrong wayWrong GNSS or compass orientationCorrect alignment in the configurator
Will not armNo GNSS fix or uncalibrated sensorsWait for a fix; repeat calibration
Typical INAV problems and remedies

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.