MAVLink Minimal Set

The MAVLink minimal set contains the minimal set of definitions for a viable MAVLink system.

The message set is defined in minimal.xml and is managed by the MAVLink project.

The minimal set is included (imported into) other xml definition files, including the MAVLink Common Message Set (common.xml).

MAVLink 2 messages have an ID > 255 and are marked up using (MAVLink 2) in their description.

MAVLink 2 extension fields that have been added to MAVLink 1 messages are displayed in blue.

The current MAVLink version is 2.3. The minor version numbers (after the dot) range from 1-255.

MAVLink Type Enumerations

MAV_AUTOPILOT

[Enum] Micro air vehicle / autopilot classes. This identifies the individual model.

ValueField NameDescription
0MAV_AUTOPILOT_GENERICGeneric autopilot, full support for everything
1MAV_AUTOPILOT_RESERVEDReserved for future use.
2MAV_AUTOPILOT_SLUGSSLUGS autopilot, http://slugsuav.soe.ucsc.edu
3MAV_AUTOPILOT_ARDUPILOTMEGAArduPilot - Plane/Copter/Rover/Sub/Tracker, https://ardupilot.org
4MAV_AUTOPILOT_OPENPILOTOpenPilot, http://openpilot.org
5MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLYGeneric autopilot only supporting simple waypoints
6MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLYGeneric autopilot supporting waypoints and other simple navigation commands
7MAV_AUTOPILOT_GENERIC_MISSION_FULLGeneric autopilot supporting the full mission command set
8MAV_AUTOPILOT_INVALIDNo valid autopilot, e.g. a GCS or other MAVLink component
9MAV_AUTOPILOT_PPZPPZ UAV - http://nongnu.org/paparazzi
10MAV_AUTOPILOT_UDBUAV Dev Board
11MAV_AUTOPILOT_FPFlexiPilot
12MAV_AUTOPILOT_PX4PX4 Autopilot - http://px4.io/
13MAV_AUTOPILOT_SMACCMPILOTSMACCMPilot - http://smaccmpilot.org
14MAV_AUTOPILOT_AUTOQUADAutoQuad -- http://autoquad.org
15MAV_AUTOPILOT_ARMAZILAArmazila -- http://armazila.com
16MAV_AUTOPILOT_AEROBAerob -- http://aerob.ru
17MAV_AUTOPILOT_ASLUAVASLUAV autopilot -- http://www.asl.ethz.ch
18MAV_AUTOPILOT_SMARTAPSmartAP Autopilot - http://sky-drones.com
19MAV_AUTOPILOT_AIRRAILSAirRails - http://uaventure.com
20MAV_AUTOPILOT_REFLEXFusion Reflex - https://fusion.engineering

MAV_TYPE

[Enum] MAVLINK component type reported in HEARTBEAT message. Flight controllers must report the type of the vehicle on which they are mounted (e.g. MAV_TYPE_OCTOROTOR). All other components must report a value appropriate for their type (e.g. a camera must use MAV_TYPE_CAMERA).

