-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Mavlink
INAV has a partial implementation of MAVLink that is intended primarily for simple telemetry and operation. It supports RC, missions, telemetry and some features such as Guided mode; but it is very different from a compliant MAVLink spec vehicle such as Pixhawk or Ardupilot and important differences exist, as such it is not 100% compatible and cannot be expected to work the same way. The standard MAVLink header library is used in compilation.
- No MAVLink parameter API: INAV sends a single stub parameter and otherwise ignores parameter traffic. Configure the aircraft through the INAV Configurator or CLI instead.
- Limited command support: Commands that are not implemented are ignored.
-
Mission handling: uploads are rejected while armed; mission items must use
MAV_FRAME_GLOBAL(RTH items useMAV_FRAME_MISSION). -
Mode reporting:
custom_modeapproximates ArduPilot modes and may not match all INAV states. -
Flow control expectations: INAV honours
RADIO_STATUS.txbufto avoid overrunning radios; without it, packets are simply paced at 20 ms intervals. - Half‑duplex etiquette: when half‑duplex is enabled, INAV waits one telemetry tick after any received frame before transmitting to reduce collisions.
-
mavlink_sysid– system ID used in every outbound packet (default 1), the system will only respond/act on packets addresses to their sysid. -
mavlink_autopilot_type– heartbeat autopilot ID (GENERICorARDUPILOT). -
mavlink_version– force MAVLink v1 when set to 1. - Stream rates (Hz):
mavlink_ext_status_rate,mavlink_rc_chan_rate,mavlink_pos_rate,mavlink_extra1_rate,mavlink_extra2_rate,mavlink_extra3_rate. Each group is polled up to 50 Hz; a rate of 0 disables the group. -
mavlink_min_txbuffer– minimum remote TX buffer level before sending whenRADIO_STATUSprovides flow control. -
mavlink_radio_type– scalesRADIO_STATUSRSSI/SNR for generic, ELRS, or SiK links.
Messages are organized into MAVLink datastream groups. Each group sends one message per trigger at the configured rate:
-
SYS_STATUS: Advertises detected sensors (gyro/accel/compass, baro, pitot, GPS, optical flow, rangefinder, RC, blackbox) and whether they are healthy. Includes main loop load, battery voltage/current/percentage, and logging capability. -
RC_CHANNELS_RAW: for v1,RC_CHANNELS_SCALED: for v2, Up to 18 input channels plus RSSI mapped to MAVLink units. -
GPS_RAW_INT: for GNSS fix quality, HDOP/VDOP, velocity, and satellite count when a fix (or estimated fix) exists. -
GLOBAL_POSITION_INT: couples GPS position with INAV's altitude and velocity estimates. -
GPS_GLOBAL_ORIGIN: broadcasts the current home position. -
ATTITUDE: Roll, pitch, yaw, and angular rates. -
VFR_HUD: with airspeed (if a healthy pitot is available), ground speed, throttle, altitude, and climb rate. -
HEARTBEAT: encodes arming state and maps INAV flight modes onto ArduPilot-stylecustom_mode: values (see mappings below). -
BATTERY_STATUS: with per-cell voltages (cells 11‑14 involtages_ext), current draw, consumed mAh/Wh, and remaining percentage when available. -
SCALED_PRESSURE: for IMU/baro temperature. -
STATUSTEXT: when the OSD has a pending system message; severity follows OSD attributes (notice/warning/critical).
-
HEARTBEAT: used to detect ADS‑B participants whentypeisMAV_TYPE_ADSB. -
MISSION_COUNT: starts an upload transaction (capped atNAV_MAX_WAYPOINTS). -
MISSION_ITEM: stores waypoints; rejects uploads while armed or with unsupported frames/sequence errors. -
MISSION_REQUEST_LIST/MISSION_REQUEST: download active mission items; returnsMISSION_ACKon bad sequence. -
MISSION_CLEAR_ALL: clears stored mission. -
COMMAND_INTwithMAV_CMD_DO_REPOSITIONin -
RC_CHANNELS_OVERRIDEpasses channel values to the MAVLink serial receiver backend. -
RADIO_STATUSupdates remote TX buffer level and scales RSSI/SNR according tomavlink_radio_type(also feeds link stats for MAVLink RX receivers). -
ADSB_VEHICLEpopulates the internal traffic list when ADS‑B is enabled. -
PARAM_REQUEST_LISTelicits a stubPARAM_VALUEresponse so ground stations stop requesting parameters (INAV does not expose parameters over MAVLink).
Limited implementation of the Command protocol.
-
COMMAND_INT:
-
MAV_CMD_DO_REPOSITION: sets the Follow Me/GCS Nav waypoint when in GCS NAV mode, supports onlyMAV_FRAME_GLOBAL, otherwise returnsDENIEDorUNSUPPORTED.
-
INAV encodes custom_mode to translate INAV modes to ArduPilot copter or plane modes. Modes without a clear equivalent are omitted (ENUM_END).
-
Multirotor profiles
- ACRO / ACRO AIR → ACRO
- ANGLE / HORIZON / ANGLE HOLD → STABILIZE
- ALT HOLD → ALT_HOLD
- POS HOLD → LOITER
- POS HOLD + GCS NAV → GUIDED
- RTH → RTL
- MISSION → AUTO
- LAUNCH → THROW
- FAILSAFE → RTL, LAND, or no mapping depending on failsafe phase
-
Fixed-wing profiles
- MANUAL → MANUAL
- ACRO / ACRO AIR → ACRO
- ANGLE → FBWA
- HORIZON / ANGLE HOLD → STABILIZE
- ALT HOLD → FBWB
- RTH → RTL
- MISSION → AUTO
- CRUISE → CRUISE
- LAUNCH → TAKEOFF
- FAILSAFE → RTL, AUTO, or no mapping depending on failsafe phase
Default rates (Hz) are shown; adjust with the CLI keys above.
| Datastream group | Messages | Default rate |
|---|---|---|
EXTENDED_STATUS |
SYS_STATUS |
2 Hz |
RC_CHANNELS |
RC_CHANNELS_RAW (v1) / RC_CHANNELS_SCALED (v2) |
1 Hz |
POSITION |
GPS_RAW_INT, GLOBAL_POSITION_INT, GPS_GLOBAL_ORIGIN
|
2 Hz |
EXTRA1 |
ATTITUDE |
3 Hz |
EXTRA2 |
VFR_HUD, HEARTBEAT
|
2 Hz |
EXTRA3 |
BATTERY_STATUS, SCALED_PRESSURE, STATUSTEXT (when present) |
1 Hz |
- Set
mavlink_radio_typeto ELRS or SiK if you use those links to get accurate link quality scaling inRADIO_STATUS. - If you rely on RC override via MAVLink, ensure the serial receiver type is set to
SERIALRX_MAVLINKand consider enablingtelemetry_halfduplexwhen RX shares the port. - To reduce bandwidth, lower the stream rates for groups you do not need, or disable them entirely by setting the rate to 0.
INAV Version Release Notes
8.0.0 Release Notes
7.1.0 Release Notes
7.0.0 Release Notes
6.0.0 Release Notes
5.1 Release notes
5.0.0 Release Notes
4.1.0 Release Notes
4.0.0 Release Notes
3.0.0 Release Notes
2.6.0 Release Notes
2.5.1 Release notes
2.5.0 Release Notes
2.4.0 Release Notes
2.3.0 Release Notes
2.2.1 Release Notes
2.2.0 Release Notes
2.1.0 Release Notes
2.0.0 Release Notes
1.9.1 Release notes
1.9.0 Release notes
1.8.0 Release notes
1.7.3 Release notes
Older Release Notes
QUICK START GUIDES
Getting started with iNav
Fixed Wing Guide
Howto: CC3D flight controller, minimOSD , telemetry and GPS for fixed wing
Howto: CC3D flight controller, minimOSD, GPS and LTM telemetry for fixed wing
INAV for BetaFlight users
launch mode
Multirotor guide
YouTube video guides
DevDocs Getting Started.md
DevDocs INAV_Fixed_Wing_Setup_Guide.pdf
DevDocs Safety.md
Connecting to INAV
Bluetooth setup to configure your flight controller
DevDocs Wireless Connections (BLE, TCP and UDP).md\
Flashing and Upgrading
Boards, Targets and PWM allocations
Upgrading from an older version of INAV to the current version
DevDocs Installation.md
DevDocs USB Flashing.md
Setup Tab
Live 3D Graphic & Pre-Arming Checks
Calibration Tab
Accelerometer, Compass, & Optic Flow Calibration
Alignment Tool Tab
Adjust mount angle of FC & Compass
Ports Tab
Map Devices to UART Serial Ports
Receiver Tab
Set protocol and channel mapping
Mixer Tab
Set aircraft type and how its controlled
Outputs Tab
Set ESC Protocol and Servo Parameters
Modes Tab
Assign flight modes to transmitter switches
Standard Modes
Navigation Modes
Return to Home
Fixed Wing Autolaunch
Auto Launch
Configuration Tab
No wiki page currently
Failsafe Tab
Set expected behavior of aircraft upon failsafe
PID Tuning
Navigation PID tuning (FW)
Navigation PID tuning (MC)
EZ-Tune
PID Attenuation and scaling
Tune INAV PID-FF controller for fixedwing
DevDocs Autotune - fixedwing.md
DevDocs INAV PID Controller.md
DevDocs INAV_Wing_Tuning_Masterclass.pdf
DevDocs PID tuning.md
DevDocs Profiles.md
OSD and VTx
DevDocs Betaflight 4.3 compatible OSD.md
OSD custom messages
OSD Hud and ESP32 radars
DevDocs OSD.md
DevDocs VTx.md
LED Strip
DevDocs LedStrip.md
Programming
DevDocs Programming Framework.md
Adjustments
DevDocs Inflight Adjustments.md
Mission Control
iNavFlight Missions
DevDocs Safehomes.md
MultiWii Serial Protocol
MSP V2
MSP Messages reference guide
MSP Navigation Messages
INAV MSP frames changelog
Telemetry
INAV Remote Management, Control and Telemetry
MAVlink Control and Telemetry
Lightweight Telemetry (LTM)
Tethered Logging
Log when FC is connected via USB
Blackbox
DevDocs Blackbox.md
INAV blackbox variables
DevDocs USB_Mass_Storage_(MSC)_mode.md
CLI
iNav CLI variables
DevDocs Cli.md
DevDocs Settings.md
VTOL
DevDocs MixerProfile.md
DevDocs VTOL.md
TROUBLESHOOTING
"Something" is disabled Reasons
Blinkenlights
Sensor auto detect and hardware failure detection
Pixel OSD FAQs
TROUBLESHOOTING
Why do I have limited servo throw in my airplane
ADTL TOPICS, FEATURES, DEV INFO
AAT Automatic Antenna Tracker
Building custom firmware
Default values for different type of aircrafts
Source Enums
Features safe to add and remove to fit your needs.
Developer info
Making a new Virtualbox to make your own INAV[OrangeRX LRS RX and OMNIBUS F4](OrangeRX-LRS-RX-and-OMNIBUS-F4)
Rate Dynamics
Target and Sensor support
Ublox 3.01 firmware and Galileo
DevDocs Controls
DevDocs 1wire.md
DevDocs ADSB.md
DevDocs Battery.md
DevDocs Buzzer.md
DevDocs Channel forwarding.md
DevDocs Display.md
DevDocs Fixed Wing Landing.md
DevDocs GPS_fix_estimation.md
DevDocs LED pin PWM.md
DevDocs Lights.md
DevDocs OSD Joystick.md
DevDocs Servo Gimbal.md
DevDocs Temperature sensors.md
OLD LEGACY INFO
Supported boards
DevDocs Boards.md
Legacy Mixers
Legacy target ChebuzzF3
Legacy target Colibri RACE
Legacy target Motolab
Legacy target Omnibus F3
Legacy target Paris Air Hero 32
Legacy target Paris Air Hero 32 F3
Legacy target Sparky
Legacy target SPRacingF3
Legacy target SPRacingF3EVO
Legacy target SPRacingF3EVO_1SS
DevDocs Configuration.md
Request form new PRESET
DevDocs Introduction.md
Welcome to INAV, useful links and products
UAV Interconnect Bus
DevDocs Rangefinder.md
DevDocs Rssi.md
DevDocs Runcam device.md
DevDocs Serial.md
DevDocs Telemetry.md
DevDocs Rx.md
DevDocs Spektrum bind.md
DevDocs INAV_Autolaunch.pdf