[][src]Module mavlink::common

Structs

ACTUATOR_CONTROL_TARGET_DATA

id: 140 Set the vehicle attitude and body angular rates..

ACTUATOR_OUTPUT_STATUS_DATA

id: 375 The raw values of the actuator outputs (e.g. on Pixhawk, from MAIN, AUX ports). This message supersedes SERVO_OUTPUT_RAW..

ADSB_VEHICLE_DATA

id: 246 The location and information of an ADSB vehicle.

AIS_VESSEL_DATA

id: 301 The location and information of an AIS vessel.

ALTITUDE_DATA

id: 141 The current system altitude..

ATTITUDE_DATA

id: 30 The attitude in the aeronautical frame (right-handed, Z-down, X-front, Y-right)..

ATTITUDE_QUATERNION_COV_DATA

id: 61 The attitude in the aeronautical frame (right-handed, Z-down, X-front, Y-right), expressed as quaternion. Quaternion order is w, x, y, z and a zero rotation would be expressed as (1 0 0 0)..

ATTITUDE_QUATERNION_DATA

id: 31 The attitude in the aeronautical frame (right-handed, Z-down, X-front, Y-right), expressed as quaternion. Quaternion order is w, x, y, z and a zero rotation would be expressed as (1 0 0 0)..

ATTITUDE_TARGET_DATA

id: 83 Reports the current commanded attitude of the vehicle as specified by the autopilot. This should match the commands sent in a SET_ATTITUDE_TARGET message if the vehicle is being controlled this way..

ATT_POS_MOCAP_DATA

id: 138 Motion capture attitude and position.

AUTH_KEY_DATA

id: 7 Emit an encrypted signature / key identifying this system. PLEASE NOTE: This protocol has been kept simple, so transmitting the key requires an encrypted channel for true safety..

AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_DATA

id: 286 Low level message containing autopilot state relevant for a gimbal device. This message is to be sent from the gimbal manager to the gimbal device component. The data of this message server for the gimbal's estimator corrections in particular horizon compensation, as well as the autopilot's control intention e.g. feed forward angular control in z-axis..

AUTOPILOT_VERSION_DATA

id: 148 Version and capability of autopilot software. This should be emitted in response to a request with MAV_CMD_REQUEST_MESSAGE..

AdsbFlags
AisFlags
BATTERY_STATUS_DATA

id: 147 Battery information. Updates GCS with flight controller battery status. Use SMART_BATTERY_* messages instead for smart batteries..

BUTTON_CHANGE_DATA

id: 257 Report button state change..

CAMERA_CAPTURE_STATUS_DATA

id: 262 Information about the status of a capture. Can be requested with a MAV_CMD_REQUEST_MESSAGE command..

CAMERA_IMAGE_CAPTURED_DATA

id: 263 Information about a captured image. This is emitted every time a message is captured. It may be re-requested using MAV_CMD_REQUEST_MESSAGE, using param2 to indicate the sequence number for the missing image..

CAMERA_INFORMATION_DATA

id: 259 Information about a camera. Can be requested with a MAV_CMD_REQUEST_MESSAGE command..

CAMERA_SETTINGS_DATA

id: 260 Settings of a camera. Can be requested with a MAV_CMD_REQUEST_MESSAGE command..

CAMERA_TRIGGER_DATA

id: 112 Camera-IMU triggering and synchronisation message..

CELLULAR_CONFIG_DATA

id: 336 Configure cellular modems. This message is re-emitted as an acknowledgement by the modem. The message may also be explicitly requested using MAV_CMD_REQUEST_MESSAGE..

CELLULAR_STATUS_DATA

id: 334 Report current used cellular network status.

CHANGE_OPERATOR_CONTROL_ACK_DATA

id: 6 Accept / deny control of this MAV.

CHANGE_OPERATOR_CONTROL_DATA

id: 5 Request to control this MAV.

COLLISION_DATA

id: 247 Information about a potential collision.

COMMAND_ACK_DATA

id: 77 Report status of a command. Includes feedback whether the command was executed. The command microservice is documented at https://mavlink.io/en/services/command.html.

COMMAND_CANCEL_DATA

id: 80 Cancel a long running command. The target system should respond with a COMMAND_ACK to the original command with result=MAV_RESULT_CANCELLED if the long running process was cancelled. If it has already completed, the cancel action can be ignored. The cancel action can be retried until some sort of acknowledgement to the original command has been received. The command microservice is documented at https://mavlink.io/en/services/command.html.

COMMAND_INT_DATA

id: 75 Message encoding a command with parameters as scaled integers. Scaling depends on the actual command value. The command microservice is documented at https://mavlink.io/en/services/command.html.

COMMAND_LONG_DATA

id: 76 Send a command with up to seven parameters to the MAV. The command microservice is documented at https://mavlink.io/en/services/command.html.

COMPONENT_INFORMATION_DATA

id: 395 Information about a component. For camera components instead use CAMERA_INFORMATION, and for autopilots use AUTOPILOT_VERSION. Components including GCSes should consider supporting requests of this message via MAV_CMD_REQUEST_MESSAGE..