ValueField NameDescription
0MAV_TYPE_GENERICGeneric micro air vehicle
1MAV_TYPE_FIXED_WINGFixed wing aircraft.
2MAV_TYPE_QUADROTORQuadrotor
3MAV_TYPE_COAXIALCoaxial helicopter
4MAV_TYPE_HELICOPTERNormal helicopter with tail rotor.
5MAV_TYPE_ANTENNA_TRACKERGround installation
6MAV_TYPE_GCSOperator control unit / ground control station
7MAV_TYPE_AIRSHIPAirship, controlled
8MAV_TYPE_FREE_BALLOONFree balloon, uncontrolled
9MAV_TYPE_ROCKETRocket
10MAV_TYPE_GROUND_ROVERGround rover
11MAV_TYPE_SURFACE_BOATSurface vessel, boat, ship
12MAV_TYPE_SUBMARINESubmarine
13MAV_TYPE_HEXAROTORHexarotor
14MAV_TYPE_OCTOROTOROctorotor
15MAV_TYPE_TRICOPTERTricopter
16MAV_TYPE_FLAPPING_WINGFlapping wing
17MAV_TYPE_KITEKite
18MAV_TYPE_ONBOARD_CONTROLLEROnboard companion controller
19MAV_TYPE_VTOL_TAILSITTER_DUOROTORTwo-rotor Tailsitter VTOL that additionally uses control surfaces in vertical operation. Note, value previously named MAV_TYPE_VTOL_DUOROTOR.
20MAV_TYPE_VTOL_TAILSITTER_QUADROTORQuad-rotor Tailsitter VTOL using a V-shaped quad config in vertical operation. Note: value previously named MAV_TYPE_VTOL_QUADROTOR.
21MAV_TYPE_VTOL_TILTROTORTiltrotor VTOL. Fuselage and wings stay (nominally) horizontal in all flight phases. It able to tilt (some) rotors to provide thrust in cruise flight.
22MAV_TYPE_VTOL_FIXEDROTORVTOL with separate fixed rotors for hover and cruise flight. Fuselage and wings stay (nominally) horizontal in all flight phases.
23MAV_TYPE_VTOL_TAILSITTERTailsitter VTOL. Fuselage and wings orientation changes depending on flight phase: vertical for hover, horizontal for cruise. Use more specific VTOL MAV_TYPE_VTOL_DUOROTOR or MAV_TYPE_VTOL_QUADROTOR if appropriate.
24MAV_TYPE_VTOL_RESERVED4VTOL reserved 4
25MAV_TYPE_VTOL_RESERVED5VTOL reserved 5
26MAV_TYPE_GIMBALGimbal
27MAV_TYPE_ADSBADSB system
28MAV_TYPE_PARAFOILSteerable, nonrigid airfoil
29MAV_TYPE_DODECAROTORDodecarotor
30MAV_TYPE_CAMERACamera
31MAV_TYPE_CHARGING_STATIONCharging station
32MAV_TYPE_FLARMFLARM collision avoidance system
33MAV_TYPE_SERVOServo
34MAV_TYPE_ODIDOpen Drone ID. See https://mavlink.io/en/services/opendroneid.html.
35MAV_TYPE_DECAROTORDecarotor
36MAV_TYPE_BATTERYBattery
37MAV_TYPE_PARACHUTEParachute
38MAV_TYPE_LOGLog
39MAV_TYPE_OSDOSD
40MAV_TYPE_IMUIMU
41MAV_TYPE_GPSGPS
42MAV_TYPE_WINCHWinch

MAV_MODE_FLAG

[Enum] These flags encode the MAV mode.

ValueField NameDescription
128MAV_MODE_FLAG_SAFETY_ARMED0b10000000 MAV safety set to armed. Motors are enabled / running / can start. Ready to fly. Additional note: this flag is to be ignore when sent in the command MAV_CMD_DO_SET_MODE and MAV_CMD_COMPONENT_ARM_DISARM shall be used instead. The flag can still be used to report the armed state.
64MAV_MODE_FLAG_MANUAL_INPUT_ENABLED0b01000000 remote control input is enabled.
32MAV_MODE_FLAG_HIL_ENABLED0b00100000 hardware in the loop simulation. All motors / actuators are blocked, but internal software is full operational.
16MAV_MODE_FLAG_STABILIZE_ENABLED0b00010000 system stabilizes electronically its attitude (and optionally position). It needs however further control inputs to move around.
8MAV_MODE_FLAG_GUIDED_ENABLED0b00001000 guided mode enabled, system flies waypoints / mission items.
4MAV_MODE_FLAG_AUTO_ENABLED0b00000100 autonomous mode enabled, system finds its own goal positions. Guided flag can be set or not, depends on the actual implementation.
2MAV_MODE_FLAG_TEST_ENABLED0b00000010 system has a test mode enabled. This flag is intended for temporary system tests and should not be used for stable implementations.
1MAV_MODE_FLAG_CUSTOM_MODE_ENABLED0b00000001 Reserved for future use.

MAV_MODE_FLAG_DECODE_POSITION

[Enum] These values encode the bit positions of the decode position. These values can be used to read the value of a flag bit by combining the base_mode variable with AND with the flag position value. The result will be either 0 or 1, depending on if the flag is set or not.

ValueField NameDescription
128MAV_MODE_FLAG_DECODE_POSITION_SAFETYFirst bit: 10000000
64MAV_MODE_FLAG_DECODE_POSITION_MANUALSecond bit: 01000000
32MAV_MODE_FLAG_DECODE_POSITION_HILThird bit: 00100000
16MAV_MODE_FLAG_DECODE_POSITION_STABILIZEFourth bit: 00010000
8MAV_MODE_FLAG_DECODE_POSITION_GUIDEDFifth bit: 00001000
4MAV_MODE_FLAG_DECODE_POSITION_AUTOSixth bit: 00000100
2MAV_MODE_FLAG_DECODE_POSITION_TESTSeventh bit: 00000010
1MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODEEighth bit: 00000001

