MAVLINK Message Set: minimal.xml

This is a human-readable form of the XML definition file: minimal.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.2. The minor version numbers (after the dot) range from 1-255.

MAV_AUTOPILOT

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

ValueField NameDescription
0MAV_AUTOPILOT_GENERICGeneric autopilot, full support for everything
1MAV_AUTOPILOT_PIXHAWKPIXHAWK autopilot, http://pixhawk.ethz.ch
2MAV_AUTOPILOT_SLUGSSLUGS autopilot, http://slugsuav.soe.ucsc.edu
3MAV_AUTOPILOT_ARDUPILOTMEGAArduPilotMega / ArduCopter, http://diydrones.com
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

MAV_TYPE

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_TRICOPTEROctorotor
16MAV_TYPE_FLAPPING_WINGFlapping wing

MAV_MODE_FLAG

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

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_AUTOSixt bit: 00000100
2MAV_MODE_FLAG_DECODE_POSITION_TESTSeventh bit: 00000010
1MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODEEighth bit: 00000001

MAV_STATE

ValueField NameDescription
0MAV_STATE_UNINITUninitialized system, state is unknown.
MAV_STATE_BOOTSystem is booting up.
MAV_STATE_CALIBRATINGSystem is calibrating and not flight-ready.
MAV_STATE_STANDBYSystem is grounded and on standby. It can be launched any time.
MAV_STATE_ACTIVESystem is active and might be already airborne. Motors are engaged.
MAV_STATE_CRITICALSystem is in a non-normal flight mode. It can however still navigate.
MAV_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.
MAV_STATE_POWEROFFSystem just initialized its power-down sequence, will shut down now.

HEARTBEAT ( #0 )

The heartbeat message shows that a system is present and responding. The type of the MAV and Autopilot hardware allow the receiving system to treat further messages from this system appropriate (e.g. by laying out the user interface based on the autopilot).

Field NameTypeValuesDescription
typeuint8_tMAV_TYPEType of the MAV (quadrotor, helicopter, etc., up to 15 types, defined in MAV_TYPE ENUM)
autopilotuint8_tMAV_AUTOPILOTAutopilot type / class. defined in MAV_AUTOPILOT ENUM
base_modeuint8_tSystem mode bitfield, see MAV_MODE_FLAGS ENUM in mavlink/include/mavlink_types.h
custom_modeuint32_tA bitfield for use for autopilot-specific flags.
system_statusuint8_tMAV_STATESystem status flag, see MAV_STATE ENUM
mavlink_versionuint8_t_mavlink_versionMAVLink version

results matching ""

    No results matching ""