CONTROL_SYSTEM_STATE_DATA

id: 146 The smoothed, monotonic system state used to feed the control loops of the system..

CameraCapFlags
DATA_STREAM_DATA

id: 67 Data stream status information..

DATA_TRANSMISSION_HANDSHAKE_DATA

id: 130 Handshake message to initiate, control and stop image streaming when using the Image Transmission Protocol: https://mavlink.io/en/services/image_transmission.html..

DEBUG_DATA

id: 254 Send a debug value. The index is used to discriminate between values. These values show up in the plot of QGroundControl as DEBUG N..

DEBUG_FLOAT_ARRAY_DATA

id: 350 Large debug/prototyping array. The message uses the maximum available payload for data. The array_id and name fields are used to discriminate between messages in code and in user interfaces (respectively). Do not use in production code..

DEBUG_VECT_DATA

id: 250 To debug something using a named 3D vector..

DISTANCE_SENSOR_DATA

id: 132 Distance sensor information for an onboard rangefinder..

ENCAPSULATED_DATA_DATA

id: 131 Data packet for images sent using the Image Transmission Protocol: https://mavlink.io/en/services/image_transmission.html..

ESTIMATOR_STATUS_DATA

id: 230 Estimator status message including flags, innovation test ratios and estimated accuracies. The flags message is an integer bitmask containing information on which EKF outputs are valid. See the ESTIMATOR_STATUS_FLAGS enum definition for further information. The innovation test ratios show the magnitude of the sensor innovation divided by the innovation check threshold. Under normal operation the innovation test ratios should be below 0.5 with occasional values up to 1.0. Values greater than 1.0 should be rare under normal operation and indicate that a measurement has been rejected by the filter. The user should be notified if an innovation test ratio greater than 1.0 is recorded. Notifications for values in the range between 0.5 and 1.0 should be optional and controllable by the user..

EXTENDED_SYS_STATE_DATA

id: 245 Provides state for additional features.

EstimatorStatusFlags
FENCE_STATUS_DATA

id: 162 Status of geo-fencing. Sent in extended status stream when fencing enabled..

FILE_TRANSFER_PROTOCOL_DATA

id: 110 File transfer message.

FLIGHT_INFORMATION_DATA

id: 264 Information about flight since last arming..

FOLLOW_TARGET_DATA

id: 144 Current motion information from a designated system.

GENERATOR_STATUS_DATA

id: 373 Telemetry of power generation system. Alternator or mechanical generator..

GIMBAL_DEVICE_ATTITUDE_STATUS_DATA

id: 285 Message reporting the status of a gimbal device. This message should be broadcasted by a gimbal device component. The angles encoded in the quaternion are in the global frame (roll: positive is tilt to the right, pitch: positive is tilting up, yaw is turn to the right). This message should be broadcast at a low regular rate (e.g. 10Hz)..

GIMBAL_DEVICE_INFORMATION_DATA

id: 283 Information about a low level gimbal. This message should be requested by the gimbal manager or a ground station using MAV_CMD_REQUEST_MESSAGE..

GIMBAL_DEVICE_SET_ATTITUDE_DATA

id: 284 Low level message to control a gimbal device's attitude. This message is to be sent from the gimbal manager to the gimbal device component. Angles and rates can be set to NaN according to use case..

GIMBAL_MANAGER_INFORMATION_DATA

id: 280 Information about a high level gimbal manager. This message should be requested by a ground station using MAV_CMD_REQUEST_MESSAGE..

GIMBAL_MANAGER_SET_ATTITUDE_DATA

id: 282 High level message to control a gimbal's attitude. This message is to be sent to the gimbal manager (e.g. from a ground station). Angles and rates can be set to NaN according to use case..

GIMBAL_MANAGER_SET_TILTPAN_DATA

id: 287 High level message to control a gimbal's tilt and pan angles. This message is to be sent to the gimbal manager (e.g. from a ground station). Angles and rates can be set to NaN according to use case..

GIMBAL_MANAGER_STATUS_DATA

id: 281 Current status about a high level gimbal manager. This message should be broadcast at a low regular rate (e.g. 5Hz)..

GLOBAL_POSITION_INT_COV_DATA

id: 63 The filtered global position (e.g. fused GPS and accelerometers). The position is in GPS-frame (right-handed, Z-up). It is designed as scaled integer message since the resolution of float is not sufficient. NOTE: This message is intended for onboard networks / companion computers and higher-bandwidth links and optimized for accuracy and completeness. Please use the GLOBAL_POSITION_INT message for a minimal subset..

GLOBAL_POSITION_INT_DATA

id: 33 The filtered global position (e.g. fused GPS and accelerometers). The position is in GPS-frame (right-handed, Z-up). It is designed as scaled integer message since the resolution of float is not sufficient..

GLOBAL_VISION_POSITION_ESTIMATE_DATA

id: 101 Global position/attitude estimate from a vision source..

GPS2_RAW_DATA

id: 124 Second GPS data..

GPS2_RTK_DATA

id: 128 RTK GPS data. Gives information on the relative baseline calculation the GPS is reporting.

GPS_GLOBAL_ORIGIN_DATA