MAV_STATE

[Enum]

ValueField NameDescription
0MAV_STATE_UNINITUninitialized system, state is unknown.
1MAV_STATE_BOOTSystem is booting up.
2MAV_STATE_CALIBRATINGSystem is calibrating and not flight-ready.
3MAV_STATE_STANDBYSystem is grounded and on standby. It can be launched any time.
4MAV_STATE_ACTIVESystem is active and might be already airborne. Motors are engaged.
5MAV_STATE_CRITICALSystem is in a non-normal flight mode. It can however still navigate.
6MAV_STATE_EMERGENCYSystem is in a non-normal flight mode. It lost control over parts or over the whole airframe. It is in mayday and going down.
7MAV_STATE_POWEROFFSystem just initialized its power-down sequence, will shut down now.
8MAV_STATE_FLIGHT_TERMINATIONSystem is terminating itself.

MAV_COMPONENT

[Enum] Component ids (values) for the different types and instances of onboard hardware/software that might make up a MAVLink system (autopilot, cameras, servos, GPS systems, avoidance systems etc.). Components must use the appropriate ID in their source address when sending messages. Components can also use IDs to determine if they are the intended recipient of an incoming message. The MAV_COMP_ID_ALL value is used to indicate messages that must be processed by all components. When creating new entries, components that can have multiple instances (e.g. cameras, servos etc.) should be allocated sequential values. An appropriate number of values should be left free after these components to allow the number of instances to be expanded.

ValueField NameDescription
0MAV_COMP_ID_ALLTarget id (target_component) used to broadcast messages to all components of the receiving system. Components should attempt to process messages with this component ID and forward to components on any other interfaces. Note: This is not a valid *source* component id for a message.
1MAV_COMP_ID_AUTOPILOT1System flight controller component ("autopilot"). Only one autopilot is expected in a particular system.
25MAV_COMP_ID_USER1Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
26MAV_COMP_ID_USER2Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
27MAV_COMP_ID_USER3Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
28MAV_COMP_ID_USER4Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
29MAV_COMP_ID_USER5Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
30MAV_COMP_ID_USER6Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
31MAV_COMP_ID_USER7Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
32MAV_COMP_ID_USER8Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
33MAV_COMP_ID_USER9Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
34MAV_COMP_ID_USER10Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
35MAV_COMP_ID_USER11Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
36MAV_COMP_ID_USER12Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
37MAV_COMP_ID_USER13Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
38MAV_COMP_ID_USER14Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
39MAV_COMP_ID_USER15Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
40MAV_COMP_ID_USER16Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
41MAV_COMP_ID_USER17Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
42MAV_COMP_ID_USER18Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
43MAV_COMP_ID_USER19Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
44MAV_COMP_ID_USER20Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
45MAV_COMP_ID_USER21Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
46MAV_COMP_ID_USER22Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
47MAV_COMP_ID_USER23Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
48MAV_COMP_ID_USER24Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
49MAV_COMP_ID_USER25Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
50MAV_COMP_ID_USER26Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
51MAV_COMP_ID_USER27Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
52MAV_COMP_ID_USER28Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
53MAV_COMP_ID_USER29Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
54MAV_COMP_ID_USER30Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
55MAV_COMP_ID_USER31Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
56MAV_COMP_ID_USER32Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
57MAV_COMP_ID_USER33Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
58MAV_COMP_ID_USER34Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
59MAV_COMP_ID_USER35Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
60MAV_COMP_ID_USER36Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
61MAV_COMP_ID_USER37Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
62MAV_COMP_ID_USER38Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
63MAV_COMP_ID_USER39Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
64MAV_COMP_ID_USER40Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
65MAV_COMP_ID_USER41Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
66MAV_COMP_ID_USER42Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
67MAV_COMP_ID_USER43Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
68MAV_COMP_ID_TELEMETRY_RADIOTelemetry radio (e.g. SiK radio, or other component that emits RADIO_STATUS messages).
69MAV_COMP_ID_USER45Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
70MAV_COMP_ID_USER46Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
71MAV_COMP_ID_USER47Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
72MAV_COMP_ID_USER48Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
73MAV_COMP_ID_USER49Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
74MAV_COMP_ID_USER50Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
75MAV_COMP_ID_USER51Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
76MAV_COMP_ID_USER52Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
77MAV_COMP_ID_USER53Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
78MAV_COMP_ID_USER54Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
79MAV_COMP_ID_USER55Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
80MAV_COMP_ID_USER56Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
81MAV_COMP_ID_USER57Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
82MAV_COMP_ID_USER58Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
83MAV_COMP_ID_USER59Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
84MAV_COMP_ID_USER60Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
85MAV_COMP_ID_USER61Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
86MAV_COMP_ID_USER62Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
87MAV_COMP_ID_USER63Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
88MAV_COMP_ID_USER64Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
89MAV_COMP_ID_USER65Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
90MAV_COMP_ID_USER66Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
91MAV_COMP_ID_USER67Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
92MAV_COMP_ID_USER68Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
93MAV_COMP_ID_USER69Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
94MAV_COMP_ID_USER70Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
95MAV_COMP_ID_USER71Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
96MAV_COMP_ID_USER72Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
97MAV_COMP_ID_USER73Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
98MAV_COMP_ID_USER74Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
99MAV_COMP_ID_USER75Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
100MAV_COMP_ID_CAMERACamera #1.
101MAV_COMP_ID_CAMERA2Camera #2.
102MAV_COMP_ID_CAMERA3Camera #3.
103MAV_COMP_ID_CAMERA4Camera #4.
104MAV_COMP_ID_CAMERA5Camera #5.
105MAV_COMP_ID_CAMERA6Camera #6.
140MAV_COMP_ID_SERVO1Servo #1.
141MAV_COMP_ID_SERVO2Servo #2.
142MAV_COMP_ID_SERVO3Servo #3.
143MAV_COMP_ID_SERVO4Servo #4.
144MAV_COMP_ID_SERVO5Servo #5.
145MAV_COMP_ID_SERVO6Servo #6.
146MAV_COMP_ID_SERVO7Servo #7.
147MAV_COMP_ID_SERVO8Servo #8.
148MAV_COMP_ID_SERVO9Servo #9.
149MAV_COMP_ID_SERVO10Servo #10.
150MAV_COMP_ID_SERVO11Servo #11.
151MAV_COMP_ID_SERVO12Servo #12.
152MAV_COMP_ID_SERVO13Servo #13.
153MAV_COMP_ID_SERVO14Servo #14.
154MAV_COMP_ID_GIMBALGimbal #1.
155MAV_COMP_ID_LOGLogging component.
156MAV_COMP_ID_ADSBAutomatic Dependent Surveillance-Broadcast (ADS-B) component.
157MAV_COMP_ID_OSDOn Screen Display (OSD) devices for video links.
158MAV_COMP_ID_PERIPHERALGeneric autopilot peripheral component ID. Meant for devices that do not implement the parameter microservice.
159MAV_COMP_ID_QX1_GIMBAL