id: 49 Publishes the GPS co-ordinates of the vehicle local origin (0,0,0) position. Emitted whenever a new GPS-Local position mapping is requested or set - e.g. following SET_GPS_GLOBAL_ORIGIN message..

GPS_INJECT_DATA_DATA

id: 123 Data for injecting into the onboard GPS (used for DGPS).

GPS_INPUT_DATA

id: 232 GPS sensor input message. This is a raw sensor value sent by the GPS. This is NOT the global position estimate of the system..

GPS_RAW_INT_DATA

id: 24 The global position, as returned by the Global Positioning System (GPS). This is NOT the global position estimate of the system, but rather a RAW sensor value. See message GLOBAL_POSITION for the global position estimate..

GPS_RTCM_DATA_DATA

id: 233 RTCM message for injecting into the onboard GPS (used for DGPS).

GPS_RTK_DATA

id: 127 RTK GPS data. Gives information on the relative baseline calculation the GPS is reporting.

GPS_STATUS_DATA

id: 25 The positioning status, as reported by GPS. This message is intended to display status information about each satellite visible to the receiver. See message GLOBAL_POSITION for the global position estimate. This message can contain information for up to 20 satellites..

GimbalDeviceCapFlags
GimbalDeviceErrorFlags
GimbalManagerCapFlags
GpsInputIgnoreFlags
HEARTBEAT_DATA

id: 0 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.

HIGHRES_IMU_DATA

id: 105 The IMU readings in SI units in NED body frame.

HIGH_LATENCY2_DATA

id: 235 Message appropriate for high latency connections like Iridium (version 2).

HIGH_LATENCY_DATA

id: 234 Message appropriate for high latency connections like Iridium.

HIL_ACTUATOR_CONTROLS_DATA

id: 93 Sent from autopilot to simulation. Hardware in the loop control outputs (replacement for HIL_CONTROLS).

HIL_CONTROLS_DATA

id: 91 Sent from autopilot to simulation. Hardware in the loop control outputs.

HIL_GPS_DATA

id: 113 The global position, as returned by the Global Positioning System (GPS). This is NOT the global position estimate of the sytem, but rather a RAW sensor value. See message GLOBAL_POSITION for the global position estimate..

HIL_OPTICAL_FLOW_DATA

id: 114 Simulated optical flow from a flow sensor (e.g. PX4FLOW or optical mouse sensor).

HIL_RC_INPUTS_RAW_DATA

id: 92 Sent from simulation to autopilot. The RAW values of the RC channels received. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. Individual receivers/transmitters might violate this specification..

HIL_SENSOR_DATA

id: 107 The IMU readings in SI units in NED body frame.

HIL_STATE_DATA

id: 90 Sent from simulation to autopilot. This packet is useful for high throughput applications such as hardware in the loop simulations..

HIL_STATE_QUATERNION_DATA

id: 115 Sent from simulation to autopilot, avoids in contrast to HIL_STATE singularities. This packet is useful for high throughput applications such as hardware in the loop simulations..

HOME_POSITION_DATA

id: 242 This message can be requested by sending the MAV_CMD_GET_HOME_POSITION command. The position the system will return to and land on. The position is set automatically by the system during the takeoff in case it was not explicitly set by the operator before or after. The global and local positions encode the position in the respective coordinate frames, while the q parameter encodes the orientation of the surface. Under normal conditions it describes the heading and terrain slope, which can be used by the aircraft to adjust the approach. The approach 3D vector describes the point to which the system should fly in normal flight mode and then perform a landing sequence along the vector..

HlFailureFlag
ISBD_LINK_STATUS_DATA

id: 335 Status of the Iridium SBD link..

LANDING_TARGET_DATA

id: 149 The location of a landing target. See: https://mavlink.io/en/services/landing_target.html.

LINK_NODE_STATUS_DATA

id: 8 Status generated in each node in the communication chain and injected into MAVLink stream..

LOCAL_POSITION_NED_COV_DATA

id: 64 The filtered local position (e.g. fused computer vision and accelerometers). Coordinate frame is right-handed, Z-axis down (aeronautical frame, NED / north-east-down convention).

LOCAL_POSITION_NED_DATA

id: 32 The filtered local position (e.g. fused computer vision and accelerometers). Coordinate frame is right-handed, Z-axis down (aeronautical frame, NED / north-east-down convention).

LOCAL_POSITION_NED_SYSTEM_GLOBAL_OFFSET_DATA

id: 89 The offset in X, Y, Z and yaw between the LOCAL_POSITION_NED messages of MAV X and the global coordinate frame in NED coordinates. Coordinate frame is right-handed, Z-axis down (aeronautical frame, NED / north-east-down convention).

LOGGING_ACK_DATA

id: 268 An ack for a LOGGING_DATA_ACKED message.

LOGGING_DATA_ACKED_DATA

id: 267 A message containing logged data which requires a LOGGING_ACK to be sent back.

LOGGING_DATA_DATA

id: 266 A message containing logged data (see also MAV_CMD_LOGGING_START).

LOG_DATA_DATA

id: 120 Reply to LOG_REQUEST_DATA.

LOG_ENTRY_DATA

id: 118 Reply to LOG_REQUEST_LIST.

LOG_ERASE_DATA

id: 121 Erase all logs.

LOG_REQUEST_DATA_DATA

id: 119 Request a chunk of a log.

LOG_REQUEST_END_DATA

id: 122 Stop log transfer and resume normal logging.

LOG_REQUEST_LIST_DATA

id: 117 Request a list of available logs. On some systems calling this may stop on-board logging until LOG_REQUEST_END is called. If there are no log files available this request shall be answered with one LOG_ENTRY message with id = 0 and num_logs = 0..

MANUAL_CONTROL_DATA

id: 69 This message provides an API for manually controlling the vehicle using standard joystick axes nomenclature, along with a joystick-like input device. Unused axes can be disabled an buttons are also transmit as boolean values of their .

MANUAL_SETPOINT_DATA

id: 81 Setpoint in roll, pitch, yaw and thrust from the operator.

MEMORY_VECT_DATA

id: 249 Send raw controller memory. The use of this message is discouraged for normal packets, but a quite efficient way for testing new messages and getting experimental debug output..

MESSAGE_INTERVAL_DATA

id: 244 The interval between messages for a particular MAVLink message ID. This message is the response to the MAV_CMD_GET_MESSAGE_INTERVAL command. This interface replaces DATA_STREAM..

MISSION_ACK_DATA

id: 47 Acknowledgment message during waypoint handling. The type field states if this message is a positive ack (type=0) or if an error happened (type=non-zero)..

MISSION_CHANGED_DATA

id: 52 A broadcast message to notify any ground station or SDK if a mission, geofence or safe points have changed on the vehicle..

MISSION_CLEAR_ALL_DATA

id: 45 Delete all mission items at once..

MISSION_COUNT_DATA

id: 44 This message is emitted as response to MISSION_REQUEST_LIST by the MAV and to initiate a write transaction. The GCS can then request the individual mission item based on the knowledge of the total number of waypoints..

MISSION_CURRENT_DATA

id: 42 Message that announces the sequence number of the current active mission item. The MAV will fly towards this mission item..

MISSION_ITEM_DATA