DEPRECATED: Replaced by MAV_COMP_ID_GIMBAL (2018-11). All gimbals should use MAV_COMP_ID_GIMBAL.

Gimbal ID for QX1.
160MAV_COMP_ID_FLARMFLARM collision alert component.
161MAV_COMP_ID_PARACHUTEParachute component.
171MAV_COMP_ID_GIMBAL2Gimbal #2.
172MAV_COMP_ID_GIMBAL3Gimbal #3.
173MAV_COMP_ID_GIMBAL4Gimbal #4
174MAV_COMP_ID_GIMBAL5Gimbal #5.
175MAV_COMP_ID_GIMBAL6Gimbal #6.
180MAV_COMP_ID_BATTERYBattery #1.
181MAV_COMP_ID_BATTERY2Battery #2.
189MAV_COMP_ID_MAVCANCAN over MAVLink client.
190MAV_COMP_ID_MISSIONPLANNERComponent that can generate/supply a mission flight plan (e.g. GCS or developer API).
191MAV_COMP_ID_ONBOARD_COMPUTERComponent that lives on the onboard computer (companion computer) and has some generic functionalities, such as settings system parameters and monitoring the status of some processes that don't directly speak mavlink and so on.
192MAV_COMP_ID_ONBOARD_COMPUTER2Component that lives on the onboard computer (companion computer) and has some generic functionalities, such as settings system parameters and monitoring the status of some processes that don't directly speak mavlink and so on.
193MAV_COMP_ID_ONBOARD_COMPUTER3Component that lives on the onboard computer (companion computer) and has some generic functionalities, such as settings system parameters and monitoring the status of some processes that don't directly speak mavlink and so on.
194MAV_COMP_ID_ONBOARD_COMPUTER4Component that lives on the onboard computer (companion computer) and has some generic functionalities, such as settings system parameters and monitoring the status of some processes that don't directly speak mavlink and so on.
195MAV_COMP_ID_PATHPLANNERComponent that finds an optimal path between points based on a certain constraint (e.g. minimum snap, shortest path, cost, etc.).
196MAV_COMP_ID_OBSTACLE_AVOIDANCEComponent that plans a collision free path between two points.
197MAV_COMP_ID_VISUAL_INERTIAL_ODOMETRYComponent that provides position estimates using VIO techniques.
198MAV_COMP_ID_PAIRING_MANAGERComponent that manages pairing of vehicle and GCS.
200MAV_COMP_ID_IMUInertial Measurement Unit (IMU) #1.
201MAV_COMP_ID_IMU_2Inertial Measurement Unit (IMU) #2.
202MAV_COMP_ID_IMU_3Inertial Measurement Unit (IMU) #3.
220MAV_COMP_ID_GPSGPS #1.
221MAV_COMP_ID_GPS2GPS #2.
236MAV_COMP_ID_ODID_TXRX_1Open Drone ID transmitter/receiver (Bluetooth/WiFi/Internet).
237MAV_COMP_ID_ODID_TXRX_2Open Drone ID transmitter/receiver (Bluetooth/WiFi/Internet).
238MAV_COMP_ID_ODID_TXRX_3Open Drone ID transmitter/receiver (Bluetooth/WiFi/Internet).
240MAV_COMP_ID_UDP_BRIDGEComponent to bridge MAVLink to UDP (i.e. from a UART).
241MAV_COMP_ID_UART_BRIDGEComponent to bridge to UART (i.e. from UDP).
242MAV_COMP_ID_TUNNEL_NODEComponent handling TUNNEL messages (e.g. vendor specific GUI of a component).
250MAV_COMP_ID_SYSTEM_CONTROL