id: 39 Message encoding a mission item. This message is emitted to announce the presence of a mission item and to set a mission item on the system. The mission item can be either in x, y, z meters (type: LOCAL) or x:lat, y:lon, z:altitude. Local frame is Z-down, right handed (NED), global frame is Z-up, right handed (ENU). NaN may be used to indicate an optional/default value (e.g. to use the system's current latitude or yaw rather than a specific value). See also https://mavlink.io/en/services/mission.html..

MISSION_ITEM_INT_DATA

id: 73 Message encoding a mission item. This message is emitted to announce the presence of a mission item and to set a mission item on the system. The mission item can be either in x, y, z meters (type: LOCAL) or x:lat, y:lon, z:altitude. Local frame is Z-down, right handed (NED), global frame is Z-up, right handed (ENU). NaN or INT32_MAX may be used in float/integer params (respectively) to indicate optional/default values (e.g. to use the component's current latitude, yaw rather than a specific value). See also https://mavlink.io/en/services/mission.html..

MISSION_ITEM_REACHED_DATA

id: 46 A certain mission item has been reached. The system will either hold this position (or circle on the orbit) or (if the autocontinue on the WP was set) continue to the next waypoint..

MISSION_REQUEST_DATA

id: 40 Request the information of the mission item with the sequence number seq. The response of the system to this message should be a MISSION_ITEM message. https://mavlink.io/en/services/mission.html.

MISSION_REQUEST_INT_DATA

id: 51 Request the information of the mission item with the sequence number seq. The response of the system to this message should be a MISSION_ITEM_INT message. https://mavlink.io/en/services/mission.html.

MISSION_REQUEST_LIST_DATA

id: 43 Request the overall list of mission items from the system/component..

MISSION_REQUEST_PARTIAL_LIST_DATA

id: 37 Request a partial list of mission items from the system/component. https://mavlink.io/en/services/mission.html. If start and end index are the same, just send one waypoint..

MISSION_SET_CURRENT_DATA

id: 41 Set the mission item with sequence number seq as current item. This means that the MAV will continue to this mission item on the shortest path (not following the mission items in-between)..

MISSION_WRITE_PARTIAL_LIST_DATA

id: 38 This message is sent to the MAV to write a partial list. If start index == end index, only one item will be transmitted / updated. If the start index is NOT 0 and above the current list size, this request should be REJECTED!.

MOUNT_ORIENTATION_DATA

id: 265 Orientation of a mount.

MavGeneratorStatusFlag
MavModeFlag
MavPowerStatus
MavProtocolCapability
MavSmartBatteryFault
MavSysStatusSensor
NAMED_VALUE_FLOAT_DATA

id: 251 Send a key-value pair as float. The use of this message is discouraged for normal packets, but a quite efficient way for testing new messages and getting experimental debug output..

NAMED_VALUE_INT_DATA

id: 252 Send a key-value pair as integer. The use of this message is discouraged for normal packets, but a quite efficient way for testing new messages and getting experimental debug output..

NAV_CONTROLLER_OUTPUT_DATA

id: 62 The state of the fixed wing navigation and position controller..

OBSTACLE_DISTANCE_DATA

id: 330 Obstacle distances in front of the sensor, starting from the left in increment degrees to the right.

ODOMETRY_DATA

id: 331 Odometry message to communicate odometry information with an external interface. Fits ROS REP 147 standard for aerial vehicles (http://www.ros.org/reps/rep-0147.html)..

ONBOARD_COMPUTER_STATUS_DATA

id: 390 Hardware status sent by an onboard computer..

OPEN_DRONE_ID_AUTHENTICATION_DATA

id: 12902 Data for filling the OpenDroneID Authentication message. The Authentication Message defines a field that can provide a means of authenticity for the identity of the UAS (Unmanned Aircraft System). The Authentication message can have two different formats. Five data pages are supported. For data page 0, the fields PageCount, Length and TimeStamp are present and AuthData is only 17 bytes. For data page 1 through 4, PageCount, Length and TimeStamp are not present and the size of AuthData is 23 bytes..

OPEN_DRONE_ID_BASIC_ID_DATA

id: 12900 Data for filling the OpenDroneID Basic ID message. This and the below messages are primarily meant for feeding data to/from an OpenDroneID implementation. E.g. https://github.com/opendroneid/opendroneid-core-c. These messages are compatible with the ASTM Remote ID standard at https://www.astm.org/Standards/F3411.htm and the ASD-STAN Direct Remote ID standard. The usage of these messages is documented at https://mavlink.io/en/services/opendroneid.html..

OPEN_DRONE_ID_LOCATION_DATA

id: 12901 Data for filling the OpenDroneID Location message. The float data types are 32-bit IEEE 754. The Location message provides the location, altitude, direction and speed of the aircraft..

OPEN_DRONE_ID_MESSAGE_PACK_DATA

id: 12915 An OpenDroneID message pack is a container for multiple encoded OpenDroneID messages (i.e. not in the format given for the above messages descriptions but after encoding into the compressed OpenDroneID byte format). Used e.g. when transmitting on Bluetooth 5.0 Long Range/Extended Advertising or on WiFi Neighbor Aware Networking..

OPEN_DRONE_ID_OPERATOR_ID_DATA

id: 12905 Data for filling the OpenDroneID Operator ID message, which contains the CAA (Civil Aviation Authority) issued operator ID..

OPEN_DRONE_ID_SELF_ID_DATA

id: 12903 Data for filling the OpenDroneID Self ID message. The Self ID Message is an opportunity for the operator to (optionally) declare their identity and purpose of the flight. This message can provide additional information that could reduce the threat profile of a UA (Unmanned Aircraft) flying in a particular area or manner..

OPEN_DRONE_ID_SYSTEM_DATA

id: 12904 Data for filling the OpenDroneID System message. The System Message contains general system information including the operator location and possible aircraft group information..

OPTICAL_FLOW_DATA

id: 100 Optical flow from a flow sensor (e.g. optical mouse sensor).

OPTICAL_FLOW_RAD_DATA

id: 106 Optical flow from an angular rate flow sensor (e.g. PX4FLOW or mouse sensor).

ORBIT_EXECUTION_STATUS_DATA

id: 360 Vehicle status report that is sent out while orbit execution is in progress (see MAV_CMD_DO_ORBIT)..

PARAM_EXT_ACK_DATA

id: 324 Response from a PARAM_EXT_SET message..

PARAM_EXT_REQUEST_LIST_DATA

id: 321 Request all parameters of this component. After this request, all parameters are emitted..

PARAM_EXT_REQUEST_READ_DATA

id: 320 Request to read the value of a parameter with the either the param_id string id or param_index..

PARAM_EXT_SET_DATA

id: 323 Set a parameter value. In order to deal with message loss (and retransmission of PARAM_EXT_SET), when setting a parameter value and the new value is the same as the current value, you will immediately get a PARAM_ACK_ACCEPTED response. If the current state is PARAM_ACK_IN_PROGRESS, you will accordingly receive a PARAM_ACK_IN_PROGRESS in response..

PARAM_EXT_VALUE_DATA

id: 322 Emit the value of a parameter. The inclusion of param_count and param_index in the message allows the recipient to keep track of received parameters and allows them to re-request missing parameters after a loss or timeout..

PARAM_MAP_RC_DATA

id: 50 Bind a RC channel to a parameter. The parameter should change according to the RC channel value..

PARAM_REQUEST_LIST_DATA

id: 21 Request all parameters of this component. After this request, all parameters are emitted. The parameter microservice is documented at https://mavlink.io/en/services/parameter.html.

PARAM_REQUEST_READ_DATA

id: 20 Request to read the onboard parameter with the param_id string id. Onboard parameters are stored as key[const char*] -> value[float]. This allows to send a parameter to any other component (such as the GCS) without the need of previous knowledge of possible parameter names. Thus the same GCS can store different parameters for different autopilots. See also https://mavlink.io/en/services/parameter.html for a full documentation of QGroundControl and IMU code..

PARAM_SET_DATA

id: 23 Set a parameter value (write new value to permanent storage). IMPORTANT: The receiving component should acknowledge the new parameter value by sending a PARAM_VALUE message to all communication partners. This will also ensure that multiple GCS all have an up-to-date list of all parameters. If the sending GCS did not receive a PARAM_VALUE message within its timeout time, it should re-send the PARAM_SET message. The parameter microservice is documented at https://mavlink.io/en/services/parameter.html.

PARAM_VALUE_DATA

id: 22 Emit the value of a onboard parameter. The inclusion of param_count and param_index in the message allows the recipient to keep track of received parameters and allows him to re-request missing parameters after a loss or timeout. The parameter microservice is documented at https://mavlink.io/en/services/parameter.html.

PING_DATA

id: 4 A ping message either requesting or responding to a ping. This allows to measure the system latencies, including serial port, radio modem and UDP connections. The ping microservice is documented at https://mavlink.io/en/services/ping.html.

PLAY_TUNE_DATA

id: 258 Control vehicle tone generation (buzzer)..

PLAY_TUNE_V2_DATA

id: 400 Play vehicle tone/tune (buzzer). Supersedes message PLAY_TUNE..

POSITION_TARGET_GLOBAL_INT_DATA

id: 87 Reports the current commanded vehicle position, velocity, and acceleration as specified by the autopilot. This should match the commands sent in SET_POSITION_TARGET_GLOBAL_INT if the vehicle is being controlled this way..

POSITION_TARGET_LOCAL_NED_DATA

id: 85 Reports the current commanded vehicle position, velocity, and acceleration as specified by the autopilot. This should match the commands sent in SET_POSITION_TARGET_LOCAL_NED if the vehicle is being controlled this way..

POWER_STATUS_DATA

id: 125 Power supply status.

PROTOCOL_VERSION_DATA

id: 300 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..

PositionTargetTypemask
RADIO_STATUS_DATA

id: 109 Status generated by radio and injected into MAVLink stream..

RAW_IMU_DATA

id: 27 The RAW IMU readings for a 9DOF sensor, which is identified by the id (default IMU1). This message should always contain the true raw values without any scaling to allow data capture and system debugging..

RAW_PRESSURE_DATA

id: 28 The RAW pressure readings for the typical setup of one absolute pressure and one differential pressure sensor. The sensor values should be the raw, UNSCALED ADC values..

RAW_RPM_DATA

id: 339 RPM sensor data message..

RC_CHANNELS_DATA

id: 65 The PPM values of the RC channels received. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. A value of UINT16_MAX implies the channel is unused. Individual receivers/transmitters might violate this specification..

RC_CHANNELS_OVERRIDE_DATA

id: 70 The RAW values of the RC channels sent to the MAV to override info received from the RC radio. A value of UINT16_MAX means no change to that channel. A value of 0 means control of that channel should be released back to the RC radio. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. Individual receivers/transmitters might violate this specification..

RC_CHANNELS_RAW_DATA

id: 35 The RAW values of the RC channels received. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. A value of UINT16_MAX implies the channel is unused. Individual receivers/transmitters might violate this specification..

RC_CHANNELS_SCALED_DATA

id: 34 The scaled values of the RC channels received: (-100%) -10000, (0%) 0, (100%) 10000. Channels that are inactive should be set to UINT16_MAX..

REQUEST_DATA_STREAM_DATA

id: 66 Request a data stream..

RESOURCE_REQUEST_DATA

id: 142 The autopilot is requesting a resource (file, binary, other type of data).

SAFETY_ALLOWED_AREA_DATA

id: 55 Read out the safety zone the MAV currently assumes..

SAFETY_SET_ALLOWED_AREA_DATA

id: 54 Set a safety zone (volume), which is defined by two corners of a cube. This message can be used to tell the MAV which setpoints/waypoints to accept and which to reject. Safety areas are often enforced by national or competition regulations..

SCALED_IMU2_DATA

id: 116 The RAW IMU readings for secondary 9DOF sensor setup. This message should contain the scaled values to the described units.

SCALED_IMU3_DATA

id: 129 The RAW IMU readings for 3rd 9DOF sensor setup. This message should contain the scaled values to the described units.

SCALED_IMU_DATA

id: 26 The RAW IMU readings for the usual 9DOF sensor setup. This message should contain the scaled values to the described units.

SCALED_PRESSURE2_DATA

id: 137 Barometer readings for 2nd barometer.

SCALED_PRESSURE3_DATA

id: 143 Barometer readings for 3rd barometer.

SCALED_PRESSURE_DATA

id: 29 The pressure readings for the typical setup of one absolute and differential pressure sensor. The units are as specified in each field..

SERIAL_CONTROL_DATA

id: 126 Control a serial port. This can be used for raw access to an onboard serial peripheral such as a GPS or telemetry radio. It is designed to make it possible to update the devices firmware via MAVLink messages or change the devices settings. A message with zero bytes can be used to change just the baudrate..

SERVO_OUTPUT_RAW_DATA

id: 36 Superseded by ACTUATOR_OUTPUT_STATUS. The RAW values of the servo outputs (for RC input from the remote, use the RC_CHANNELS messages). The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%..

SETUP_SIGNING_DATA

id: 256 Setup a MAVLink2 signing key. If called with secret_key of all zero and zero initial_timestamp will disable signing.

SET_ACTUATOR_CONTROL_TARGET_DATA

id: 139 Set the vehicle attitude and body angular rates..

SET_ATTITUDE_TARGET_DATA

id: 82 Sets a desired vehicle attitude. Used by an external controller to command the vehicle (manual controller or other system)..

SET_GPS_GLOBAL_ORIGIN_DATA

id: 48 Sets the GPS co-ordinates of the vehicle local origin (0,0,0) position. Vehicle should emit GPS_GLOBAL_ORIGIN irrespective of whether the origin is changed. This enables transform between the local coordinate frame and the global (GPS) coordinate frame, which may be necessary when (for example) indoor and outdoor settings are connected and the MAV should move from in- to outdoor..

SET_HOME_POSITION_DATA

id: 243 The position the system will return to and land on. The position is set automatically by the system during the takeoff in case it was not explicitly set by the operator before or after. The global and local positions encode the position in the respective coordinate frames, while the q parameter encodes the orientation of the surface. Under normal conditions it describes the heading and terrain slope, which can be used by the aircraft to adjust the approach. The approach 3D vector describes the point to which the system should fly in normal flight mode and then perform a landing sequence along the vector..

SET_MODE_DATA

id: 11 Set the system mode, as defined by enum MAV_MODE. There is no target component id as the mode is by definition for the overall aircraft, not only for one component..

SET_POSITION_TARGET_GLOBAL_INT_DATA

id: 86 Sets a desired vehicle position, velocity, and/or acceleration in a global coordinate system (WGS84). Used by an external controller to command the vehicle (manual controller or other system)..

SET_POSITION_TARGET_LOCAL_NED_DATA

id: 84 Sets a desired vehicle position in a local north-east-down coordinate frame. Used by an external controller to command the vehicle (manual controller or other system)..

SIM_STATE_DATA

id: 108 Status of simulation environment, if used.

SMART_BATTERY_INFO_DATA

id: 370 Smart Battery information (static/infrequent update). Use for updates from: smart battery to flight stack, flight stack to GCS. Use instead of BATTERY_STATUS for smart batteries..

SMART_BATTERY_STATUS_DATA

id: 371 Smart Battery information (dynamic). Use for updates from: smart battery to flight stack, flight stack to GCS. Use instead of BATTERY_STATUS for smart batteries..

STATUSTEXT_DATA

id: 253 Status text message. These messages are printed in yellow in the COMM console of QGroundControl. WARNING: They consume quite some bandwidth, so use only for important status and error messages. If implemented wisely, these messages are buffered on the MCU and sent only at a limited rate (e.g. 10 Hz)..

STORAGE_INFORMATION_DATA

id: 261 Information about a storage medium. This message is sent in response to a request with MAV_CMD_REQUEST_MESSAGE and whenever the status of the storage changes (STORAGE_STATUS). Use MAV_CMD_REQUEST_MESSAGE.param2 to indicate the index/id of requested storage: 0 for all, 1 for first, 2 for second, etc..

SUPPORTED_TUNES_DATA

id: 401 Tune formats supported by vehicle. This should be emitted as response to MAV_CMD_REQUEST_MESSAGE..

SYSTEM_TIME_DATA

id: 2 The system time is the time of the master clock, typically the computer clock of the main onboard computer..

SYS_STATUS_DATA

id: 1 The general system state. If the system is following the MAVLink standard, the system state is mainly defined by three orthogonal states/modes: The system mode, which is either LOCKED (motors shut down and locked), MANUAL (system under RC control), GUIDED (system with autonomous position control, position setpoint controlled manually) or AUTO (system guided by path/waypoint planner). The NAV_MODE defined the current flight state: LIFTOFF (often an open-loop maneuver), LANDING, WAYPOINTS or VECTOR. This represents the internal navigation state machine. The system status shows whether the system is currently active or not and if an emergency occurred. During the CRITICAL and EMERGENCY states the MAV is still considered to be active, but should start emergency procedures autonomously. After a failure occurred it should first move from active to critical to allow manual intervention and then move to emergency after a certain timeout..

SerialControlFlag
TERRAIN_CHECK_DATA

id: 135 Request that the vehicle report terrain height at the given location. Used by GCS to check if vehicle has all terrain data needed for a mission..

TERRAIN_DATA_DATA

id: 134 Terrain data sent from GCS. The lat/lon and grid_spacing must be the same as a lat/lon from a TERRAIN_REQUEST.

TERRAIN_REPORT_DATA

id: 136 Response from a TERRAIN_CHECK request.

TERRAIN_REQUEST_DATA

id: 133 Request for terrain data and terrain status.

TIMESYNC_DATA

id: 111 Time synchronization message..

TIME_ESTIMATE_TO_TARGET_DATA

id: 380 Time/duration estimates for various events and actions given the current vehicle state and position..

TRAJECTORY_REPRESENTATION_BEZIER_DATA

id: 333 Describe a trajectory using an array of up-to 5 bezier control points in the local frame (MAV_FRAME_LOCAL_NED)..

TRAJECTORY_REPRESENTATION_WAYPOINTS_DATA

id: 332 Describe a trajectory using an array of up-to 5 waypoints in the local frame (MAV_FRAME_LOCAL_NED)..

TUNNEL_DATA

id: 385 Message for transporting "arbitrary" variable-length data from one component to another (broadcast is not forbidden, but discouraged). The encoding of the data is usually extension specific, i.e. determined by the source, and is usually not documented as part of the MAVLink specification..

TuneFormat
UAVCAN_NODE_INFO_DATA

id: 311 General information describing a particular UAVCAN node. Please refer to the definition of the UAVCAN service "uavcan.protocol.GetNodeInfo" for the background information. This message should be emitted by the system whenever a new node appears online, or an existing node reboots. Additionally, it can be emitted upon request from the other end of the MAVLink channel (see MAV_CMD_UAVCAN_GET_NODE_INFO). It is also not prohibited to emit this message unconditionally at a low frequency. The UAVCAN specification is available at http://uavcan.org..

UAVCAN_NODE_STATUS_DATA

id: 310 General status information of an UAVCAN node. Please refer to the definition of the UAVCAN message "uavcan.protocol.NodeStatus" for the background information. The UAVCAN specification is available at http://uavcan.org..

UTM_GLOBAL_POSITION_DATA

id: 340 The global position resulting from GPS and sensor fusion..

UtmDataAvailFlags
V2_EXTENSION_DATA

id: 248 Message implementing parts of the V2 payload specs in V1 frames for transitional support..

VFR_HUD_DATA

id: 74 Metrics typically displayed on a HUD for fixed wing aircraft..

VIBRATION_DATA

id: 241 Vibration levels and accelerometer clipping.

VICON_POSITION_ESTIMATE_DATA

id: 104 Global position estimate from a Vicon motion system source..

VIDEO_STREAM_INFORMATION_DATA

id: 269 Information about video stream. It may be requested using MAV_CMD_REQUEST_MESSAGE, where param2 indicates the video stream id: 0 for all streams, 1 for first, 2 for second, etc..

VIDEO_STREAM_STATUS_DATA

id: 270 Information about the status of a video stream. It may be requested using MAV_CMD_REQUEST_MESSAGE..

VISION_POSITION_ESTIMATE_DATA

id: 102 Local position/attitude estimate from a vision source..

VISION_SPEED_ESTIMATE_DATA

id: 103 Speed estimate from a vision source..

WHEEL_DISTANCE_DATA

id: 9000 Cumulative distance traveled for each reported wheel..

WIFI_CONFIG_AP_DATA

id: 299 Configure WiFi AP SSID, password, and mode. This message is re-emitted as an acknowledgement by the AP. The message may also be explicitly requested using MAV_CMD_REQUEST_MESSAGE.

WIND_COV_DATA

id: 231 Wind covariance estimate from vehicle..

Enums

AdsbAltitudeType
AdsbEmitterType
AisNavStatus
AisType
CameraMode
CameraZoomType
CellularConfigResponse
CellularNetworkFailedReason
CellularNetworkRadioType
CellularStatusFlag
CompMetadataType
ComponentCapFlags
FailureType
FailureUnit
FenceAction
FenceBreach
FenceMitigate
FirmwareVersionType
GimbalDeviceFlags
GimbalManagerFlags
GpsFixType
LandingTargetType
MavArmAuthDeniedReason
MavAutopilot
MavBatteryChargeState
MavBatteryFunction
MavBatteryType
MavCmd
MavCmdAck
MavCollisionAction
MavCollisionSrc
MavCollisionThreatLevel
MavComponent
MavDataStream
MavDistanceSensor
MavDoRepositionFlags
MavEstimatorType
MavFrame
MavGoto
MavLandedState
MavMessage
MavMissionResult
MavMissionType
MavMode
MavModeFlagDecodePosition
MavMountMode
MavOdidAuthType
MavOdidCategoryEu
MavOdidClassEu
MavOdidClassificationType
MavOdidDescType
MavOdidHeightRef
MavOdidHorAcc
MavOdidIdType
MavOdidOperatorIdType
MavOdidOperatorLocationType
MavOdidSpeedAcc
MavOdidStatus
MavOdidTimeAcc
MavOdidUaType
MavOdidVerAcc
MavParamExtType
MavParamType
MavResult
MavRoi
MavSensorOrientation
MavSeverity
MavState
MavTunnelPayloadType
MavType
MavVtolState
MavlinkDataStreamType
MotorTestOrder
MotorTestThrottleType
OrbitYawBehaviour
ParachuteAction
ParamAck
PrecisionLandMode
RcType
RtkBaselineCoordinateSystem
SerialControlDev
SetFocusType
StorageStatus
UavcanNodeHealth
UavcanNodeMode
UtmFlightState
VideoStreamStatusFlags
VideoStreamType
VtolTransitionHeading
WifiConfigApMode
WifiConfigApResponse