DEPRECATED: Replaced by MAV_COMP_ID_ALL (2018-11). System control does not require a separate component ID. Instead, system commands should be sent with target_component=MAV_COMP_ID_ALL allowing the target component to use any appropriate component id.

Deprecated, don't use. Component for handling system messages (e.g. to ARM, takeoff, etc.).

MAVLink Commands (MAV_CMD)

MAVLink commands (MAV_CMD) and messages are different! These commands define the values of up to 7 parameters that are packaged INSIDE specific messages used in the Mission Protocol and Command Protocol. Use commands for actions in missions or if you need acknowledgment and/or retry logic from a request. Otherwise use messages.

MAVLink Messages

HEARTBEAT ( #0 )

[Message] The heartbeat message shows that a system or component is present and responding. The type and autopilot fields (along with the message component id), allow the receiving system to treat further messages from this system appropriately (e.g. by laying out the user interface based on the autopilot). This microservice is documented at https://mavlink.io/en/services/heartbeat.html

Field NameTypeValuesDescription
typeuint8_tMAV_TYPEVehicle or component type. For a flight controller component the vehicle type (quadrotor, helicopter, etc.). For other components the component type (e.g. camera, gimbal, etc.). This should be used in preference to component id for identifying the component type.
autopilotuint8_tMAV_AUTOPILOTAutopilot type / class. Use MAV_AUTOPILOT_INVALID for components that are not flight controllers.
base_modeuint8_tMAV_MODE_FLAGSystem mode bitmap.
custom_modeuint32_tA bitfield for use for autopilot-specific flags
system_statusuint8_tMAV_STATESystem status flag.
mavlink_versionuint8_t_mavlink_versionMAVLink version, not writable by user, gets added by protocol because of magic data type: uint8_t_mavlink_version

PROTOCOL_VERSION ( #300 )

WORK IN PROGRESS: Do not use in stable production environments (it may change).

[Message] (MAVLink 2) Version and capability of protocol version. This message can be requested with MAV_CMD_REQUEST_MESSAGE and is used as part of the handshaking to establish which MAVLink version should be used on the network. Every node should respond to a request for PROTOCOL_VERSION to enable the handshaking. Library implementers should consider adding this into the default decoding state machine to allow the protocol core to respond directly.

Field NameTypeDescription
versionuint16_tCurrently active MAVLink version number * 100: v1.0 is 100, v2.0 is 200, etc.
min_versionuint16_tMinimum MAVLink version supported
max_versionuint16_tMaximum MAVLink version supported (set to the same value as version by default)
spec_version_hashuint8_t[8]The first 8 bytes (not characters printed in hex!) of the git hash.
library_version_hashuint8_t[8]The first 8 bytes (not characters printed in hex!) of the git hash.

results matching ""

    No results matching ""