diff --git a/.bookignore b/.bookignore new file mode 100644 index 00000000..73eab609 --- /dev/null +++ b/.bookignore @@ -0,0 +1,3 @@ +# Source html files (imported by the md files for XML messages) +*_html + diff --git a/en/messages/ASLUAV.md b/en/messages/ASLUAV.md index 19fe7041..7dd87b4b 100644 --- a/en/messages/ASLUAV.md +++ b/en/messages/ASLUAV.md @@ -15,1501 +15,5 @@ td { } - -
-- MAVLink Include Files: - common.xml -
--
-| Value | -Field Name | -Description | -
|---|---|---|
| 40001 | -- MAV_CMD_RESET_MPPT - | -Mission command to reset Maximum Power Point Tracker (MPPT) | -
| - | -||
| - | -Mission Param #1 | -MPPT number | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 40002 | -- MAV_CMD_PAYLOAD_CONTROL - | -Mission command to perform a power cycle on payload | -
| - | -||
| - | -Mission Param #1 | -Complete power cycle | -
| - | -Mission Param #2 | -VISensor power cycle | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
Message encoding a command with parameters as scaled integers and additional metadata. Scaling depends on the actual command value.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| utc_time | -uint32_t | -- - - | -UTC time, seconds elapsed since 01.01.1970 | -
| vehicle_timestamp | -uint64_t | -- - - | -Microseconds elapsed since vehicle boot | -
| target_system | -uint8_t | -- - - | -System ID | -
| target_component | -uint8_t | -- - - | -Component ID | -
| frame | -uint8_t | -- MAV_FRAME - | -The coordinate system of the COMMAND, as defined by MAV_FRAME enum | -
| command | -uint16_t | -- MAV_CMD - | -The scheduled action for the mission item, as defined by MAV_CMD enum | -
| current | -uint8_t | -- - - | -false:0, true:1 | -
| autocontinue | -uint8_t | -- - - | -autocontinue to next wp | -
| param1 | -float | -- - - | -PARAM1, see MAV_CMD enum | -
| param2 | -float | -- - - | -PARAM2, see MAV_CMD enum | -
| param3 | -float | -- - - | -PARAM3, see MAV_CMD enum | -
| param4 | -float | -- - - | -PARAM4, see MAV_CMD enum | -
| x | -int32_t | -- - - | -PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7 | -
| y | -int32_t | -- - - | -PARAM6 / local: y position in meters * 1e4, global: longitude in degrees * 10^7 | -
| z | -float | -- - - | -PARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame. | -
Send a command with up to seven parameters to the MAV and additional metadata
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| utc_time | -uint32_t | -- - - | -UTC time, seconds elapsed since 01.01.1970 | -
| vehicle_timestamp | -uint64_t | -- - - | -Microseconds elapsed since vehicle boot | -
| target_system | -uint8_t | -- - - | -System which should execute the command | -
| target_component | -uint8_t | -- - - | -Component which should execute the command, 0 for all components | -
| command | -uint16_t | -- MAV_CMD - | -Command ID, as defined by MAV_CMD enum. | -
| confirmation | -uint8_t | -- - - | -0: First transmission of this command. 1-255: Confirmation transmissions (e.g. for kill command) | -
| param1 | -float | -- - - | -Parameter 1, as defined by MAV_CMD enum. | -
| param2 | -float | -- - - | -Parameter 2, as defined by MAV_CMD enum. | -
| param3 | -float | -- - - | -Parameter 3, as defined by MAV_CMD enum. | -
| param4 | -float | -- - - | -Parameter 4, as defined by MAV_CMD enum. | -
| param5 | -float | -- - - | -Parameter 5, as defined by MAV_CMD enum. | -
| param6 | -float | -- - - | -Parameter 6, as defined by MAV_CMD enum. | -
| param7 | -float | -- - - | -Parameter 7, as defined by MAV_CMD enum. | -
Voltage and current sensor data
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| adc121_vspb_volt | -float | -V | -Power board voltage sensor reading | -
| adc121_cspb_amp | -float | -A | -Power board current sensor reading | -
| adc121_cs1_amp | -float | -A | -Board current sensor 1 reading | -
| adc121_cs2_amp | -float | -A | -Board current sensor 2 reading | -
Maximum Power Point Tracker (MPPT) sensor data for solar module power performance tracking
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| mppt_timestamp | -uint64_t | -us | -MPPT last timestamp | -
| mppt1_volt | -float | -V | -MPPT1 voltage | -
| mppt1_amp | -float | -A | -MPPT1 current | -
| mppt1_pwm | -uint16_t | -us | -MPPT1 pwm | -
| mppt1_status | -uint8_t | -- | -MPPT1 status | -
| mppt2_volt | -float | -V | -MPPT2 voltage | -
| mppt2_amp | -float | -A | -MPPT2 current | -
| mppt2_pwm | -uint16_t | -us | -MPPT2 pwm | -
| mppt2_status | -uint8_t | -- | -MPPT2 status | -
| mppt3_volt | -float | -V | -MPPT3 voltage | -
| mppt3_amp | -float | -A | -MPPT3 current | -
| mppt3_pwm | -uint16_t | -us | -MPPT3 pwm | -
| mppt3_status | -uint8_t | -- | -MPPT3 status | -
ASL-fixed-wing controller data
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| timestamp | -uint64_t | -us | -Timestamp | -
| aslctrl_mode | -uint8_t | -- | -ASLCTRL control-mode (manual, stabilized, auto, etc...) | -
| h | -float | -- | -See sourcecode for a description of these values... | -
| hRef | -float | -- | -- | -
| hRef_t | -float | -- | -- | -
| PitchAngle | -float | -deg | -Pitch angle | -
| PitchAngleRef | -float | -deg | -Pitch angle reference | -
| q | -float | -- | -- | -
| qRef | -float | -- | -- | -
| uElev | -float | -- | -- | -
| uThrot | -float | -- | -- | -
| uThrot2 | -float | -- | -- | -
| nZ | -float | -- | -- | -
| AirspeedRef | -float | -m/s | -Airspeed reference | -
| SpoilersEngaged | -uint8_t | -- | -- | -
| YawAngle | -float | -deg | -Yaw angle | -
| YawAngleRef | -float | -deg | -Yaw angle reference | -
| RollAngle | -float | -deg | -Roll angle | -
| RollAngleRef | -float | -deg | -Roll angle reference | -
| p | -float | -- | -- | -
| pRef | -float | -- | -- | -
| r | -float | -- | -- | -
| rRef | -float | -- | -- | -
| uAil | -float | -- | -- | -
| uRud | -float | -- | -- | -
ASL-fixed-wing controller debug data
-| Field Name | -Type | -Description | -
|---|---|---|
| i32_1 | -uint32_t | -Debug data | -
| i8_1 | -uint8_t | -Debug data | -
| i8_2 | -uint8_t | -Debug data | -
| f_1 | -float | -Debug data | -
| f_2 | -float | -Debug data | -
| f_3 | -float | -Debug data | -
| f_4 | -float | -Debug data | -
| f_5 | -float | -Debug data | -
| f_6 | -float | -Debug data | -
| f_7 | -float | -Debug data | -
| f_8 | -float | -Debug data | -
Extended state information for ASLUAVs
-| Field Name | -Type | -Description | -
|---|---|---|
| LED_status | -uint8_t | -Status of the position-indicator LEDs | -
| SATCOM_status | -uint8_t | -Status of the IRIDIUM satellite communication system | -
| Servo_status | -uint8_t[8] | -Status vector for up to 8 servos | -
| Motor_rpm | -float | -Motor RPM | -
Extended EKF state estimates for ASLUAVs
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| timestamp | -uint64_t | -us | -Time since system start | -
| Windspeed | -float | -m/s | -Magnitude of wind velocity (in lateral inertial plane) | -
| WindDir | -float | -rad | -Wind heading angle from North | -
| WindZ | -float | -m/s | -Z (Down) component of inertial wind velocity | -
| Airspeed | -float | -m/s | -Magnitude of air velocity | -
| beta | -float | -rad | -Sideslip angle | -
| alpha | -float | -rad | -Angle of attack | -
Off-board controls/commands for ASLUAVs
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| timestamp | -uint64_t | -us | -Time since system start | -
| uElev | -float | -- | -Elevator command [~] | -
| uThrot | -float | -- | -Throttle command [~] | -
| uThrot2 | -float | -- | -Throttle 2 command [~] | -
| uAilL | -float | -- | -Left aileron command [~] | -
| uAilR | -float | -- | -Right aileron command [~] | -
| uRud | -float | -- | -Rudder command [~] | -
| obctrl_status | -uint8_t | -- | -Off-board computer status | -
Atmospheric sensors (temperature, humidity, ...)
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| TempAmbient | -float | -degC | -Ambient temperature | -
| Humidity | -float | -- % - | -Relative humidity | -
Battery pack monitoring data for Li-Ion batteries
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| batmon_timestamp | -uint64_t | -us | -Time since system start | -
| temperature | -float | -degC | -Battery pack temperature | -
| voltage | -uint16_t | -mV | -Battery pack voltage | -
| current | -int16_t | -mA | -Battery pack current | -
| SoC | -uint8_t | -- | -Battery pack state-of-charge | -
| batterystatus | -uint16_t | -- | -Battery monitor status report bits in Hex | -
| serialnumber | -uint16_t | -- | -Battery monitor serial number in Hex | -
| safetystatus | -uint32_t | -- | -Battery monitor safetystatus report bits in Hex | -
| operationstatus | -uint32_t | -- | -Battery monitor operation status report bits in Hex | -
| cellvoltage1 | -uint16_t | -mV | -Battery pack cell 1 voltage | -
| cellvoltage2 | -uint16_t | -mV | -Battery pack cell 2 voltage | -
| cellvoltage3 | -uint16_t | -mV | -Battery pack cell 3 voltage | -
| cellvoltage4 | -uint16_t | -mV | -Battery pack cell 4 voltage | -
| cellvoltage5 | -uint16_t | -mV | -Battery pack cell 5 voltage | -
| cellvoltage6 | -uint16_t | -mV | -Battery pack cell 6 voltage | -
Fixed-wing soaring (i.e. thermal seeking) data
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| timestamp | -uint64_t | -ms | -Timestamp | -
| timestampModeChanged | -uint64_t | -ms | -Timestamp since last mode change | -
| xW | -float | -m/s | -Thermal core updraft strength | -
| xR | -float | -m | -Thermal radius | -
| xLat | -float | -deg | -Thermal center latitude | -
| xLon | -float | -deg | -Thermal center longitude | -
| VarW | -float | -- | -Variance W | -
| VarR | -float | -- | -Variance R | -
| VarLat | -float | -- | -Variance Lat | -
| VarLon | -float | -- | -Variance Lon | -
| LoiterRadius | -float | -m | -Suggested loiter radius | -
| LoiterDirection | -float | -- | -Suggested loiter direction | -
| DistToSoarPoint | -float | -m | -Distance to soar point | -
| vSinkExp | -float | -m/s | -Expected sink rate at current airspeed, roll and throttle | -
| z1_LocalUpdraftSpeed | -float | -m/s | -Measurement / updraft speed at current/local airplane position | -
| z2_DeltaRoll | -float | -deg | -Measurement / roll angle tracking error | -
| z1_exp | -float | -- | -Expected measurement 1 | -
| z2_exp | -float | -- | -Expected measurement 2 | -
| ThermalGSNorth | -float | -m/s | -Thermal drift (from estimator prediction step only) | -
| ThermalGSEast | -float | -m/s | -Thermal drift (from estimator prediction step only) | -
| TSE_dot | -float | -m/s | -Total specific energy change (filtered) | -
| DebugVar1 | -float | -- | -Debug variable 1 | -
| DebugVar2 | -float | -- | -Debug variable 2 | -
| ControlMode | -uint8_t | -- | -Control Mode [-] | -
| valid | -uint8_t | -- | -Data valid [-] | -
Monitoring of sensorpod status
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| timestamp | -uint64_t | -ms | -Timestamp in linuxtime (since 1.1.1970) | -
| visensor_rate_1 | -uint8_t | -- | -Rate of ROS topic 1 | -
| visensor_rate_2 | -uint8_t | -- | -Rate of ROS topic 2 | -
| visensor_rate_3 | -uint8_t | -- | -Rate of ROS topic 3 | -
| visensor_rate_4 | -uint8_t | -- | -Rate of ROS topic 4 | -
| recording_nodes_count | -uint8_t | -- | -Number of recording nodes | -
| cpu_temp | -uint8_t | -degC | -Temperature of sensorpod CPU in | -
| free_space | -uint16_t | -- | -Free space available in recordings directory in [Gb] * 1e2 | -
Monitoring of power board status
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| timestamp | -uint64_t | -us | -Timestamp | -
| pwr_brd_status | -uint8_t | -- | -Power board status register | -
| pwr_brd_led_status | -uint8_t | -- | -Power board leds status | -
| pwr_brd_system_volt | -float | -V | -Power board system voltage | -
| pwr_brd_servo_volt | -float | -V | -Power board servo voltage | -
| pwr_brd_digital_volt | -float | -V | -Power board digital voltage | -
| pwr_brd_mot_l_amp | -float | -A | -Power board left motor current sensor | -
| pwr_brd_mot_r_amp | -float | -A | -Power board right motor current sensor | -
| pwr_brd_analog_amp | -float | -A | -Power board analog current sensor | -
| pwr_brd_digital_amp | -float | -A | -Power board digital current sensor | -
| pwr_brd_ext_amp | -float | -A | -Power board extension current sensor | -
| pwr_brd_aux_amp | -float | -A | -Power board aux current sensor | -
+ MAVLink Include Files: + common.xml +
++
+| Value | +Field Name | +Description | +
|---|---|---|
| 40001 | ++ MAV_CMD_RESET_MPPT + | +Mission command to reset Maximum Power Point Tracker (MPPT) | +
| + | +||
| + | +Mission Param #1 | +MPPT number | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 40002 | ++ MAV_CMD_PAYLOAD_CONTROL + | +Mission command to perform a power cycle on payload | +
| + | +||
| + | +Mission Param #1 | +Complete power cycle | +
| + | +Mission Param #2 | +VISensor power cycle | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
Message encoding a command with parameters as scaled integers and additional metadata. Scaling depends on the actual command value.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| utc_time | +uint32_t | ++ + + | +UTC time, seconds elapsed since 01.01.1970 | +
| vehicle_timestamp | +uint64_t | ++ + + | +Microseconds elapsed since vehicle boot | +
| target_system | +uint8_t | ++ + + | +System ID | +
| target_component | +uint8_t | ++ + + | +Component ID | +
| frame | +uint8_t | ++ MAV_FRAME + | +The coordinate system of the COMMAND, as defined by MAV_FRAME enum | +
| command | +uint16_t | ++ MAV_CMD + | +The scheduled action for the mission item, as defined by MAV_CMD enum | +
| current | +uint8_t | ++ + + | +false:0, true:1 | +
| autocontinue | +uint8_t | ++ + + | +autocontinue to next wp | +
| param1 | +float | ++ + + | +PARAM1, see MAV_CMD enum | +
| param2 | +float | ++ + + | +PARAM2, see MAV_CMD enum | +
| param3 | +float | ++ + + | +PARAM3, see MAV_CMD enum | +
| param4 | +float | ++ + + | +PARAM4, see MAV_CMD enum | +
| x | +int32_t | ++ + + | +PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7 | +
| y | +int32_t | ++ + + | +PARAM6 / local: y position in meters * 1e4, global: longitude in degrees * 10^7 | +
| z | +float | ++ + + | +PARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame. | +
Send a command with up to seven parameters to the MAV and additional metadata
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| utc_time | +uint32_t | ++ + + | +UTC time, seconds elapsed since 01.01.1970 | +
| vehicle_timestamp | +uint64_t | ++ + + | +Microseconds elapsed since vehicle boot | +
| target_system | +uint8_t | ++ + + | +System which should execute the command | +
| target_component | +uint8_t | ++ + + | +Component which should execute the command, 0 for all components | +
| command | +uint16_t | ++ MAV_CMD + | +Command ID, as defined by MAV_CMD enum. | +
| confirmation | +uint8_t | ++ + + | +0: First transmission of this command. 1-255: Confirmation transmissions (e.g. for kill command) | +
| param1 | +float | ++ + + | +Parameter 1, as defined by MAV_CMD enum. | +
| param2 | +float | ++ + + | +Parameter 2, as defined by MAV_CMD enum. | +
| param3 | +float | ++ + + | +Parameter 3, as defined by MAV_CMD enum. | +
| param4 | +float | ++ + + | +Parameter 4, as defined by MAV_CMD enum. | +
| param5 | +float | ++ + + | +Parameter 5, as defined by MAV_CMD enum. | +
| param6 | +float | ++ + + | +Parameter 6, as defined by MAV_CMD enum. | +
| param7 | +float | ++ + + | +Parameter 7, as defined by MAV_CMD enum. | +
Voltage and current sensor data
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| adc121_vspb_volt | +float | +V | +Power board voltage sensor reading | +
| adc121_cspb_amp | +float | +A | +Power board current sensor reading | +
| adc121_cs1_amp | +float | +A | +Board current sensor 1 reading | +
| adc121_cs2_amp | +float | +A | +Board current sensor 2 reading | +
Maximum Power Point Tracker (MPPT) sensor data for solar module power performance tracking
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| mppt_timestamp | +uint64_t | +us | +MPPT last timestamp | +
| mppt1_volt | +float | +V | +MPPT1 voltage | +
| mppt1_amp | +float | +A | +MPPT1 current | +
| mppt1_pwm | +uint16_t | +us | +MPPT1 pwm | +
| mppt1_status | +uint8_t | ++ | +MPPT1 status | +
| mppt2_volt | +float | +V | +MPPT2 voltage | +
| mppt2_amp | +float | +A | +MPPT2 current | +
| mppt2_pwm | +uint16_t | +us | +MPPT2 pwm | +
| mppt2_status | +uint8_t | ++ | +MPPT2 status | +
| mppt3_volt | +float | +V | +MPPT3 voltage | +
| mppt3_amp | +float | +A | +MPPT3 current | +
| mppt3_pwm | +uint16_t | +us | +MPPT3 pwm | +
| mppt3_status | +uint8_t | ++ | +MPPT3 status | +
ASL-fixed-wing controller data
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| timestamp | +uint64_t | +us | +Timestamp | +
| aslctrl_mode | +uint8_t | ++ | +ASLCTRL control-mode (manual, stabilized, auto, etc...) | +
| h | +float | ++ | +See sourcecode for a description of these values... | +
| hRef | +float | ++ | ++ | +
| hRef_t | +float | ++ | ++ | +
| PitchAngle | +float | +deg | +Pitch angle | +
| PitchAngleRef | +float | +deg | +Pitch angle reference | +
| q | +float | ++ | ++ | +
| qRef | +float | ++ | ++ | +
| uElev | +float | ++ | ++ | +
| uThrot | +float | ++ | ++ | +
| uThrot2 | +float | ++ | ++ | +
| nZ | +float | ++ | ++ | +
| AirspeedRef | +float | +m/s | +Airspeed reference | +
| SpoilersEngaged | +uint8_t | ++ | ++ | +
| YawAngle | +float | +deg | +Yaw angle | +
| YawAngleRef | +float | +deg | +Yaw angle reference | +
| RollAngle | +float | +deg | +Roll angle | +
| RollAngleRef | +float | +deg | +Roll angle reference | +
| p | +float | ++ | ++ | +
| pRef | +float | ++ | ++ | +
| r | +float | ++ | ++ | +
| rRef | +float | ++ | ++ | +
| uAil | +float | ++ | ++ | +
| uRud | +float | ++ | ++ | +
ASL-fixed-wing controller debug data
+| Field Name | +Type | +Description | +
|---|---|---|
| i32_1 | +uint32_t | +Debug data | +
| i8_1 | +uint8_t | +Debug data | +
| i8_2 | +uint8_t | +Debug data | +
| f_1 | +float | +Debug data | +
| f_2 | +float | +Debug data | +
| f_3 | +float | +Debug data | +
| f_4 | +float | +Debug data | +
| f_5 | +float | +Debug data | +
| f_6 | +float | +Debug data | +
| f_7 | +float | +Debug data | +
| f_8 | +float | +Debug data | +
Extended state information for ASLUAVs
+| Field Name | +Type | +Description | +
|---|---|---|
| LED_status | +uint8_t | +Status of the position-indicator LEDs | +
| SATCOM_status | +uint8_t | +Status of the IRIDIUM satellite communication system | +
| Servo_status | +uint8_t[8] | +Status vector for up to 8 servos | +
| Motor_rpm | +float | +Motor RPM | +
Extended EKF state estimates for ASLUAVs
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| timestamp | +uint64_t | +us | +Time since system start | +
| Windspeed | +float | +m/s | +Magnitude of wind velocity (in lateral inertial plane) | +
| WindDir | +float | +rad | +Wind heading angle from North | +
| WindZ | +float | +m/s | +Z (Down) component of inertial wind velocity | +
| Airspeed | +float | +m/s | +Magnitude of air velocity | +
| beta | +float | +rad | +Sideslip angle | +
| alpha | +float | +rad | +Angle of attack | +
Off-board controls/commands for ASLUAVs
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| timestamp | +uint64_t | +us | +Time since system start | +
| uElev | +float | ++ | +Elevator command [~] | +
| uThrot | +float | ++ | +Throttle command [~] | +
| uThrot2 | +float | ++ | +Throttle 2 command [~] | +
| uAilL | +float | ++ | +Left aileron command [~] | +
| uAilR | +float | ++ | +Right aileron command [~] | +
| uRud | +float | ++ | +Rudder command [~] | +
| obctrl_status | +uint8_t | ++ | +Off-board computer status | +
Atmospheric sensors (temperature, humidity, ...)
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| TempAmbient | +float | +degC | +Ambient temperature | +
| Humidity | +float | ++ % + | +Relative humidity | +
Battery pack monitoring data for Li-Ion batteries
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| batmon_timestamp | +uint64_t | +us | +Time since system start | +
| temperature | +float | +degC | +Battery pack temperature | +
| voltage | +uint16_t | +mV | +Battery pack voltage | +
| current | +int16_t | +mA | +Battery pack current | +
| SoC | +uint8_t | ++ | +Battery pack state-of-charge | +
| batterystatus | +uint16_t | ++ | +Battery monitor status report bits in Hex | +
| serialnumber | +uint16_t | ++ | +Battery monitor serial number in Hex | +
| safetystatus | +uint32_t | ++ | +Battery monitor safetystatus report bits in Hex | +
| operationstatus | +uint32_t | ++ | +Battery monitor operation status report bits in Hex | +
| cellvoltage1 | +uint16_t | +mV | +Battery pack cell 1 voltage | +
| cellvoltage2 | +uint16_t | +mV | +Battery pack cell 2 voltage | +
| cellvoltage3 | +uint16_t | +mV | +Battery pack cell 3 voltage | +
| cellvoltage4 | +uint16_t | +mV | +Battery pack cell 4 voltage | +
| cellvoltage5 | +uint16_t | +mV | +Battery pack cell 5 voltage | +
| cellvoltage6 | +uint16_t | +mV | +Battery pack cell 6 voltage | +
Fixed-wing soaring (i.e. thermal seeking) data
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| timestamp | +uint64_t | +ms | +Timestamp | +
| timestampModeChanged | +uint64_t | +ms | +Timestamp since last mode change | +
| xW | +float | +m/s | +Thermal core updraft strength | +
| xR | +float | +m | +Thermal radius | +
| xLat | +float | +deg | +Thermal center latitude | +
| xLon | +float | +deg | +Thermal center longitude | +
| VarW | +float | ++ | +Variance W | +
| VarR | +float | ++ | +Variance R | +
| VarLat | +float | ++ | +Variance Lat | +
| VarLon | +float | ++ | +Variance Lon | +
| LoiterRadius | +float | +m | +Suggested loiter radius | +
| LoiterDirection | +float | ++ | +Suggested loiter direction | +
| DistToSoarPoint | +float | +m | +Distance to soar point | +
| vSinkExp | +float | +m/s | +Expected sink rate at current airspeed, roll and throttle | +
| z1_LocalUpdraftSpeed | +float | +m/s | +Measurement / updraft speed at current/local airplane position | +
| z2_DeltaRoll | +float | +deg | +Measurement / roll angle tracking error | +
| z1_exp | +float | ++ | +Expected measurement 1 | +
| z2_exp | +float | ++ | +Expected measurement 2 | +
| ThermalGSNorth | +float | +m/s | +Thermal drift (from estimator prediction step only) | +
| ThermalGSEast | +float | +m/s | +Thermal drift (from estimator prediction step only) | +
| TSE_dot | +float | +m/s | +Total specific energy change (filtered) | +
| DebugVar1 | +float | ++ | +Debug variable 1 | +
| DebugVar2 | +float | ++ | +Debug variable 2 | +
| ControlMode | +uint8_t | ++ | +Control Mode [-] | +
| valid | +uint8_t | ++ | +Data valid [-] | +
Monitoring of sensorpod status
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| timestamp | +uint64_t | +ms | +Timestamp in linuxtime (since 1.1.1970) | +
| visensor_rate_1 | +uint8_t | ++ | +Rate of ROS topic 1 | +
| visensor_rate_2 | +uint8_t | ++ | +Rate of ROS topic 2 | +
| visensor_rate_3 | +uint8_t | ++ | +Rate of ROS topic 3 | +
| visensor_rate_4 | +uint8_t | ++ | +Rate of ROS topic 4 | +
| recording_nodes_count | +uint8_t | ++ | +Number of recording nodes | +
| cpu_temp | +uint8_t | +degC | +Temperature of sensorpod CPU in | +
| free_space | +uint16_t | ++ | +Free space available in recordings directory in [Gb] * 1e2 | +
Monitoring of power board status
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| timestamp | +uint64_t | +us | +Timestamp | +
| pwr_brd_status | +uint8_t | ++ | +Power board status register | +
| pwr_brd_led_status | +uint8_t | ++ | +Power board leds status | +
| pwr_brd_system_volt | +float | +V | +Power board system voltage | +
| pwr_brd_servo_volt | +float | +V | +Power board servo voltage | +
| pwr_brd_digital_volt | +float | +V | +Power board digital voltage | +
| pwr_brd_mot_l_amp | +float | +A | +Power board left motor current sensor | +
| pwr_brd_mot_r_amp | +float | +A | +Power board right motor current sensor | +
| pwr_brd_analog_amp | +float | +A | +Power board analog current sensor | +
| pwr_brd_digital_amp | +float | +A | +Power board digital current sensor | +
| pwr_brd_ext_amp | +float | +A | +Power board extension current sensor | +
| pwr_brd_aux_amp | +float | +A | +Power board aux current sensor | +
+ MAVLink Include Files: + common.xml +
++ MAVLink Include Files: + uAvionix.xml +
++ MAVLink Include Files: + icarous.xml +
+This file has protocol dialect: 2.
++
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ ACCELCAL_VEHICLE_POS_LEVEL + | ++ | +
| 2 | ++ ACCELCAL_VEHICLE_POS_LEFT + | ++ | +
| 3 | ++ ACCELCAL_VEHICLE_POS_RIGHT + | ++ | +
| 4 | ++ ACCELCAL_VEHICLE_POS_NOSEDOWN + | ++ | +
| 5 | ++ ACCELCAL_VEHICLE_POS_NOSEUP + | ++ | +
| 6 | ++ ACCELCAL_VEHICLE_POS_BACK + | ++ | +
| 16777215 | ++ ACCELCAL_VEHICLE_POS_SUCCESS + | ++ | +
| 16777216 | ++ ACCELCAL_VEHICLE_POS_FAILED + | ++ | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 211 | ++ MAV_CMD_DO_GRIPPER + | +Mission command to operate EPM gripper. | +
| + | +||
| + | +Mission Param #1 | +Gripper number (a number from 1 to max number of grippers on the vehicle). | +
| + | +Mission Param #2 | +Gripper action (0=release, 1=grab. See GRIPPER_ACTIONS enum). | +
| + | +Mission Param #3 | +Empty. | +
| + | +Mission Param #4 | +Empty. | +
| + | +Mission Param #5 | +Empty. | +
| + | +Mission Param #6 | +Empty. | +
| + | +Mission Param #7 | +Empty. | +
|
+ + |
+ ||
| 212 | ++ MAV_CMD_DO_AUTOTUNE_ENABLE + | +Enable/disable autotune. | +
| + | +||
| + | +Mission Param #1 | +Enable (1: enable, 0:disable). | +
| + | +Mission Param #2 | +Empty. | +
| + | +Mission Param #3 | +Empty. | +
| + | +Mission Param #4 | +Empty. | +
| + | +Mission Param #5 | +Empty. | +
| + | +Mission Param #6 | +Empty. | +
| + | +Mission Param #7 | +Empty. | +
|
+ + |
+ ||
| 83 | ++ MAV_CMD_NAV_ALTITUDE_WAIT + | +Mission command to wait for an altitude or downwards vertical speed. This is meant for high altitude balloon launches, allowing the aircraft to be idle until either an altitude is reached or a negative vertical speed is reached (indicating early balloon burst). The wiggle time is how often to wiggle the control surfaces to prevent them seizing up. | +
| + | +||
| + | +Mission Param #1 | +Altitude (m). | +
| + | +Mission Param #2 | +Descent speed (m/s). | +
| + | +Mission Param #3 | +Wiggle Time (s). | +
| + | +Mission Param #4 | +Empty. | +
| + | +Mission Param #5 | +Empty. | +
| + | +Mission Param #6 | +Empty. | +
| + | +Mission Param #7 | +Empty. | +
|
+ + |
+ ||
| 42000 | ++ MAV_CMD_POWER_OFF_INITIATED + | +A system wide power-off event has been initiated. | +
| + | +||
| + | +Mission Param #1 | +Empty. | +
| + | +Mission Param #2 | +Empty. | +
| + | +Mission Param #3 | +Empty. | +
| + | +Mission Param #4 | +Empty. | +
| + | +Mission Param #5 | +Empty. | +
| + | +Mission Param #6 | +Empty. | +
| + | +Mission Param #7 | +Empty. | +
|
+ + |
+ ||
| 42001 | ++ MAV_CMD_SOLO_BTN_FLY_CLICK + | +FLY button has been clicked. | +
| + | +||
| + | +Mission Param #1 | +Empty. | +
| + | +Mission Param #2 | +Empty. | +
| + | +Mission Param #3 | +Empty. | +
| + | +Mission Param #4 | +Empty. | +
| + | +Mission Param #5 | +Empty. | +
| + | +Mission Param #6 | +Empty. | +
| + | +Mission Param #7 | +Empty. | +
|
+ + |
+ ||
| 42002 | ++ MAV_CMD_SOLO_BTN_FLY_HOLD + | +FLY button has been held for 1.5 seconds. | +
| + | +||
| + | +Mission Param #1 | +Takeoff altitude. | +
| + | +Mission Param #2 | +Empty. | +
| + | +Mission Param #3 | +Empty. | +
| + | +Mission Param #4 | +Empty. | +
| + | +Mission Param #5 | +Empty. | +
| + | +Mission Param #6 | +Empty. | +
| + | +Mission Param #7 | +Empty. | +
|
+ + |
+ ||
| 42003 | ++ MAV_CMD_SOLO_BTN_PAUSE_CLICK + | +PAUSE button has been clicked. | +
| + | +||
| + | +Mission Param #1 | +1 if Solo is in a shot mode, 0 otherwise. | +
| + | +Mission Param #2 | +Empty. | +
| + | +Mission Param #3 | +Empty. | +
| + | +Mission Param #4 | +Empty. | +
| + | +Mission Param #5 | +Empty. | +
| + | +Mission Param #6 | +Empty. | +
| + | +Mission Param #7 | +Empty. | +
|
+ + |
+ ||
| 42004 | ++ MAV_CMD_FIXED_MAG_CAL + | +Magnetometer calibration based on fixed position + in earth field given by inclination, declination and intensity. | +
| + | +||
| + | +Mission Param #1 | +MagDeclinationDegrees. | +
| + | +Mission Param #2 | +MagInclinationDegrees. | +
| + | +Mission Param #3 | +MagIntensityMilliGauss. | +
| + | +Mission Param #4 | +YawDegrees. | +
| + | +Mission Param #5 | +Empty. | +
| + | +Mission Param #6 | +Empty. | +
| + | +Mission Param #7 | +Empty. | +
|
+ + |
+ ||
| 42005 | ++ MAV_CMD_FIXED_MAG_CAL_FIELD + | +Magnetometer calibration based on fixed expected field values in milliGauss. | +
| + | +||
| + | +Mission Param #1 | +FieldX. | +
| + | +Mission Param #2 | +FieldY. | +
| + | +Mission Param #3 | +FieldZ. | +
| + | +Mission Param #4 | +Empty. | +
| + | +Mission Param #5 | +Empty. | +
| + | +Mission Param #6 | +Empty. | +
| + | +Mission Param #7 | +Empty. | +
|
+ + |
+ ||
| 42424 | ++ MAV_CMD_DO_START_MAG_CAL + | +Initiate a magnetometer calibration. | +
| + | +||
| + | +Mission Param #1 | +uint8_t bitmask of magnetometers (0 means all). | +
| + | +Mission Param #2 | +Automatically retry on failure (0=no retry, 1=retry). | +
| + | +Mission Param #3 | +Save without user input (0=require input, 1=autosave). | +
| + | +Mission Param #4 | +Delay (seconds). | +
| + | +Mission Param #5 | +Autoreboot (0=user reboot, 1=autoreboot). | +
| + | +Mission Param #6 | +Empty. | +
| + | +Mission Param #7 | +Empty. | +
|
+ + |
+ ||
| 42425 | ++ MAV_CMD_DO_ACCEPT_MAG_CAL + | +Initiate a magnetometer calibration. | +
| + | +||
| + | +Mission Param #1 | +uint8_t bitmask of magnetometers (0 means all). | +
| + | +Mission Param #2 | +Empty. | +
| + | +Mission Param #3 | +Empty. | +
| + | +Mission Param #4 | +Empty. | +
| + | +Mission Param #5 | +Empty. | +
| + | +Mission Param #6 | +Empty. | +
| + | +Mission Param #7 | +Empty. | +
|
+ + |
+ ||
| 42426 | ++ MAV_CMD_DO_CANCEL_MAG_CAL + | +Cancel a running magnetometer calibration. | +
| + | +||
| + | +Mission Param #1 | +uint8_t bitmask of magnetometers (0 means all). | +
| + | +Mission Param #2 | +Empty. | +
| + | +Mission Param #3 | +Empty. | +
| + | +Mission Param #4 | +Empty. | +
| + | +Mission Param #5 | +Empty. | +
| + | +Mission Param #6 | +Empty. | +
| + | +Mission Param #7 | +Empty. | +
|
+ + |
+ ||
| 42429 | ++ MAV_CMD_ACCELCAL_VEHICLE_POS + | +Used when doing accelerometer calibration. When sent to the GCS tells it what position to put the vehicle in. When sent to the vehicle says what position the vehicle is in. | +
| + | +||
| + | +Mission Param #1 | +Position, one of the ACCELCAL_VEHICLE_POS enum values. | +
| + | +Mission Param #2 | +Empty. | +
| + | +Mission Param #3 | +Empty. | +
| + | +Mission Param #4 | +Empty. | +
| + | +Mission Param #5 | +Empty. | +
| + | +Mission Param #6 | +Empty. | +
| + | +Mission Param #7 | +Empty. | +
|
+ + |
+ ||
| 42428 | ++ MAV_CMD_DO_SEND_BANNER + | +Reply with the version banner. | +
| + | +||
| + | +Mission Param #1 | +Empty. | +
| + | +Mission Param #2 | +Empty. | +
| + | +Mission Param #3 | +Empty. | +
| + | +Mission Param #4 | +Empty. | +
| + | +Mission Param #5 | +Empty. | +
| + | +Mission Param #6 | +Empty. | +
| + | +Mission Param #7 | +Empty. | +
|
+ + |
+ ||
| 42427 | ++ MAV_CMD_SET_FACTORY_TEST_MODE + | +Command autopilot to get into factory test/diagnostic mode. | +
| + | +||
| + | +Mission Param #1 | +0 means get out of test mode, 1 means get into test mode. | +
| + | +Mission Param #2 | +Empty. | +
| + | +Mission Param #3 | +Empty. | +
| + | +Mission Param #4 | +Empty. | +
| + | +Mission Param #5 | +Empty. | +
| + | +Mission Param #6 | +Empty. | +
| + | +Mission Param #7 | +Empty. | +
|
+ + |
+ ||
| 42501 | ++ MAV_CMD_GIMBAL_RESET + | +Causes the gimbal to reset and boot as if it was just powered on. | +
| + | +||
| + | +Mission Param #1 | +Empty. | +
| + | +Mission Param #2 | +Empty. | +
| + | +Mission Param #3 | +Empty. | +
| + | +Mission Param #4 | +Empty. | +
| + | +Mission Param #5 | +Empty. | +
| + | +Mission Param #6 | +Empty. | +
| + | +Mission Param #7 | +Empty. | +
|
+ + |
+ ||
| 42502 | ++ MAV_CMD_GIMBAL_AXIS_CALIBRATION_STATUS + | +Reports progress and success or failure of gimbal axis calibration procedure. | +
| + | +||
| + | +Mission Param #1 | +Gimbal axis we're reporting calibration progress for. | +
| + | +Mission Param #2 | +Current calibration progress for this axis, 0x64=100%. | +
| + | +Mission Param #3 | +Status of the calibration. | +
| + | +Mission Param #4 | +Empty. | +
| + | +Mission Param #5 | +Empty. | +
| + | +Mission Param #6 | +Empty. | +
| + | +Mission Param #7 | +Empty. | +
|
+ + |
+ ||
| 42503 | ++ MAV_CMD_GIMBAL_REQUEST_AXIS_CALIBRATION + | +Starts commutation calibration on the gimbal. | +
| + | +||
| + | +Mission Param #1 | +Empty. | +
| + | +Mission Param #2 | +Empty. | +
| + | +Mission Param #3 | +Empty. | +
| + | +Mission Param #4 | +Empty. | +
| + | +Mission Param #5 | +Empty. | +
| + | +Mission Param #6 | +Empty. | +
| + | +Mission Param #7 | +Empty. | +
|
+ + |
+ ||
| 42505 | ++ MAV_CMD_GIMBAL_FULL_RESET + | +Erases gimbal application and parameters. | +
| + | +||
| + | +Mission Param #1 | +Magic number. | +
| + | +Mission Param #2 | +Magic number. | +
| + | +Mission Param #3 | +Magic number. | +
| + | +Mission Param #4 | +Magic number. | +
| + | +Mission Param #5 | +Magic number. | +
| + | +Mission Param #6 | +Magic number. | +
| + | +Mission Param #7 | +Magic number. | +
|
+ + |
+ ||
| 42600 | ++ MAV_CMD_DO_WINCH + | +Command to operate winch. | +
| + | +||
| + | +Mission Param #1 | +Winch number (0 for the default winch, otherwise a number from 1 to max number of winches on the vehicle). | +
| + | +Mission Param #2 | +Action (0=relax, 1=relative length control, 2=rate control. See WINCH_ACTIONS enum.). | +
| + | +Mission Param #3 | +Release length (cable distance to unwind in meters, negative numbers to wind in cable). | +
| + | +Mission Param #4 | +Release rate (meters/second). | +
| + | +Mission Param #5 | +Empty. | +
| + | +Mission Param #6 | +Empty. | +
| + | +Mission Param #7 | +Empty. | +
|
+ + |
+ ||
| 42650 | ++ MAV_CMD_FLASH_BOOTLOADER + | +Update the bootloader | +
| + | +||
| + | +Mission Param #1 | +Empty | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Magic number - set to 290876 to actually flash | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ LIMITS_INIT + | +Pre-initialization. | +
| 1 | ++ LIMITS_DISABLED + | +Disabled. | +
| 2 | ++ LIMITS_ENABLED + | +Checking limits. | +
| 3 | ++ LIMITS_TRIGGERED + | +A limit has been breached. | +
| 4 | ++ LIMITS_RECOVERING + | +Taking action e.g. Return/RTL. | +
| 5 | ++ LIMITS_RECOVERED + | +We're no longer in breach of a limit. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ LIMIT_GPSLOCK + | +Pre-initialization. | +
| 2 | ++ LIMIT_GEOFENCE + | +Disabled. | +
| 4 | ++ LIMIT_ALTITUDE + | +Checking limits. | +
Flags in RALLY_POINT message.
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ FAVORABLE_WIND + | +Flag set when requiring favorable winds for landing. | +
| 2 | ++ LAND_IMMEDIATELY + | +Flag set when plane is to immediately descend to break altitude and land without GCS intervention. Flag not set when plane is to loiter at Rally point until commanded to land. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ PARACHUTE_DISABLE + | +Disable parachute release. | +
| 1 | ++ PARACHUTE_ENABLE + | +Enable parachute release. | +
| 2 | ++ PARACHUTE_RELEASE + | +Release parachute. | +
Gripper actions.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GRIPPER_ACTION_RELEASE + | +Gripper release cargo. | +
| 1 | ++ GRIPPER_ACTION_GRAB + | +Gripper grab onto cargo. | +
Winch actions.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ WINCH_RELAXED + | +Relax winch. | +
| 1 | ++ WINCH_RELATIVE_LENGTH_CONTROL + | +Winch unwinds or winds specified length of cable optionally using specified rate. | +
| 2 | ++ WINCH_RATE_CONTROL + | +Winch unwinds or winds cable at specified rate in meters/seconds. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ CAMERA_STATUS_TYPE_HEARTBEAT + | +Camera heartbeat, announce camera component ID at 1Hz. | +
| 1 | ++ CAMERA_STATUS_TYPE_TRIGGER + | +Camera image triggered. | +
| 2 | ++ CAMERA_STATUS_TYPE_DISCONNECT + | +Camera connection lost. | +
| 3 | ++ CAMERA_STATUS_TYPE_ERROR + | +Camera unknown error. | +
| 4 | ++ CAMERA_STATUS_TYPE_LOWBATT + | +Camera battery low. Parameter p1 shows reported voltage. | +
| 5 | ++ CAMERA_STATUS_TYPE_LOWSTORE + | +Camera storage low. Parameter p1 shows reported shots remaining. | +
| 6 | ++ CAMERA_STATUS_TYPE_LOWSTOREV + | +Camera storage low. Parameter p1 shows reported video minutes remaining. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ CAMERA_FEEDBACK_PHOTO + | +Shooting photos, not video. | +
| 1 | ++ CAMERA_FEEDBACK_VIDEO + | +Shooting video, not stills. | +
| 2 | ++ CAMERA_FEEDBACK_BADEXPOSURE + | +Unable to achieve requested exposure (e.g. shutter speed too low). | +
| 3 | ++ CAMERA_FEEDBACK_CLOSEDLOOP + | +Closed loop feedback from camera, we know for sure it has successfully taken a picture. | +
| 4 | ++ CAMERA_FEEDBACK_OPENLOOP + | +Open loop camera, an image trigger has been requested but we can't know for sure it has successfully taken a picture. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_MODE_GIMBAL_UNINITIALIZED + | +Gimbal is powered on but has not started initializing yet. | +
| 1 | ++ MAV_MODE_GIMBAL_CALIBRATING_PITCH + | +Gimbal is currently running calibration on the pitch axis. | +
| 2 | ++ MAV_MODE_GIMBAL_CALIBRATING_ROLL + | +Gimbal is currently running calibration on the roll axis. | +
| 3 | ++ MAV_MODE_GIMBAL_CALIBRATING_YAW + | +Gimbal is currently running calibration on the yaw axis. | +
| 4 | ++ MAV_MODE_GIMBAL_INITIALIZED + | +Gimbal has finished calibrating and initializing, but is relaxed pending reception of first rate command from copter. | +
| 5 | ++ MAV_MODE_GIMBAL_ACTIVE + | +Gimbal is actively stabilizing. | +
| 6 | ++ MAV_MODE_GIMBAL_RATE_CMD_TIMEOUT + | +Gimbal is relaxed because it missed more than 10 expected rate command messages in a row. Gimbal will move back to active mode when it receives a new rate command. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GIMBAL_AXIS_YAW + | +Gimbal yaw axis. | +
| 1 | ++ GIMBAL_AXIS_PITCH + | +Gimbal pitch axis. | +
| 2 | ++ GIMBAL_AXIS_ROLL + | +Gimbal roll axis. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GIMBAL_AXIS_CALIBRATION_STATUS_IN_PROGRESS + | +Axis calibration is in progress. | +
| 1 | ++ GIMBAL_AXIS_CALIBRATION_STATUS_SUCCEEDED + | +Axis calibration succeeded. | +
| 2 | ++ GIMBAL_AXIS_CALIBRATION_STATUS_FAILED + | +Axis calibration failed. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GIMBAL_AXIS_CALIBRATION_REQUIRED_UNKNOWN + | +Whether or not this axis requires calibration is unknown at this time. | +
| 1 | ++ GIMBAL_AXIS_CALIBRATION_REQUIRED_TRUE + | +This axis requires calibration. | +
| 2 | ++ GIMBAL_AXIS_CALIBRATION_REQUIRED_FALSE + | +This axis does not require calibration. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GOPRO_HEARTBEAT_STATUS_DISCONNECTED + | +No GoPro connected. | +
| 1 | ++ GOPRO_HEARTBEAT_STATUS_INCOMPATIBLE + | +The detected GoPro is not HeroBus compatible. | +
| 2 | ++ GOPRO_HEARTBEAT_STATUS_CONNECTED + | +A HeroBus compatible GoPro is connected. | +
| 3 | ++ GOPRO_HEARTBEAT_STATUS_ERROR + | +An unrecoverable error was encountered with the connected GoPro, it may require a power cycle. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ GOPRO_FLAG_RECORDING + | +GoPro is currently recording. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GOPRO_REQUEST_SUCCESS + | +The write message with ID indicated succeeded. | +
| 1 | ++ GOPRO_REQUEST_FAILED + | +The write message with ID indicated failed. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GOPRO_COMMAND_POWER + | ++ (Get/Set). + | +
| 1 | ++ GOPRO_COMMAND_CAPTURE_MODE + | ++ (Get/Set). + | +
| 2 | ++ GOPRO_COMMAND_SHUTTER + | ++ (___/Set). + | +
| 3 | ++ GOPRO_COMMAND_BATTERY + | ++ (Get/___). + | +
| 4 | ++ GOPRO_COMMAND_MODEL + | ++ (Get/___). + | +
| 5 | ++ GOPRO_COMMAND_VIDEO_SETTINGS + | ++ (Get/Set). + | +
| 6 | ++ GOPRO_COMMAND_LOW_LIGHT + | ++ (Get/Set). + | +
| 7 | ++ GOPRO_COMMAND_PHOTO_RESOLUTION + | ++ (Get/Set). + | +
| 8 | ++ GOPRO_COMMAND_PHOTO_BURST_RATE + | ++ (Get/Set). + | +
| 9 | ++ GOPRO_COMMAND_PROTUNE + | ++ (Get/Set). + | +
| 10 | ++ GOPRO_COMMAND_PROTUNE_WHITE_BALANCE + | ++ (Get/Set) Hero 3+ Only. + | +
| 11 | ++ GOPRO_COMMAND_PROTUNE_COLOUR + | ++ (Get/Set) Hero 3+ Only. + | +
| 12 | ++ GOPRO_COMMAND_PROTUNE_GAIN + | ++ (Get/Set) Hero 3+ Only. + | +
| 13 | ++ GOPRO_COMMAND_PROTUNE_SHARPNESS + | ++ (Get/Set) Hero 3+ Only. + | +
| 14 | ++ GOPRO_COMMAND_PROTUNE_EXPOSURE + | ++ (Get/Set) Hero 3+ Only. + | +
| 15 | ++ GOPRO_COMMAND_TIME + | ++ (Get/Set). + | +
| 16 | ++ GOPRO_COMMAND_CHARGING + | ++ (Get/Set). + | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GOPRO_CAPTURE_MODE_VIDEO + | +Video mode. | +
| 1 | ++ GOPRO_CAPTURE_MODE_PHOTO + | +Photo mode. | +
| 2 | ++ GOPRO_CAPTURE_MODE_BURST + | +Burst mode, Hero 3+ only. | +
| 3 | ++ GOPRO_CAPTURE_MODE_TIME_LAPSE + | +Time lapse mode, Hero 3+ only. | +
| 4 | ++ GOPRO_CAPTURE_MODE_MULTI_SHOT + | +Multi shot mode, Hero 4 only. | +
| 5 | ++ GOPRO_CAPTURE_MODE_PLAYBACK + | +Playback mode, Hero 4 only, silver only except when LCD or HDMI is connected to black. | +
| 6 | ++ GOPRO_CAPTURE_MODE_SETUP + | +Playback mode, Hero 4 only. | +
| 255 | ++ GOPRO_CAPTURE_MODE_UNKNOWN + | +Mode not yet known. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GOPRO_RESOLUTION_480p + | +848 x 480 (480p). | +
| 1 | ++ GOPRO_RESOLUTION_720p + | +1280 x 720 (720p). | +
| 2 | ++ GOPRO_RESOLUTION_960p + | +1280 x 960 (960p). | +
| 3 | ++ GOPRO_RESOLUTION_1080p + | +1920 x 1080 (1080p). | +
| 4 | ++ GOPRO_RESOLUTION_1440p + | +1920 x 1440 (1440p). | +
| 5 | ++ GOPRO_RESOLUTION_2_7k_17_9 + | +2704 x 1440 (2.7k-17:9). | +
| 6 | ++ GOPRO_RESOLUTION_2_7k_16_9 + | +2704 x 1524 (2.7k-16:9). | +
| 7 | ++ GOPRO_RESOLUTION_2_7k_4_3 + | +2704 x 2028 (2.7k-4:3). | +
| 8 | ++ GOPRO_RESOLUTION_4k_16_9 + | +3840 x 2160 (4k-16:9). | +
| 9 | ++ GOPRO_RESOLUTION_4k_17_9 + | +4096 x 2160 (4k-17:9). | +
| 10 | ++ GOPRO_RESOLUTION_720p_SUPERVIEW + | +1280 x 720 (720p-SuperView). | +
| 11 | ++ GOPRO_RESOLUTION_1080p_SUPERVIEW + | +1920 x 1080 (1080p-SuperView). | +
| 12 | ++ GOPRO_RESOLUTION_2_7k_SUPERVIEW + | +2704 x 1520 (2.7k-SuperView). | +
| 13 | ++ GOPRO_RESOLUTION_4k_SUPERVIEW + | +3840 x 2160 (4k-SuperView). | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GOPRO_FRAME_RATE_12 + | +12 FPS. | +
| 1 | ++ GOPRO_FRAME_RATE_15 + | +15 FPS. | +
| 2 | ++ GOPRO_FRAME_RATE_24 + | +24 FPS. | +
| 3 | ++ GOPRO_FRAME_RATE_25 + | +25 FPS. | +
| 4 | ++ GOPRO_FRAME_RATE_30 + | +30 FPS. | +
| 5 | ++ GOPRO_FRAME_RATE_48 + | +48 FPS. | +
| 6 | ++ GOPRO_FRAME_RATE_50 + | +50 FPS. | +
| 7 | ++ GOPRO_FRAME_RATE_60 + | +60 FPS. | +
| 8 | ++ GOPRO_FRAME_RATE_80 + | +80 FPS. | +
| 9 | ++ GOPRO_FRAME_RATE_90 + | +90 FPS. | +
| 10 | ++ GOPRO_FRAME_RATE_100 + | +100 FPS. | +
| 11 | ++ GOPRO_FRAME_RATE_120 + | +120 FPS. | +
| 12 | ++ GOPRO_FRAME_RATE_240 + | +240 FPS. | +
| 13 | ++ GOPRO_FRAME_RATE_12_5 + | +12.5 FPS. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GOPRO_FIELD_OF_VIEW_WIDE + | +0x00: Wide. | +
| 1 | ++ GOPRO_FIELD_OF_VIEW_MEDIUM + | +0x01: Medium. | +
| 2 | ++ GOPRO_FIELD_OF_VIEW_NARROW + | +0x02: Narrow. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ GOPRO_VIDEO_SETTINGS_TV_MODE + | +0=NTSC, 1=PAL. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GOPRO_PHOTO_RESOLUTION_5MP_MEDIUM + | +5MP Medium. | +
| 1 | ++ GOPRO_PHOTO_RESOLUTION_7MP_MEDIUM + | +7MP Medium. | +
| 2 | ++ GOPRO_PHOTO_RESOLUTION_7MP_WIDE + | +7MP Wide. | +
| 3 | ++ GOPRO_PHOTO_RESOLUTION_10MP_WIDE + | +10MP Wide. | +
| 4 | ++ GOPRO_PHOTO_RESOLUTION_12MP_WIDE + | +12MP Wide. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GOPRO_PROTUNE_WHITE_BALANCE_AUTO + | +Auto. | +
| 1 | ++ GOPRO_PROTUNE_WHITE_BALANCE_3000K + | +3000K. | +
| 2 | ++ GOPRO_PROTUNE_WHITE_BALANCE_5500K + | +5500K. | +
| 3 | ++ GOPRO_PROTUNE_WHITE_BALANCE_6500K + | +6500K. | +
| 4 | ++ GOPRO_PROTUNE_WHITE_BALANCE_RAW + | +Camera Raw. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GOPRO_PROTUNE_COLOUR_STANDARD + | +Auto. | +
| 1 | ++ GOPRO_PROTUNE_COLOUR_NEUTRAL + | +Neutral. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GOPRO_PROTUNE_GAIN_400 + | +ISO 400. | +
| 1 | ++ GOPRO_PROTUNE_GAIN_800 + | +ISO 800 (Only Hero 4). | +
| 2 | ++ GOPRO_PROTUNE_GAIN_1600 + | +ISO 1600. | +
| 3 | ++ GOPRO_PROTUNE_GAIN_3200 + | +ISO 3200 (Only Hero 4). | +
| 4 | ++ GOPRO_PROTUNE_GAIN_6400 + | +ISO 6400. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GOPRO_PROTUNE_SHARPNESS_LOW + | +Low Sharpness. | +
| 1 | ++ GOPRO_PROTUNE_SHARPNESS_MEDIUM + | +Medium Sharpness. | +
| 2 | ++ GOPRO_PROTUNE_SHARPNESS_HIGH + | +High Sharpness. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GOPRO_PROTUNE_EXPOSURE_NEG_5_0 + | ++ -5.0 EV (Hero 3+ Only). + | +
| 1 | ++ GOPRO_PROTUNE_EXPOSURE_NEG_4_5 + | ++ -4.5 EV (Hero 3+ Only). + | +
| 2 | ++ GOPRO_PROTUNE_EXPOSURE_NEG_4_0 + | ++ -4.0 EV (Hero 3+ Only). + | +
| 3 | ++ GOPRO_PROTUNE_EXPOSURE_NEG_3_5 + | ++ -3.5 EV (Hero 3+ Only). + | +
| 4 | ++ GOPRO_PROTUNE_EXPOSURE_NEG_3_0 + | ++ -3.0 EV (Hero 3+ Only). + | +
| 5 | ++ GOPRO_PROTUNE_EXPOSURE_NEG_2_5 + | ++ -2.5 EV (Hero 3+ Only). + | +
| 6 | ++ GOPRO_PROTUNE_EXPOSURE_NEG_2_0 + | ++ -2.0 EV. + | +
| 7 | ++ GOPRO_PROTUNE_EXPOSURE_NEG_1_5 + | ++ -1.5 EV. + | +
| 8 | ++ GOPRO_PROTUNE_EXPOSURE_NEG_1_0 + | ++ -1.0 EV. + | +
| 9 | ++ GOPRO_PROTUNE_EXPOSURE_NEG_0_5 + | ++ -0.5 EV. + | +
| 10 | ++ GOPRO_PROTUNE_EXPOSURE_ZERO + | +0.0 EV. | +
| 11 | ++ GOPRO_PROTUNE_EXPOSURE_POS_0_5 + | ++ +0.5 EV. + | +
| 12 | ++ GOPRO_PROTUNE_EXPOSURE_POS_1_0 + | ++ +1.0 EV. + | +
| 13 | ++ GOPRO_PROTUNE_EXPOSURE_POS_1_5 + | ++ +1.5 EV. + | +
| 14 | ++ GOPRO_PROTUNE_EXPOSURE_POS_2_0 + | ++ +2.0 EV. + | +
| 15 | ++ GOPRO_PROTUNE_EXPOSURE_POS_2_5 + | ++ +2.5 EV (Hero 3+ Only). + | +
| 16 | ++ GOPRO_PROTUNE_EXPOSURE_POS_3_0 + | ++ +3.0 EV (Hero 3+ Only). + | +
| 17 | ++ GOPRO_PROTUNE_EXPOSURE_POS_3_5 + | ++ +3.5 EV (Hero 3+ Only). + | +
| 18 | ++ GOPRO_PROTUNE_EXPOSURE_POS_4_0 + | ++ +4.0 EV (Hero 3+ Only). + | +
| 19 | ++ GOPRO_PROTUNE_EXPOSURE_POS_4_5 + | ++ +4.5 EV (Hero 3+ Only). + | +
| 20 | ++ GOPRO_PROTUNE_EXPOSURE_POS_5_0 + | ++ +5.0 EV (Hero 3+ Only). + | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GOPRO_CHARGING_DISABLED + | +Charging disabled. | +
| 1 | ++ GOPRO_CHARGING_ENABLED + | +Charging enabled. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GOPRO_MODEL_UNKNOWN + | +Unknown gopro model. | +
| 1 | ++ GOPRO_MODEL_HERO_3_PLUS_SILVER + | +Hero 3+ Silver (HeroBus not supported by GoPro). | +
| 2 | ++ GOPRO_MODEL_HERO_3_PLUS_BLACK + | +Hero 3+ Black. | +
| 3 | ++ GOPRO_MODEL_HERO_4_SILVER + | +Hero 4 Silver. | +
| 4 | ++ GOPRO_MODEL_HERO_4_BLACK + | +Hero 4 Black. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GOPRO_BURST_RATE_3_IN_1_SECOND + | +3 Shots / 1 Second. | +
| 1 | ++ GOPRO_BURST_RATE_5_IN_1_SECOND + | +5 Shots / 1 Second. | +
| 2 | ++ GOPRO_BURST_RATE_10_IN_1_SECOND + | +10 Shots / 1 Second. | +
| 3 | ++ GOPRO_BURST_RATE_10_IN_2_SECOND + | +10 Shots / 2 Second. | +
| 4 | ++ GOPRO_BURST_RATE_10_IN_3_SECOND + | +10 Shots / 3 Second (Hero 4 Only). | +
| 5 | ++ GOPRO_BURST_RATE_30_IN_1_SECOND + | +30 Shots / 1 Second. | +
| 6 | ++ GOPRO_BURST_RATE_30_IN_2_SECOND + | +30 Shots / 2 Second. | +
| 7 | ++ GOPRO_BURST_RATE_30_IN_3_SECOND + | +30 Shots / 3 Second. | +
| 8 | ++ GOPRO_BURST_RATE_30_IN_6_SECOND + | +30 Shots / 6 Second. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ LED_CONTROL_PATTERN_OFF + | +LED patterns off (return control to regular vehicle control). | +
| 1 | ++ LED_CONTROL_PATTERN_FIRMWAREUPDATE + | +LEDs show pattern during firmware update. | +
| 255 | ++ LED_CONTROL_PATTERN_CUSTOM + | +Custom Pattern using custom bytes fields. | +
Flags in EKF_STATUS message.
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ EKF_ATTITUDE + | +Set if EKF's attitude estimate is good. | +
| 2 | ++ EKF_VELOCITY_HORIZ + | +Set if EKF's horizontal velocity estimate is good. | +
| 4 | ++ EKF_VELOCITY_VERT + | +Set if EKF's vertical velocity estimate is good. | +
| 8 | ++ EKF_POS_HORIZ_REL + | +Set if EKF's horizontal position (relative) estimate is good. | +
| 16 | ++ EKF_POS_HORIZ_ABS + | +Set if EKF's horizontal position (absolute) estimate is good. | +
| 32 | ++ EKF_POS_VERT_ABS + | +Set if EKF's vertical position (absolute) estimate is good. | +
| 64 | ++ EKF_POS_VERT_AGL + | +Set if EKF's vertical position (above ground) estimate is good. | +
| 128 | ++ EKF_CONST_POS_MODE + | +EKF is in constant position mode and does not know it's absolute or relative position. | +
| 256 | ++ EKF_PRED_POS_HORIZ_REL + | +Set if EKF's predicted horizontal position (relative) estimate is good. | +
| 512 | ++ EKF_PRED_POS_HORIZ_ABS + | +Set if EKF's predicted horizontal position (absolute) estimate is good. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ PID_TUNING_ROLL + | ++ | +
| 2 | ++ PID_TUNING_PITCH + | ++ | +
| 3 | ++ PID_TUNING_YAW + | ++ | +
| 4 | ++ PID_TUNING_ACCZ + | ++ | +
| 5 | ++ PID_TUNING_STEER + | ++ | +
| 6 | ++ PID_TUNING_LANDING + | ++ | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAG_CAL_NOT_STARTED + | ++ | +
| 1 | ++ MAG_CAL_WAITING_TO_START + | ++ | +
| 2 | ++ MAG_CAL_RUNNING_STEP_ONE + | ++ | +
| 3 | ++ MAG_CAL_RUNNING_STEP_TWO + | ++ | +
| 4 | ++ MAG_CAL_SUCCESS + | ++ | +
| 5 | ++ MAG_CAL_FAILED + | ++ | +
| 6 | ++ MAG_CAL_BAD_ORIENTATION + | ++ | +
Special ACK block numbers control activation of dataflash log streaming.
+| Value | +Field Name | +Description | +
|---|---|---|
| 2147483645 | ++ MAV_REMOTE_LOG_DATA_BLOCK_STOP + | +UAV to stop sending DataFlash blocks. | +
| 2147483646 | ++ MAV_REMOTE_LOG_DATA_BLOCK_START + | +UAV to start sending DataFlash blocks. | +
Possible remote log data block statuses.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_REMOTE_LOG_DATA_BLOCK_NACK + | +This block has NOT been received. | +
| 1 | ++ MAV_REMOTE_LOG_DATA_BLOCK_ACK + | +This block has been received. | +
Bus types for device operations.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ DEVICE_OP_BUSTYPE_I2C + | +I2C Device operation. | +
| 1 | ++ DEVICE_OP_BUSTYPE_SPI + | +SPI Device operation. | +
Deepstall flight stage.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ DEEPSTALL_STAGE_FLY_TO_LANDING + | +Flying to the landing point. | +
| 1 | ++ DEEPSTALL_STAGE_ESTIMATE_WIND + | +Building an estimate of the wind. | +
| 2 | ++ DEEPSTALL_STAGE_WAIT_FOR_BREAKOUT + | +Waiting to breakout of the loiter to fly the approach. | +
| 3 | ++ DEEPSTALL_STAGE_FLY_TO_ARC + | +Flying to the first arc point to turn around to the landing point. | +
| 4 | ++ DEEPSTALL_STAGE_ARC + | +Turning around back to the deepstall landing point. | +
| 5 | ++ DEEPSTALL_STAGE_APPROACH + | +Approaching the landing point. | +
| 6 | ++ DEEPSTALL_STAGE_LAND + | +Stalling and steering towards the land point. | +
A mapping of plane flight modes for custom_mode field of heartbeat.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ PLANE_MODE_MANUAL + | ++ | +
| 1 | ++ PLANE_MODE_CIRCLE + | ++ | +
| 2 | ++ PLANE_MODE_STABILIZE + | ++ | +
| 3 | ++ PLANE_MODE_TRAINING + | ++ | +
| 4 | ++ PLANE_MODE_ACRO + | ++ | +
| 5 | ++ PLANE_MODE_FLY_BY_WIRE_A + | ++ | +
| 6 | ++ PLANE_MODE_FLY_BY_WIRE_B + | ++ | +
| 7 | ++ PLANE_MODE_CRUISE + | ++ | +
| 8 | ++ PLANE_MODE_AUTOTUNE + | ++ | +
| 10 | ++ PLANE_MODE_AUTO + | ++ | +
| 11 | ++ PLANE_MODE_RTL + | ++ | +
| 12 | ++ PLANE_MODE_LOITER + | ++ | +
| 14 | ++ PLANE_MODE_AVOID_ADSB + | ++ | +
| 15 | ++ PLANE_MODE_GUIDED + | ++ | +
| 16 | ++ PLANE_MODE_INITIALIZING + | ++ | +
| 17 | ++ PLANE_MODE_QSTABILIZE + | ++ | +
| 18 | ++ PLANE_MODE_QHOVER + | ++ | +
| 19 | ++ PLANE_MODE_QLOITER + | ++ | +
| 20 | ++ PLANE_MODE_QLAND + | ++ | +
| 21 | ++ PLANE_MODE_QRTL + | ++ | +
A mapping of copter flight modes for custom_mode field of heartbeat.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ COPTER_MODE_STABILIZE + | ++ | +
| 1 | ++ COPTER_MODE_ACRO + | ++ | +
| 2 | ++ COPTER_MODE_ALT_HOLD + | ++ | +
| 3 | ++ COPTER_MODE_AUTO + | ++ | +
| 4 | ++ COPTER_MODE_GUIDED + | ++ | +
| 5 | ++ COPTER_MODE_LOITER + | ++ | +
| 6 | ++ COPTER_MODE_RTL + | ++ | +
| 7 | ++ COPTER_MODE_CIRCLE + | ++ | +
| 9 | ++ COPTER_MODE_LAND + | ++ | +
| 11 | ++ COPTER_MODE_DRIFT + | ++ | +
| 13 | ++ COPTER_MODE_SPORT + | ++ | +
| 14 | ++ COPTER_MODE_FLIP + | ++ | +
| 15 | ++ COPTER_MODE_AUTOTUNE + | ++ | +
| 16 | ++ COPTER_MODE_POSHOLD + | ++ | +
| 17 | ++ COPTER_MODE_BRAKE + | ++ | +
| 18 | ++ COPTER_MODE_THROW + | ++ | +
| 19 | ++ COPTER_MODE_AVOID_ADSB + | ++ | +
| 20 | ++ COPTER_MODE_GUIDED_NOGPS + | ++ | +
| 21 | ++ COPTER_MODE_SMART_RTL + | ++ | +
A mapping of sub flight modes for custom_mode field of heartbeat.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ SUB_MODE_STABILIZE + | ++ | +
| 1 | ++ SUB_MODE_ACRO + | ++ | +
| 2 | ++ SUB_MODE_ALT_HOLD + | ++ | +
| 3 | ++ SUB_MODE_AUTO + | ++ | +
| 4 | ++ SUB_MODE_GUIDED + | ++ | +
| 7 | ++ SUB_MODE_CIRCLE + | ++ | +
| 9 | ++ SUB_MODE_SURFACE + | ++ | +
| 16 | ++ SUB_MODE_POSHOLD + | ++ | +
| 19 | ++ SUB_MODE_MANUAL + | ++ | +
A mapping of rover flight modes for custom_mode field of heartbeat.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ ROVER_MODE_MANUAL + | ++ | +
| 1 | ++ ROVER_MODE_ACRO + | ++ | +
| 3 | ++ ROVER_MODE_STEERING + | ++ | +
| 4 | ++ ROVER_MODE_HOLD + | ++ | +
| 5 | ++ ROVER_MODE_LOITER + | ++ | +
| 10 | ++ ROVER_MODE_AUTO + | ++ | +
| 11 | ++ ROVER_MODE_RTL + | ++ | +
| 12 | ++ ROVER_MODE_SMART_RTL + | ++ | +
| 15 | ++ ROVER_MODE_GUIDED + | ++ | +
| 16 | ++ ROVER_MODE_INITIALIZING + | ++ | +
A mapping of antenna tracker flight modes for custom_mode field of heartbeat.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ TRACKER_MODE_MANUAL + | ++ | +
| 1 | ++ TRACKER_MODE_STOP + | ++ | +
| 2 | ++ TRACKER_MODE_SCAN + | ++ | +
| 3 | ++ TRACKER_MODE_SERVO_TEST + | ++ | +
| 10 | ++ TRACKER_MODE_AUTO + | ++ | +
| 16 | ++ TRACKER_MODE_INITIALIZING + | ++ | +
Offsets and calibrations values for hardware sensors. This makes it easier to debug the calibration process.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| mag_ofs_x | +int16_t | ++ | +Magnetometer X offset. | +
| mag_ofs_y | +int16_t | ++ | +Magnetometer Y offset. | +
| mag_ofs_z | +int16_t | ++ | +Magnetometer Z offset. | +
| mag_declination | +float | +rad | +Magnetic declination. | +
| raw_press | +int32_t | ++ | +Raw pressure from barometer. | +
| raw_temp | +int32_t | ++ | +Raw temperature from barometer. | +
| gyro_cal_x | +float | ++ | +Gyro X calibration. | +
| gyro_cal_y | +float | ++ | +Gyro Y calibration. | +
| gyro_cal_z | +float | ++ | +Gyro Z calibration. | +
| accel_cal_x | +float | ++ | +Accel X calibration. | +
| accel_cal_y | +float | ++ | +Accel Y calibration. | +
| accel_cal_z | +float | ++ | +Accel Z calibration. | +
Set the magnetometer offsets
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID. | +
| target_component | +uint8_t | +Component ID. | +
| mag_ofs_x | +int16_t | +Magnetometer X offset. | +
| mag_ofs_y | +int16_t | +Magnetometer Y offset. | +
| mag_ofs_z | +int16_t | +Magnetometer Z offset. | +
State of APM memory.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| brkval | +uint16_t | ++ | +Heap top. | +
| freemem | +uint16_t | +bytes | +Free memory. | +
| freemem32 + ** + + | +uint32_t | +bytes | +Free memory (32 bit). | +
Raw ADC output.
+| Field Name | +Type | +Description | +
|---|---|---|
| adc1 | +uint16_t | +ADC output 1. | +
| adc2 | +uint16_t | +ADC output 2. | +
| adc3 | +uint16_t | +ADC output 3. | +
| adc4 | +uint16_t | +ADC output 4. | +
| adc5 | +uint16_t | +ADC output 5. | +
| adc6 | +uint16_t | +ADC output 6. | +
Configure on-board Camera Control System.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ | +System ID. | +
| target_component | +uint8_t | ++ | +Component ID. | +
| mode | +uint8_t | ++ | +Mode enumeration from 1 to N //P, TV, AV, M, etc. (0 means ignore). | +
| shutter_speed | +uint16_t | ++ | +Divisor number //e.g. 1000 means 1/1000 (0 means ignore). | +
| aperture | +uint8_t | ++ | +F stop number x 10 //e.g. 28 means 2.8 (0 means ignore). | +
| iso | +uint8_t | ++ | +ISO enumeration from 1 to N //e.g. 80, 100, 200, Etc (0 means ignore). | +
| exposure_type | +uint8_t | ++ | +Exposure type enumeration from 1 to N (0 means ignore). | +
| command_id | +uint8_t | ++ | +Command Identity (incremental loop: 0 to 255). //A command sent multiple times will be executed or pooled just once. | +
| engine_cut_off | +uint8_t | +ds | +Main engine cut-off time before camera trigger (0 means no cut-off). | +
| extra_param | +uint8_t | ++ | +Extra parameters enumeration (0 means ignore). | +
| extra_value | +float | ++ | +Correspondent value to given extra_param. | +
Control on-board Camera Control System to take shots.
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID. | +
| target_component | +uint8_t | +Component ID. | +
| session | +uint8_t | +0: stop, 1: start or keep it up //Session control e.g. show/hide lens. | +
| zoom_pos | +uint8_t | +1 to N //Zoom's absolute position (0 means ignore). | +
| zoom_step | +int8_t | ++ -100 to 100 //Zooming step value to offset zoom from the current position. + | +
| focus_lock | +uint8_t | +0: unlock focus or keep unlocked, 1: lock focus or keep locked, 3: re-lock focus. | +
| shot | +uint8_t | +0: ignore, 1: shot or start filming. | +
| command_id | +uint8_t | +Command Identity (incremental loop: 0 to 255)//A command sent multiple times will be executed or pooled just once. | +
| extra_param | +uint8_t | +Extra parameters enumeration (0 means ignore). | +
| extra_value | +float | +Correspondent value to given extra_param. | +
Message to configure a camera mount, directional antenna, etc.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System ID. | +
| target_component | +uint8_t | ++ + + | +Component ID. | +
| mount_mode | +uint8_t | ++ MAV_MOUNT_MODE + | +Mount operating mode. | +
| stab_roll | +uint8_t | ++ + + | ++ (1 = yes, 0 = no). + | +
| stab_pitch | +uint8_t | ++ + + | ++ (1 = yes, 0 = no). + | +
| stab_yaw | +uint8_t | ++ + + | ++ (1 = yes, 0 = no). + | +
Message to control a camera mount, directional antenna, etc.
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID. | +
| target_component | +uint8_t | +Component ID. | +
| input_a | +int32_t | +Pitch (centi-degrees) or lat (degE7), depending on mount mode. | +
| input_b | +int32_t | +Roll (centi-degrees) or lon (degE7) depending on mount mode. | +
| input_c | +int32_t | +Yaw (centi-degrees) or alt (cm) depending on mount mode. | +
| save_position | +uint8_t | +If "1" it will save current trimmed position on EEPROM (just valid for NEUTRAL and LANDING). | +
Message with some status from APM to GCS about camera or antenna mount.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ | +System ID. | +
| target_component | +uint8_t | ++ | +Component ID. | +
| pointing_a | +int32_t | +cdeg | +Pitch. | +
| pointing_b | +int32_t | +cdeg | +Roll. | +
| pointing_c | +int32_t | +cdeg | +Yaw. | +
A fence point. Used to set a point when from GCS -> MAV. Also used to return a point from MAV -> GCS.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ | +System ID. | +
| target_component | +uint8_t | ++ | +Component ID. | +
| idx | +uint8_t | ++ | +Point index (first point is 1, 0 is for return point). | +
| count | +uint8_t | ++ | +Total number of points (for sanity checking). | +
| lat | +float | +deg | +Latitude of point. | +
| lng | +float | +deg | +Longitude of point. | +
Request a current fence point from MAV.
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID. | +
| target_component | +uint8_t | +Component ID. | +
| idx | +uint8_t | +Point index (first point is 1, 0 is for return point). | +
Status of geo-fencing. Sent in extended status stream when fencing enabled.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| breach_status | +uint8_t | ++ | ++ + + | +Breach status (0 if currently inside fence, 1 if outside). | +
| breach_count | +uint16_t | ++ | ++ + + | +Number of fence breaches. | +
| breach_type | +uint8_t | ++ | ++ FENCE_BREACH + | +Last breach type. | +
| breach_time | +uint32_t | +ms | ++ + + | +Time (since boot) of last breach. | +
Status of DCM attitude estimator.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| omegaIx | +float | +rad/s | +X gyro drift estimate. | +
| omegaIy | +float | +rad/s | +Y gyro drift estimate. | +
| omegaIz | +float | +rad/s | +Z gyro drift estimate. | +
| accel_weight | +float | ++ | +Average accel_weight. | +
| renorm_val | +float | ++ | +Average renormalisation value. | +
| error_rp | +float | ++ | +Average error_roll_pitch value. | +
| error_yaw | +float | ++ | +Average error_yaw value. | +
Status of simulation environment, if used.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| roll | +float | +rad | +Roll angle. | +
| pitch | +float | +rad | +Pitch angle. | +
| yaw | +float | +rad | +Yaw angle. | +
| xacc | +float | +m/s/s | +X acceleration. | +
| yacc | +float | +m/s/s | +Y acceleration. | +
| zacc | +float | +m/s/s | +Z acceleration. | +
| xgyro | +float | +rad/s | +Angular speed around X axis. | +
| ygyro | +float | +rad/s | +Angular speed around Y axis. | +
| zgyro | +float | +rad/s | +Angular speed around Z axis. | +
| lat | +int32_t | +degE7 | +Latitude. | +
| lng | +int32_t | +degE7 | +Longitude. | +
Status of key hardware.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| Vcc | +uint16_t | +mV | +Board voltage. | +
| I2Cerr | +uint8_t | ++ | +I2C error count. | +
Status generated by radio.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| rssi | +uint8_t | ++ | +Local signal strength. | +
| remrssi | +uint8_t | ++ | +Remote signal strength. | +
| txbuf | +uint8_t | ++ % + | +How full the tx buffer is. | +
| noise | +uint8_t | ++ | +Background noise level. | +
| remnoise | +uint8_t | ++ | +Remote background noise level. | +
| rxerrors | +uint16_t | ++ | +Receive errors. | +
| fixed | +uint16_t | ++ | +Count of error corrected packets. | +
Status of AP_Limits. Sent in extended status stream when AP_Limits is enabled.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| limits_state | +uint8_t | ++ | ++ LIMITS_STATE + | +State of AP_Limits. | +
| last_trigger | +uint32_t | +ms | ++ + + | +Time (since boot) of last breach. | +
| last_action | +uint32_t | +ms | ++ + + | +Time (since boot) of last recovery action. | +
| last_recovery | +uint32_t | +ms | ++ + + | +Time (since boot) of last successful recovery. | +
| last_clear | +uint32_t | +ms | ++ + + | +Time (since boot) of last all-clear. | +
| breach_count | +uint16_t | ++ | ++ + + | +Number of fence breaches. | +
| mods_enabled | +uint8_t | ++ | ++ LIMIT_MODULE + | +AP_Limit_Module bitfield of enabled modules. | +
| mods_required | +uint8_t | ++ | ++ LIMIT_MODULE + | +AP_Limit_Module bitfield of required modules. | +
| mods_triggered | +uint8_t | ++ | ++ LIMIT_MODULE + | +AP_Limit_Module bitfield of triggered modules. | +
Wind estimation.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| direction | +float | +deg | +Wind direction (that wind is coming from). | +
| speed | +float | +m/s | +Wind speed in ground plane. | +
| speed_z | +float | +m/s | +Vertical wind speed. | +
Data packet, size 16.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| type | +uint8_t | ++ | +Data type. | +
| len | +uint8_t | +bytes | +Data length. | +
| data | +uint8_t[16] | ++ | +Raw data. | +
Data packet, size 32.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| type | +uint8_t | ++ | +Data type. | +
| len | +uint8_t | +bytes | +Data length. | +
| data | +uint8_t[32] | ++ | +Raw data. | +
Data packet, size 64.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| type | +uint8_t | ++ | +Data type. | +
| len | +uint8_t | +bytes | +Data length. | +
| data | +uint8_t[64] | ++ | +Raw data. | +
Data packet, size 96.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| type | +uint8_t | ++ | +Data type. | +
| len | +uint8_t | +bytes | +Data length. | +
| data | +uint8_t[96] | ++ | +Raw data. | +
Rangefinder reporting.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| distance | +float | +m | +Distance. | +
| voltage | +float | +V | +Raw voltage if available, zero otherwise. | +
Airspeed auto-calibration.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| vx | +float | +m/s | +GPS velocity north. | +
| vy | +float | +m/s | +GPS velocity east. | +
| vz | +float | +m/s | +GPS velocity down. | +
| diff_pressure | +float | +Pa | +Differential pressure. | +
| EAS2TAS | +float | ++ | +Estimated to true airspeed ratio. | +
| ratio | +float | ++ | +Airspeed ratio. | +
| state_x | +float | ++ | +EKF state x. | +
| state_y | +float | ++ | +EKF state y. | +
| state_z | +float | ++ | +EKF state z. | +
| Pax | +float | ++ | +EKF Pax. | +
| Pby | +float | ++ | +EKF Pby. | +
| Pcz | +float | ++ | +EKF Pcz. | +
A rally point. Used to set a point when from GCS -> MAV. Also used to return a point from MAV -> GCS.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| target_system | +uint8_t | ++ | ++ + + | +System ID. | +
| target_component | +uint8_t | ++ | ++ + + | +Component ID. | +
| idx | +uint8_t | ++ | ++ + + | +Point index (first point is 0). | +
| count | +uint8_t | ++ | ++ + + | +Total number of points (for sanity checking). | +
| lat | +int32_t | +degE7 | ++ + + | +Latitude of point. | +
| lng | +int32_t | +degE7 | ++ + + | +Longitude of point. | +
| alt | +int16_t | +m | ++ + + | +Transit / loiter altitude relative to home. | +
| break_alt | +int16_t | +m | ++ + + | +Break altitude relative to home. | +
| land_dir | +uint16_t | +cdeg | ++ + + | +Heading to aim for when landing. | +
| flags | +uint8_t | ++ | ++ RALLY_FLAGS + | +Configuration flags. | +
Request a current rally point from MAV. MAV should respond with a RALLY_POINT message. MAV should not respond if the request is invalid.
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID. | +
| target_component | +uint8_t | +Component ID. | +
| idx | +uint8_t | +Point index (first point is 0). | +
Status of compassmot calibration.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| throttle | +uint16_t | +d% | +Throttle. | +
| current | +float | +A | +Current. | +
| interference | +uint16_t | ++ % + | +Interference. | +
| CompensationX | +float | ++ | +Motor Compensation X. | +
| CompensationY | +float | ++ | +Motor Compensation Y. | +
| CompensationZ | +float | ++ | +Motor Compensation Z. | +
Status of secondary AHRS filter if available.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| roll | +float | +rad | +Roll angle. | +
| pitch | +float | +rad | +Pitch angle. | +
| yaw | +float | +rad | +Yaw angle. | +
| altitude | +float | +m | +Altitude (MSL). | +
| lat | +int32_t | +degE7 | +Latitude. | +
| lng | +int32_t | +degE7 | +Longitude. | +
Camera Event.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_usec | +uint64_t | +us | ++ + + | +Image timestamp (since UNIX epoch, according to camera clock). | +
| target_system | +uint8_t | ++ | ++ + + | +System ID. | +
| cam_idx | +uint8_t | ++ | ++ + + | +Camera ID. | +
| img_idx | +uint16_t | ++ | ++ + + | +Image index. | +
| event_id | +uint8_t | ++ | ++ CAMERA_STATUS_TYPES + | +Event type. | +
| p1 | +float | ++ | ++ + + | +Parameter 1 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum). | +
| p2 | +float | ++ | ++ + + | +Parameter 2 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum). | +
| p3 | +float | ++ | ++ + + | +Parameter 3 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum). | +
| p4 | +float | ++ | ++ + + | +Parameter 4 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum). | +
Camera Capture Feedback.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_usec | +uint64_t | +us | ++ + + | +Image timestamp (since UNIX epoch), as passed in by CAMERA_STATUS message (or autopilot if no CCB). | +
| target_system | +uint8_t | ++ | ++ + + | +System ID. | +
| cam_idx | +uint8_t | ++ | ++ + + | +Camera ID. | +
| img_idx | +uint16_t | ++ | ++ + + | +Image index. | +
| lat | +int32_t | +degE7 | ++ + + | +Latitude. | +
| lng | +int32_t | +degE7 | ++ + + | +Longitude. | +
| alt_msl | +float | +m | ++ + + | +Altitude Absolute (AMSL). | +
| alt_rel | +float | +m | ++ + + | +Altitude Relative (above HOME location). | +
| roll | +float | +deg | ++ + + | +Camera Roll angle (earth frame, +-180). | +
| pitch | +float | +deg | ++ + + | +Camera Pitch angle (earth frame, +-180). | +
| yaw | +float | +deg | ++ + + | +Camera Yaw (earth frame, 0-360, true). | +
| foc_len | +float | +mm | ++ + + | +Focal Length. | +
| flags | +uint8_t | ++ | ++ CAMERA_FEEDBACK_FLAGS + | +Feedback flags. | +
| completed_captures + ** + + | +uint16_t | ++ | ++ + + | +Completed image captures. | +
2nd Battery status
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| voltage | +uint16_t | +mV | +Voltage. | +
| current_battery | +int16_t | +cA | +Battery current, -1: autopilot does not measure the current. | +
Status of third AHRS filter if available. This is for ANU research group (Ali and Sean).
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| roll | +float | +rad | +Roll angle. | +
| pitch | +float | +rad | +Pitch angle. | +
| yaw | +float | +rad | +Yaw angle. | +
| altitude | +float | +m | +Altitude (MSL). | +
| lat | +int32_t | +degE7 | +Latitude. | +
| lng | +int32_t | +degE7 | +Longitude. | +
| v1 | +float | ++ | +Test variable1. | +
| v2 | +float | ++ | +Test variable2. | +
| v3 | +float | ++ | +Test variable3. | +
| v4 | +float | ++ | +Test variable4. | +
Request the autopilot version from the system/component.
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID. | +
| target_component | +uint8_t | +Component ID. | +
Send a block of log data to remote location.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System ID. | +
| target_component | +uint8_t | ++ + + | +Component ID. | +
| seqno | +uint32_t | ++ MAV_REMOTE_LOG_DATA_BLOCK_COMMANDS + | +Log data block sequence number. | +
| data | +uint8_t[200] | ++ + + | +Log data block. | +
Send Status of each log block that autopilot board might have sent.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System ID. | +
| target_component | +uint8_t | ++ + + | +Component ID. | +
| seqno | +uint32_t | ++ + + | +Log data block sequence number. | +
| status | +uint8_t | ++ MAV_REMOTE_LOG_DATA_BLOCK_STATUSES + | +Log data block status. | +
Control vehicle LEDs.
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID. | +
| target_component | +uint8_t | +Component ID. | +
| instance | +uint8_t | +Instance (LED instance to control or 255 for all LEDs). | +
| pattern | +uint8_t | +Pattern (see LED_PATTERN_ENUM). | +
| custom_len | +uint8_t | +Custom Byte Length. | +
| custom_bytes | +uint8_t[24] | +Custom Bytes. | +
Reports progress of compass calibration.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| compass_id | +uint8_t | ++ | ++ + + | +Compass being calibrated. | +
| cal_mask | +uint8_t | ++ | ++ + + | +Bitmask of compasses being calibrated. | +
| cal_status | +uint8_t | ++ | ++ MAG_CAL_STATUS + | +Calibration Status. | +
| attempt | +uint8_t | ++ | ++ + + | +Attempt number. | +
| completion_pct | +uint8_t | ++ % + | ++ + + | +Completion percentage. | +
| completion_mask | +uint8_t[10] | ++ | ++ + + | +Bitmask of sphere sections (see http://en.wikipedia.org/wiki/Geodesic_grid). | +
| direction_x | +float | ++ | ++ + + | +Body frame direction vector for display. | +
| direction_y | +float | ++ | ++ + + | +Body frame direction vector for display. | +
| direction_z | +float | ++ | ++ + + | +Body frame direction vector for display. | +
Reports results of completed compass calibration. Sent until MAG_CAL_ACK received.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| compass_id | +uint8_t | ++ | ++ + + | +Compass being calibrated. | +
| cal_mask | +uint8_t | ++ | ++ + + | +Bitmask of compasses being calibrated. | +
| cal_status | +uint8_t | ++ | ++ MAG_CAL_STATUS + | +Calibration Status. | +
| autosaved | +uint8_t | ++ | ++ + + | +0=requires a MAV_CMD_DO_ACCEPT_MAG_CAL, 1=saved to parameters. | +
| fitness | +float | +mgauss | ++ + + | +RMS milligauss residuals. | +
| ofs_x | +float | ++ | ++ + + | +X offset. | +
| ofs_y | +float | ++ | ++ + + | +Y offset. | +
| ofs_z | +float | ++ | ++ + + | +Z offset. | +
| diag_x | +float | ++ | ++ + + | +X diagonal (matrix 11). | +
| diag_y | +float | ++ | ++ + + | +Y diagonal (matrix 22). | +
| diag_z | +float | ++ | ++ + + | +Z diagonal (matrix 33). | +
| offdiag_x | +float | ++ | ++ + + | +X off-diagonal (matrix 12 and 21). | +
| offdiag_y | +float | ++ | ++ + + | +Y off-diagonal (matrix 13 and 31). | +
| offdiag_z | +float | ++ | ++ + + | +Z off-diagonal (matrix 32 and 23). | +
| orientation_confidence + ** + + | +float | ++ | ++ + + | +Confidence in orientation (higher is better). | +
| old_orientation + ** + + | +uint8_t | ++ | ++ MAV_SENSOR_ORIENTATION + | +orientation before calibration. | +
| new_orientation + ** + + | +uint8_t | ++ | ++ MAV_SENSOR_ORIENTATION + | +orientation after calibration. | +
EKF Status message including flags and variances.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| flags | +uint16_t | ++ EKF_STATUS_FLAGS + | +Flags. | +
| velocity_variance | +float | ++ + + | +Velocity variance. | +
| pos_horiz_variance | +float | ++ + + | +Horizontal Position variance. | +
| pos_vert_variance | +float | ++ + + | +Vertical Position variance. | +
| compass_variance | +float | ++ + + | +Compass variance. | +
| terrain_alt_variance | +float | ++ + + | +Terrain Altitude variance. | +
| airspeed_variance + ** + + | +float | ++ + + | +Airspeed variance. | +
PID tuning information.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| axis | +uint8_t | ++ | ++ PID_TUNING_AXIS + | +Axis. | +
| desired | +float | +deg/s | ++ + + | +Desired rate. | +
| achieved | +float | +deg/s | ++ + + | +Achieved rate. | +
| FF | +float | ++ | ++ + + | +FF component. | +
| P | +float | ++ | ++ + + | +P component. | +
| I | +float | ++ | ++ + + | +I component. | +
| D | +float | ++ | ++ + + | +D component. | +
Deepstall path planning.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| landing_lat | +int32_t | +degE7 | ++ + + | +Landing latitude. | +
| landing_lon | +int32_t | +degE7 | ++ + + | +Landing longitude. | +
| path_lat | +int32_t | +degE7 | ++ + + | +Final heading start point, latitude. | +
| path_lon | +int32_t | +degE7 | ++ + + | +Final heading start point, longitude. | +
| arc_entry_lat | +int32_t | +degE7 | ++ + + | +Arc entry point, latitude. | +
| arc_entry_lon | +int32_t | +degE7 | ++ + + | +Arc entry point, longitude. | +
| altitude | +float | +m | ++ + + | +Altitude. | +
| expected_travel_distance | +float | +m | ++ + + | +Distance the aircraft expects to travel during the deepstall. | +
| cross_track_error | +float | +m | ++ + + | +Deepstall cross track error (only valid when in DEEPSTALL_STAGE_LAND). | +
| stage | +uint8_t | ++ | ++ DEEPSTALL_STAGE + | +Deepstall stage. | +
3 axis gimbal measurements.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ | +System ID. | +
| target_component | +uint8_t | ++ | +Component ID. | +
| delta_time | +float | +s | +Time since last update. | +
| delta_angle_x | +float | +rad | +Delta angle X. | +
| delta_angle_y | +float | +rad | +Delta angle Y. | +
| delta_angle_z | +float | +rad | +Delta angle X. | +
| delta_velocity_x | +float | +m/s | +Delta velocity X. | +
| delta_velocity_y | +float | +m/s | +Delta velocity Y. | +
| delta_velocity_z | +float | +m/s | +Delta velocity Z. | +
| joint_roll | +float | +rad | +Joint ROLL. | +
| joint_el | +float | +rad | +Joint EL. | +
| joint_az | +float | +rad | +Joint AZ. | +
Control message for rate gimbal.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ | +System ID. | +
| target_component | +uint8_t | ++ | +Component ID. | +
| demanded_rate_x | +float | +rad/s | +Demanded angular rate X. | +
| demanded_rate_y | +float | +rad/s | +Demanded angular rate Y. | +
| demanded_rate_z | +float | +rad/s | +Demanded angular rate Z. | +
100 Hz gimbal torque command telemetry.
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID. | +
| target_component | +uint8_t | +Component ID. | +
| rl_torque_cmd | +int16_t | +Roll Torque Command. | +
| el_torque_cmd | +int16_t | +Elevation Torque Command. | +
| az_torque_cmd | +int16_t | +Azimuth Torque Command. | +
Heartbeat from a HeroBus attached GoPro.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| status | +uint8_t | ++ GOPRO_HEARTBEAT_STATUS + | +Status. | +
| capture_mode | +uint8_t | ++ GOPRO_CAPTURE_MODE + | +Current capture mode. | +
| flags | +uint8_t | ++ GOPRO_HEARTBEAT_FLAGS + | +Additional status bits. | +
Request a GOPRO_COMMAND response from the GoPro.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System ID. | +
| target_component | +uint8_t | ++ + + | +Component ID. | +
| cmd_id | +uint8_t | ++ GOPRO_COMMAND + | +Command ID. | +
Response from a GOPRO_COMMAND get request.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| cmd_id | +uint8_t | ++ GOPRO_COMMAND + | +Command ID. | +
| status | +uint8_t | ++ GOPRO_REQUEST_STATUS + | +Status. | +
| value | +uint8_t[4] | ++ + + | +Value. | +
Request to set a GOPRO_COMMAND with a desired.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System ID. | +
| target_component | +uint8_t | ++ + + | +Component ID. | +
| cmd_id | +uint8_t | ++ GOPRO_COMMAND + | +Command ID. | +
| value | +uint8_t[4] | ++ + + | +Value. | +
Response from a GOPRO_COMMAND set request.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| cmd_id | +uint8_t | ++ GOPRO_COMMAND + | +Command ID. | +
| status | +uint8_t | ++ GOPRO_REQUEST_STATUS + | +Status. | +
RPM sensor output.
+| Field Name | +Type | +Description | +
|---|---|---|
| rpm1 | +float | +RPM Sensor1. | +
| rpm2 | +float | +RPM Sensor2. | +
+ + (MAVLink 2) + Read registers for a device.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System ID. | +
| target_component | +uint8_t | ++ + + | +Component ID. | +
| request_id | +uint32_t | ++ + + | +Request ID - copied to reply. | +
| bustype | +uint8_t | ++ DEVICE_OP_BUSTYPE + | +The bus type. | +
| bus | +uint8_t | ++ + + | +Bus number. | +
| address | +uint8_t | ++ + + | +Bus address. | +
| busname | +char[40] | ++ + + | +Name of device on bus (for SPI). | +
| regstart | +uint8_t | ++ + + | +First register to read. | +
| count | +uint8_t | ++ + + | +Count of registers to read. | +
+ + (MAVLink 2) + Read registers reply.
+| Field Name | +Type | +Description | +
|---|---|---|
| request_id | +uint32_t | +Request ID - copied from request. | +
| result | +uint8_t | +0 for success, anything else is failure code. | +
| regstart | +uint8_t | +Starting register. | +
| count | +uint8_t | +Count of bytes read. | +
| data | +uint8_t[128] | +Reply data. | +
+ + (MAVLink 2) + Write registers for a device.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System ID. | +
| target_component | +uint8_t | ++ + + | +Component ID. | +
| request_id | +uint32_t | ++ + + | +Request ID - copied to reply. | +
| bustype | +uint8_t | ++ DEVICE_OP_BUSTYPE + | +The bus type. | +
| bus | +uint8_t | ++ + + | +Bus number. | +
| address | +uint8_t | ++ + + | +Bus address. | +
| busname | +char[40] | ++ + + | +Name of device on bus (for SPI). | +
| regstart | +uint8_t | ++ + + | +First register to write. | +
| count | +uint8_t | ++ + + | +Count of registers to write. | +
| data | +uint8_t[128] | ++ + + | +Write data. | +
+ + (MAVLink 2) + Write registers reply.
+| Field Name | +Type | +Description | +
|---|---|---|
| request_id | +uint32_t | +Request ID - copied from request. | +
| result | +uint8_t | +0 for success, anything else is failure code. | +
+ + (MAVLink 2) + Adaptive Controller tuning information.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| axis | +uint8_t | ++ | ++ PID_TUNING_AXIS + | +Axis. | +
| desired | +float | +deg/s | ++ + + | +Desired rate. | +
| achieved | +float | +deg/s | ++ + + | +Achieved rate. | +
| error | +float | ++ | ++ + + | +Error between model and vehicle. | +
| theta | +float | ++ | ++ + + | +Theta estimated state predictor. | +
| omega | +float | ++ | ++ + + | +Omega estimated state predictor. | +
| sigma | +float | ++ | ++ + + | +Sigma estimated state predictor. | +
| theta_dot | +float | ++ | ++ + + | +Theta derivative. | +
| omega_dot | +float | ++ | ++ + + | +Omega derivative. | +
| sigma_dot | +float | ++ | ++ + + | +Sigma derivative. | +
| f | +float | ++ | ++ + + | +Projection operator value. | +
| f_dot | +float | ++ | ++ + + | +Projection operator derivative. | +
| u | +float | ++ | ++ + + | +u adaptive controlled output command. | +
+ + (MAVLink 2) + Camera vision based attitude and position deltas.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (synced to UNIX time or since system boot). | +
| time_delta_usec | +uint64_t | +us | +Time since the last reported camera frame. | +
| angle_delta | +float[3] | ++ | +Defines a rotation vector in body frame that rotates the vehicle from the previous to the current orientation. | +
| position_delta | +float[3] | +m | +Change in position from previous to current frame rotated into body frame (0=forward, 1=right, 2=down). | +
| confidence | +float | ++ % + | +Normalised confidence value from 0 to 100. | +
+ + (MAVLink 2) + Angle of Attack and Side Slip Angle.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (since boot or Unix epoch). | +
| AOA | +float | +deg | +Angle of Attack. | +
| SSA | +float | +deg | +Side Slip Angle. | +
+ + (MAVLink 2) + ESC Telemetry Data for ESCs 1 to 4, matching data sent by BLHeli ESCs
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| temperature | +uint8_t[4] | +degC | +Temperature | +
| voltage | +uint16_t[4] | +cV | +Voltage | +
| current | +uint16_t[4] | +cA | +Current | +
| totalcurrent | +uint16_t[4] | +mAh | +Total current | +
| rpm | +uint16_t[4] | +rpm | +RPM (eRPM) | +
| count | +uint16_t[4] | ++ | +count of telemetry packets received (wraps at 65535) | +
+ + (MAVLink 2) + ESC Telemetry Data for ESCs 5 to 8, matching data sent by BLHeli ESCs
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| temperature | +uint8_t[4] | +degC | +Temperature | +
| voltage | +uint16_t[4] | +cV | +Voltage | +
| current | +uint16_t[4] | +cA | +Current | +
| totalcurrent | +uint16_t[4] | +mAh | +Total current | +
| rpm | +uint16_t[4] | +rpm | +RPM (eRPM) | +
| count | +uint16_t[4] | ++ | +count of telemetry packets received (wraps at 65535) | +
+ + (MAVLink 2) + ESC Telemetry Data for ESCs 9 to 12, matching data sent by BLHeli ESCs
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| temperature | +uint8_t[4] | +degC | +Temperature | +
| voltage | +uint16_t[4] | +cV | +Voltage | +
| current | +uint16_t[4] | +cA | +Current | +
| totalcurrent | +uint16_t[4] | +mAh | +Total current | +
| rpm | +uint16_t[4] | +rpm | +RPM (eRPM) | +
| count | +uint16_t[4] | ++ | +count of telemetry packets received (wraps at 65535) | +
+ MAVLink Include Files: + common.xml +
+The current MAVLink version is 2.3. The minor version numbers (after the dot) range from 1-255.
+Track current version of these definitions (can be used by checking value of AUTOQUAD_MAVLINK_DEFS_VERSION_ENUM_END). Append a new entry for each published change.
+| Value | +Field Name | +Description | +
|---|---|---|
| + | ++ AQ_MAVLINK_DEFS_VERSION_1 + | ++ | +
Available operating modes/statuses for AutoQuad flight controller. + Bitmask up to 32 bits. Low side bits for base modes, high side for + additional active features/modifiers/constraints.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ AQ_NAV_STATUS_INIT + | +System is initializing | +
| 0x00000001 | ++ AQ_NAV_STATUS_STANDBY + | +System is *armed* and standing by, with no throttle input and no autonomous mode | +
| 0x00000002 | ++ AQ_NAV_STATUS_MANUAL + | +Flying (throttle input detected), assumed under manual control unless other mode bits are set | +
| 0x00000004 | ++ AQ_NAV_STATUS_ALTHOLD + | +Altitude hold engaged | +
| 0x00000008 | ++ AQ_NAV_STATUS_POSHOLD + | +Position hold engaged | +
| 0x00000010 | ++ AQ_NAV_STATUS_GUIDED + | +Externally-guided (eg. GCS) navigation mode | +
| 0x00000020 | ++ AQ_NAV_STATUS_MISSION + | +Autonomous mission execution mode | +
| 0x00000100 | ++ AQ_NAV_STATUS_READY + | +Ready but *not armed* | +
| 0x00000200 | ++ AQ_NAV_STATUS_CALIBRATING + | +Calibration mode active | +
| 0x00001000 | ++ AQ_NAV_STATUS_NO_RC + | +No valid control input (eg. no radio link) | +
| 0x00002000 | ++ AQ_NAV_STATUS_FUEL_LOW + | +Battery is low (stage 1 warning) | +
| 0x00004000 | ++ AQ_NAV_STATUS_FUEL_CRITICAL + | +Battery is depleted (stage 2 warning) | +
| 0x01000000 | ++ AQ_NAV_STATUS_DVH + | +Dynamic Velocity Hold is active (PH with proportional manual direction override) | +
| 0x02000000 | ++ AQ_NAV_STATUS_DAO + | +ynamic Altitude Override is active (AH with proportional manual adjustment) | +
| 0x04000000 | ++ AQ_NAV_STATUS_CEILING_REACHED + | +Craft is at ceiling altitude | +
| 0x08000000 | ++ AQ_NAV_STATUS_CEILING + | +Ceiling altitude is set | +
| 0x10000000 | ++ AQ_NAV_STATUS_HF_DYNAMIC + | +Heading-Free dynamic mode active | +
| 0x20000000 | ++ AQ_NAV_STATUS_HF_LOCKED + | +Heading-Free locked mode active | +
| 0x40000000 | ++ AQ_NAV_STATUS_RTH + | +Automatic Return to Home is active | +
| 0x80000000 | ++ AQ_NAV_STATUS_FAILSAFE + | +System is in failsafe recovery mode | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ MAV_CMD_AQ_NAV_LEG_ORBIT + | +Orbit a waypoint. | +
| + | +||
| + | +Mission Param #1 | +Orbit radius in meters | +
| + | +Mission Param #2 | +Loiter time in decimal seconds | +
| + | +Mission Param #3 | +Maximum horizontal speed in m/s | +
| + | +Mission Param #4 | +Desired yaw angle at waypoint | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Altitude | +
|
+ + |
+ ||
| 2 | ++ MAV_CMD_AQ_TELEMETRY + | +Start/stop AutoQuad telemetry values stream. | +
| + | +||
| + | +Mission Param #1 | +Start or stop (1 or 0) | +
| + | +Mission Param #2 | +Stream frequency in us | +
| + | +Mission Param #3 | +Dataset ID (refer to aq_mavlink.h::mavlinkCustomDataSets enum in AQ flight controller code) | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 4 | ++ MAV_CMD_AQ_REQUEST_VERSION + | +Request AutoQuad firmware version number. | +
| + | +||
| + | +Mission Param #1 | +Empty | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
+
+| Value | +Field Name | +Description | +
|---|---|---|
| + | ++ MAV_DATA_STREAM_PROPULSION + | +Motor/ESC telemetry data. | +
Sends up to 20 raw float values.
+| Field Name | +Type | +Description | +
|---|---|---|
| Index | +uint16_t | +Index of message | +
| value1 | +float | +value1 | +
| value2 | +float | +value2 | +
| value3 | +float | +value3 | +
| value4 | +float | +value4 | +
| value5 | +float | +value5 | +
| value6 | +float | +value6 | +
| value7 | +float | +value7 | +
| value8 | +float | +value8 | +
| value9 | +float | +value9 | +
| value10 | +float | +value10 | +
| value11 | +float | +value11 | +
| value12 | +float | +value12 | +
| value13 | +float | +value13 | +
| value14 | +float | +value14 | +
| value15 | +float | +value15 | +
| value16 | +float | +value16 | +
| value17 | +float | +value17 | +
| value18 | +float | +value18 | +
| value19 | +float | +value19 | +
| value20 | +float | +value20 | +
Sends ESC32 telemetry data for up to 4 motors. Multiple messages may be sent in sequence when system has > 4 motors. Data is described as follows: + // unsigned int state : 3; + // unsigned int vin : 12; // x 100 + // unsigned int amps : 14; // x 100 + // unsigned int rpm : 15; + // unsigned int duty : 8; // x (255/100) + // - Data Version 2 - + // unsigned int errors : 9; // Bad detects error count + // - Data Version 3 - + // unsigned int temp : 9; // (Deg C + 32) * 4 + // unsigned int errCode : 3;
+| Field Name | +Type | +Description | +
|---|---|---|
| time_boot_ms | +uint32_t | +Timestamp of the component clock since boot time in ms. | +
| seq | +uint8_t | +Sequence number of message (first set of 4 motors is #1, next 4 is #2, etc). | +
| num_motors | +uint8_t | +Total number of active ESCs/motors on the system. | +
| num_in_seq | +uint8_t | +Number of active ESCs in this sequence (1 through this many array members will be populated with data) | +
| escid | +uint8_t[4] | +ESC/Motor ID | +
| status_age | +uint16_t[4] | +Age of each ESC telemetry reading in ms compared to boot time. A value of 0xFFFF means timeout/no data. | +
| data_version | +uint8_t[4] | +Version of data structure (determines contents). | +
| data0 | +uint32_t[4] | +Data bits 1-32 for each ESC. | +
| data1 | +uint32_t[4] | +Data bits 33-64 for each ESC. | +
The current MAVLink version is 2.3. The minor version numbers (after the dot) range from 1-255.
+This file has protocol dialect: 0.
+Micro air vehicle / autopilot classes. This identifies the individual model.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_AUTOPILOT_GENERIC + | +Generic autopilot, full support for everything | +
| 1 | ++ MAV_AUTOPILOT_RESERVED + | +Reserved for future use. | +
| 2 | ++ MAV_AUTOPILOT_SLUGS + | +SLUGS autopilot, http://slugsuav.soe.ucsc.edu | +
| 3 | ++ MAV_AUTOPILOT_ARDUPILOTMEGA + | +ArduPilotMega / ArduCopter, http://diydrones.com | +
| 4 | ++ MAV_AUTOPILOT_OPENPILOT + | +OpenPilot, http://openpilot.org | +
| 5 | ++ MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY + | +Generic autopilot only supporting simple waypoints | +
| 6 | ++ MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY + | +Generic autopilot supporting waypoints and other simple navigation commands | +
| 7 | ++ MAV_AUTOPILOT_GENERIC_MISSION_FULL + | +Generic autopilot supporting the full mission command set | +
| 8 | ++ MAV_AUTOPILOT_INVALID + | +No valid autopilot, e.g. a GCS or other MAVLink component | +
| 9 | ++ MAV_AUTOPILOT_PPZ + | +PPZ UAV - http://nongnu.org/paparazzi | +
| 10 | ++ MAV_AUTOPILOT_UDB + | +UAV Dev Board | +
| 11 | ++ MAV_AUTOPILOT_FP + | +FlexiPilot | +
| 12 | ++ MAV_AUTOPILOT_PX4 + | +PX4 Autopilot - http://pixhawk.ethz.ch/px4/ | +
| 13 | ++ MAV_AUTOPILOT_SMACCMPILOT + | +SMACCMPilot - http://smaccmpilot.org | +
| 14 | ++ MAV_AUTOPILOT_AUTOQUAD + | +AutoQuad -- http://autoquad.org | +
| 15 | ++ MAV_AUTOPILOT_ARMAZILA + | +Armazila -- http://armazila.com | +
| 16 | ++ MAV_AUTOPILOT_AEROB + | +Aerob -- http://aerob.ru | +
| 17 | ++ MAV_AUTOPILOT_ASLUAV + | +ASLUAV autopilot -- http://www.asl.ethz.ch | +
| 18 | ++ MAV_AUTOPILOT_SMARTAP + | +SmartAP Autopilot - http://sky-drones.com | +
| 19 | ++ MAV_AUTOPILOT_AIRRAILS + | +AirRails - http://uaventure.com | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_TYPE_GENERIC + | +Generic micro air vehicle. | +
| 1 | ++ MAV_TYPE_FIXED_WING + | +Fixed wing aircraft. | +
| 2 | ++ MAV_TYPE_QUADROTOR + | +Quadrotor | +
| 3 | ++ MAV_TYPE_COAXIAL + | +Coaxial helicopter | +
| 4 | ++ MAV_TYPE_HELICOPTER + | +Normal helicopter with tail rotor. | +
| 5 | ++ MAV_TYPE_ANTENNA_TRACKER + | +Ground installation | +
| 6 | ++ MAV_TYPE_GCS + | +Operator control unit / ground control station | +
| 7 | ++ MAV_TYPE_AIRSHIP + | +Airship, controlled | +
| 8 | ++ MAV_TYPE_FREE_BALLOON + | +Free balloon, uncontrolled | +
| 9 | ++ MAV_TYPE_ROCKET + | +Rocket | +
| 10 | ++ MAV_TYPE_GROUND_ROVER + | +Ground rover | +
| 11 | ++ MAV_TYPE_SURFACE_BOAT + | +Surface vessel, boat, ship | +
| 12 | ++ MAV_TYPE_SUBMARINE + | +Submarine | +
| 13 | ++ MAV_TYPE_HEXAROTOR + | +Hexarotor | +
| 14 | ++ MAV_TYPE_OCTOROTOR + | +Octorotor | +
| 15 | ++ MAV_TYPE_TRICOPTER + | +Tricopter | +
| 16 | ++ MAV_TYPE_FLAPPING_WING + | +Flapping wing | +
| 17 | ++ MAV_TYPE_KITE + | +Kite | +
| 18 | ++ MAV_TYPE_ONBOARD_CONTROLLER + | +Onboard companion controller | +
| 19 | ++ MAV_TYPE_VTOL_DUOROTOR + | +Two-rotor VTOL using control surfaces in vertical operation in addition. Tailsitter. | +
| 20 | ++ MAV_TYPE_VTOL_QUADROTOR + | +Quad-rotor VTOL using a V-shaped quad config in vertical operation. Tailsitter. | +
| 21 | ++ MAV_TYPE_VTOL_TILTROTOR + | +Tiltrotor VTOL | +
| 22 | ++ MAV_TYPE_VTOL_RESERVED2 + | +VTOL reserved 2 | +
| 23 | ++ MAV_TYPE_VTOL_RESERVED3 + | +VTOL reserved 3 | +
| 24 | ++ MAV_TYPE_VTOL_RESERVED4 + | +VTOL reserved 4 | +
| 25 | ++ MAV_TYPE_VTOL_RESERVED5 + | +VTOL reserved 5 | +
| 26 | ++ MAV_TYPE_GIMBAL + | +Onboard gimbal | +
| 27 | ++ MAV_TYPE_ADSB + | +Onboard ADSB peripheral | +
| 28 | ++ MAV_TYPE_PARAFOIL + | +Steerable, nonrigid airfoil | +
| 29 | ++ MAV_TYPE_DODECAROTOR + | +Dodecarotor | +
| 30 | ++ MAV_TYPE_CAMERA + | +Camera | +
| 31 | ++ MAV_TYPE_CHARGING_STATION + | +Charging station | +
| 32 | ++ MAV_TYPE_FLARM + | +Onboard FLARM collision avoidance system | +
These values define the type of firmware release. These values indicate the first version or release of this type. For example the first alpha release would be 64, the second would be 65.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ FIRMWARE_VERSION_TYPE_DEV + | +development release | +
| 64 | ++ FIRMWARE_VERSION_TYPE_ALPHA + | +alpha release | +
| 128 | ++ FIRMWARE_VERSION_TYPE_BETA + | +beta release | +
| 192 | ++ FIRMWARE_VERSION_TYPE_RC + | +release candidate | +
| 255 | ++ FIRMWARE_VERSION_TYPE_OFFICIAL + | +official stable release | +
Flags to report failure cases over the high latency telemtry.
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ HL_FAILURE_FLAG_GPS + | +GPS failure. | +
| 2 | ++ HL_FAILURE_FLAG_DIFFERENTIAL_PRESSURE + | +Differential pressure sensor failure. | +
| 4 | ++ HL_FAILURE_FLAG_ABSOLUTE_PRESSURE + | +Absolute pressure sensor failure. | +
| 8 | ++ HL_FAILURE_FLAG_3D_ACCEL + | +Accelerometer sensor failure. | +
| 16 | ++ HL_FAILURE_FLAG_3D_GYRO + | +Gyroscope sensor failure. | +
| 32 | ++ HL_FAILURE_FLAG_3D_MAG + | +Magnetometer sensor failure. | +
| 64 | ++ HL_FAILURE_FLAG_TERRAIN + | +Terrain subsystem failure. | +
| 128 | ++ HL_FAILURE_FLAG_BATTERY + | +Battery failure/critical low battery. | +
| 256 | ++ HL_FAILURE_FLAG_RC_RECEIVER + | +RC receiver failure/no rc connection. | +
| 512 | ++ HL_FAILURE_FLAG_OFFBOARD_LINK + | +Offboard link failure. | +
| 1024 | ++ HL_FAILURE_FLAG_ENGINE + | +Engine failure. | +
| 2048 | ++ HL_FAILURE_FLAG_GEOFENCE + | +Geofence violation. | +
| 4096 | ++ HL_FAILURE_FLAG_ESTIMATOR + | +Estimator failure, for example measurement rejection or large variances. | +
| 8192 | ++ HL_FAILURE_FLAG_MISSION + | +Mission failure. | +
These flags encode the MAV mode.
+| Value | +Field Name | +Description | +
|---|---|---|
| 128 | ++ MAV_MODE_FLAG_SAFETY_ARMED + | +0b10000000 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. | +
| 64 | ++ MAV_MODE_FLAG_MANUAL_INPUT_ENABLED + | +0b01000000 remote control input is enabled. | +
| 32 | ++ MAV_MODE_FLAG_HIL_ENABLED + | +0b00100000 hardware in the loop simulation. All motors / actuators are blocked, but internal software is full operational. | +
| 16 | ++ MAV_MODE_FLAG_STABILIZE_ENABLED + | +0b00010000 system stabilizes electronically its attitude (and optionally position). It needs however further control inputs to move around. | +
| 8 | ++ MAV_MODE_FLAG_GUIDED_ENABLED + | +0b00001000 guided mode enabled, system flies waypoints / mission items. | +
| 4 | ++ MAV_MODE_FLAG_AUTO_ENABLED + | +0b00000100 autonomous mode enabled, system finds its own goal positions. Guided flag can be set or not, depends on the actual implementation. | +
| 2 | ++ MAV_MODE_FLAG_TEST_ENABLED + | +0b00000010 system has a test mode enabled. This flag is intended for temporary system tests and should not be used for stable implementations. | +
| 1 | ++ MAV_MODE_FLAG_CUSTOM_MODE_ENABLED + | +0b00000001 Reserved for future use. | +
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.
+| Value | +Field Name | +Description | +
|---|---|---|
| 128 | ++ MAV_MODE_FLAG_DECODE_POSITION_SAFETY + | +First bit: 10000000 | +
| 64 | ++ MAV_MODE_FLAG_DECODE_POSITION_MANUAL + | +Second bit: 01000000 | +
| 32 | ++ MAV_MODE_FLAG_DECODE_POSITION_HIL + | +Third bit: 00100000 | +
| 16 | ++ MAV_MODE_FLAG_DECODE_POSITION_STABILIZE + | +Fourth bit: 00010000 | +
| 8 | ++ MAV_MODE_FLAG_DECODE_POSITION_GUIDED + | +Fifth bit: 00001000 | +
| 4 | ++ MAV_MODE_FLAG_DECODE_POSITION_AUTO + | +Sixt bit: 00000100 | +
| 2 | ++ MAV_MODE_FLAG_DECODE_POSITION_TEST + | +Seventh bit: 00000010 | +
| 1 | ++ MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODE + | +Eighth bit: 00000001 | +
Override command, pauses current mission execution and moves immediately to a position
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_GOTO_DO_HOLD + | +Hold at the current position. | +
| 1 | ++ MAV_GOTO_DO_CONTINUE + | +Continue with the next item in mission execution. | +
| 2 | ++ MAV_GOTO_HOLD_AT_CURRENT_POSITION + | +Hold at the current position of the system | +
| 3 | ++ MAV_GOTO_HOLD_AT_SPECIFIED_POSITION + | +Hold at the position specified in the parameters of the DO_HOLD action | +
These defines are predefined OR-combined mode flags. There is no need to use values from this enum, but it + simplifies the use of the mode flags. Note that manual input is enabled in all modes as a safety override.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_MODE_PREFLIGHT + | +System is not ready to fly, booting, calibrating, etc. No flag is set. | +
| 80 | ++ MAV_MODE_STABILIZE_DISARMED + | +System is allowed to be active, under assisted RC control. | +
| 208 | ++ MAV_MODE_STABILIZE_ARMED + | +System is allowed to be active, under assisted RC control. | +
| 64 | ++ MAV_MODE_MANUAL_DISARMED + | +System is allowed to be active, under manual (RC) control, no stabilization | +
| 192 | ++ MAV_MODE_MANUAL_ARMED + | +System is allowed to be active, under manual (RC) control, no stabilization | +
| 88 | ++ MAV_MODE_GUIDED_DISARMED + | +System is allowed to be active, under autonomous control, manual setpoint | +
| 216 | ++ MAV_MODE_GUIDED_ARMED + | +System is allowed to be active, under autonomous control, manual setpoint | +
| 92 | ++ MAV_MODE_AUTO_DISARMED + | +System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by waypoints) | +
| 220 | ++ MAV_MODE_AUTO_ARMED + | +System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by waypoints) | +
| 66 | ++ MAV_MODE_TEST_DISARMED + | +UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only. | +
| 194 | ++ MAV_MODE_TEST_ARMED + | +UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_STATE_UNINIT + | +Uninitialized system, state is unknown. | +
| + | ++ MAV_STATE_BOOT + | +System is booting up. | +
| + | ++ MAV_STATE_CALIBRATING + | +System is calibrating and not flight-ready. | +
| + | ++ MAV_STATE_STANDBY + | +System is grounded and on standby. It can be launched any time. | +
| + | ++ MAV_STATE_ACTIVE + | +System is active and might be already airborne. Motors are engaged. | +
| + | ++ MAV_STATE_CRITICAL + | +System is in a non-normal flight mode. It can however still navigate. | +
| + | ++ MAV_STATE_EMERGENCY + | +System 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_POWEROFF + | +System just initialized its power-down sequence, will shut down now. | +
| + | ++ MAV_STATE_FLIGHT_TERMINATION + | +System is terminating itself. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_COMP_ID_ALL + | ++ | +
| 1 | ++ MAV_COMP_ID_AUTOPILOT1 + | ++ | +
| 100 | ++ MAV_COMP_ID_CAMERA + | ++ | +
| 101 | ++ MAV_COMP_ID_CAMERA2 + | ++ | +
| 102 | ++ MAV_COMP_ID_CAMERA3 + | ++ | +
| 103 | ++ MAV_COMP_ID_CAMERA4 + | ++ | +
| 104 | ++ MAV_COMP_ID_CAMERA5 + | ++ | +
| 105 | ++ MAV_COMP_ID_CAMERA6 + | ++ | +
| 140 | ++ MAV_COMP_ID_SERVO1 + | ++ | +
| 141 | ++ MAV_COMP_ID_SERVO2 + | ++ | +
| 142 | ++ MAV_COMP_ID_SERVO3 + | ++ | +
| 143 | ++ MAV_COMP_ID_SERVO4 + | ++ | +
| 144 | ++ MAV_COMP_ID_SERVO5 + | ++ | +
| 145 | ++ MAV_COMP_ID_SERVO6 + | ++ | +
| 146 | ++ MAV_COMP_ID_SERVO7 + | ++ | +
| 147 | ++ MAV_COMP_ID_SERVO8 + | ++ | +
| 148 | ++ MAV_COMP_ID_SERVO9 + | ++ | +
| 149 | ++ MAV_COMP_ID_SERVO10 + | ++ | +
| 150 | ++ MAV_COMP_ID_SERVO11 + | ++ | +
| 151 | ++ MAV_COMP_ID_SERVO12 + | ++ | +
| 152 | ++ MAV_COMP_ID_SERVO13 + | ++ | +
| 153 | ++ MAV_COMP_ID_SERVO14 + | ++ | +
| 154 | ++ MAV_COMP_ID_GIMBAL + | ++ | +
| 155 | ++ MAV_COMP_ID_LOG + | ++ | +
| 156 | ++ MAV_COMP_ID_ADSB + | ++ | +
| 157 | ++ MAV_COMP_ID_OSD + | +On Screen Display (OSD) devices for video links | +
| 158 | ++ MAV_COMP_ID_PERIPHERAL + | +Generic autopilot peripheral component ID. Meant for devices that do not implement the parameter sub-protocol | +
| 159 | ++ MAV_COMP_ID_QX1_GIMBAL + | ++ | +
| 160 | ++ MAV_COMP_ID_FLARM + | ++ | +
| 180 | ++ MAV_COMP_ID_MAPPER + | ++ | +
| 190 | ++ MAV_COMP_ID_MISSIONPLANNER + | ++ | +
| 195 | ++ MAV_COMP_ID_PATHPLANNER + | ++ | +
| 200 | ++ MAV_COMP_ID_IMU + | ++ | +
| 201 | ++ MAV_COMP_ID_IMU_2 + | ++ | +
| 202 | ++ MAV_COMP_ID_IMU_3 + | ++ | +
| 220 | ++ MAV_COMP_ID_GPS + | ++ | +
| 221 | ++ MAV_COMP_ID_GPS2 + | ++ | +
| 240 | ++ MAV_COMP_ID_UDP_BRIDGE + | ++ | +
| 241 | ++ MAV_COMP_ID_UART_BRIDGE + | ++ | +
| 250 | ++ MAV_COMP_ID_SYSTEM_CONTROL + | ++ | +
These encode the sensors whose status is sent as part of the SYS_STATUS message.
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ MAV_SYS_STATUS_SENSOR_3D_GYRO + | +0x01 3D gyro | +
| 2 | ++ MAV_SYS_STATUS_SENSOR_3D_ACCEL + | +0x02 3D accelerometer | +
| 4 | ++ MAV_SYS_STATUS_SENSOR_3D_MAG + | +0x04 3D magnetometer | +
| 8 | ++ MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE + | +0x08 absolute pressure | +
| 16 | ++ MAV_SYS_STATUS_SENSOR_DIFFERENTIAL_PRESSURE + | +0x10 differential pressure | +
| 32 | ++ MAV_SYS_STATUS_SENSOR_GPS + | +0x20 GPS | +
| 64 | ++ MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW + | +0x40 optical flow | +
| 128 | ++ MAV_SYS_STATUS_SENSOR_VISION_POSITION + | +0x80 computer vision position | +
| 256 | ++ MAV_SYS_STATUS_SENSOR_LASER_POSITION + | +0x100 laser based position | +
| 512 | ++ MAV_SYS_STATUS_SENSOR_EXTERNAL_GROUND_TRUTH + | +0x200 external ground truth (Vicon or Leica) | +
| 1024 | ++ MAV_SYS_STATUS_SENSOR_ANGULAR_RATE_CONTROL + | +0x400 3D angular rate control | +
| 2048 | ++ MAV_SYS_STATUS_SENSOR_ATTITUDE_STABILIZATION + | +0x800 attitude stabilization | +
| 4096 | ++ MAV_SYS_STATUS_SENSOR_YAW_POSITION + | +0x1000 yaw position | +
| 8192 | ++ MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL + | +0x2000 z/altitude control | +
| 16384 | ++ MAV_SYS_STATUS_SENSOR_XY_POSITION_CONTROL + | +0x4000 x/y position control | +
| 32768 | ++ MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS + | +0x8000 motor outputs / control | +
| 65536 | ++ MAV_SYS_STATUS_SENSOR_RC_RECEIVER + | +0x10000 rc receiver | +
| 131072 | ++ MAV_SYS_STATUS_SENSOR_3D_GYRO2 + | +0x20000 2nd 3D gyro | +
| 262144 | ++ MAV_SYS_STATUS_SENSOR_3D_ACCEL2 + | +0x40000 2nd 3D accelerometer | +
| 524288 | ++ MAV_SYS_STATUS_SENSOR_3D_MAG2 + | +0x80000 2nd 3D magnetometer | +
| 1048576 | ++ MAV_SYS_STATUS_GEOFENCE + | +0x100000 geofence | +
| 2097152 | ++ MAV_SYS_STATUS_AHRS + | +0x200000 AHRS subsystem health | +
| 4194304 | ++ MAV_SYS_STATUS_TERRAIN + | +0x400000 Terrain subsystem health | +
| 8388608 | ++ MAV_SYS_STATUS_REVERSE_MOTOR + | +0x800000 Motors are reversed | +
| 16777216 | ++ MAV_SYS_STATUS_LOGGING + | +0x1000000 Logging | +
| 33554432 | ++ MAV_SYS_STATUS_SENSOR_BATTERY + | +0x2000000 Battery | +
| 67108864 | ++ MAV_SYS_STATUS_SENSOR_PROXIMITY + | +0x4000000 Proximity | +
| 134217728 | ++ MAV_SYS_STATUS_SENSOR_SATCOM + | +0x8000000 Satellite Communication | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_FRAME_GLOBAL + | +Global coordinate frame, WGS84 coordinate system. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL). | +
| 1 | ++ MAV_FRAME_LOCAL_NED + | +Local coordinate frame, Z-down (x: north, y: east, z: down). | +
| 2 | ++ MAV_FRAME_MISSION + | +NOT a coordinate frame, indicates a mission command. | +
| 3 | ++ MAV_FRAME_GLOBAL_RELATIVE_ALT + | +Global coordinate frame, WGS84 coordinate system, relative altitude over ground with respect to the home position. First value / x: latitude, second value / y: longitude, third value / z: positive altitude with 0 being at the altitude of the home location. | +
| 4 | ++ MAV_FRAME_LOCAL_ENU + | +Local coordinate frame, Z-up (x: east, y: north, z: up). | +
| 5 | ++ MAV_FRAME_GLOBAL_INT + | +Global coordinate frame, WGS84 coordinate system. First value / x: latitude in degrees*1.0e-7, second value / y: longitude in degrees*1.0e-7, third value / z: positive altitude over mean sea level (MSL). | +
| 6 | ++ MAV_FRAME_GLOBAL_RELATIVE_ALT_INT + | +Global coordinate frame, WGS84 coordinate system, relative altitude over ground with respect to the home position. First value / x: latitude in degrees*10e-7, second value / y: longitude in degrees*10e-7, third value / z: positive altitude with 0 being at the altitude of the home location. | +
| 7 | ++ MAV_FRAME_LOCAL_OFFSET_NED + | +Offset to the current local frame. Anything expressed in this frame should be added to the current local frame position. | +
| 8 | ++ MAV_FRAME_BODY_NED + | +Setpoint in body NED frame. This makes sense if all position control is externalized - e.g. useful to command 2 m/s^2 acceleration to the right. | +
| 9 | ++ MAV_FRAME_BODY_OFFSET_NED + | +Offset in body NED frame. This makes sense if adding setpoints to the current flight path, to avoid an obstacle - e.g. useful to command 2 m/s^2 acceleration to the east. | +
| 10 | ++ MAV_FRAME_GLOBAL_TERRAIN_ALT + | +Global coordinate frame with above terrain level altitude. WGS84 coordinate system, relative altitude over terrain with respect to the waypoint coordinate. First value / x: latitude in degrees, second value / y: longitude in degrees, third value / z: positive altitude in meters with 0 being at ground level in terrain model. | +
| 11 | ++ MAV_FRAME_GLOBAL_TERRAIN_ALT_INT + | +Global coordinate frame with above terrain level altitude. WGS84 coordinate system, relative altitude over terrain with respect to the waypoint coordinate. First value / x: latitude in degrees*10e-7, second value / y: longitude in degrees*10e-7, third value / z: positive altitude in meters with 0 being at ground level in terrain model. | +
| 12 | ++ MAV_FRAME_BODY_FRD + | +Body fixed frame of reference, Z-down (x: forward, y: right, z: down). | +
| 13 | ++ MAV_FRAME_BODY_FLU + | +Body fixed frame of reference, Z-up (x: forward, y: left, z: up). | +
| 14 | ++ MAV_FRAME_MOCAP_NED + | +Odometry local coordinate frame of data given by a motion capture system, Z-down (x: north, y: east, z: down). | +
| 15 | ++ MAV_FRAME_MOCAP_ENU + | +Odometry local coordinate frame of data given by a motion capture system, Z-up (x: east, y: north, z: up). | +
| 16 | ++ MAV_FRAME_VISION_NED + | +Odometry local coordinate frame of data given by a vision estimation system, Z-down (x: north, y: east, z: down). | +
| 17 | ++ MAV_FRAME_VISION_ENU + | +Odometry local coordinate frame of data given by a vision estimation system, Z-up (x: east, y: north, z: up). | +
| 18 | ++ MAV_FRAME_ESTIM_NED + | +Odometry local coordinate frame of data given by an estimator running onboard the vehicle, Z-down (x: north, y: east, z: down). | +
| 19 | ++ MAV_FRAME_ESTIM_ENU + | +Odometry local coordinate frame of data given by an estimator running onboard the vehicle, Z-up (x: east, y: noth, z: up). | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| + | ++ MAVLINK_DATA_STREAM_IMG_JPEG + | ++ | +
| + | ++ MAVLINK_DATA_STREAM_IMG_BMP + | ++ | +
| + | ++ MAVLINK_DATA_STREAM_IMG_RAW8U + | ++ | +
| + | ++ MAVLINK_DATA_STREAM_IMG_RAW32U + | ++ | +
| + | ++ MAVLINK_DATA_STREAM_IMG_PGM + | ++ | +
| + | ++ MAVLINK_DATA_STREAM_IMG_PNG + | ++ | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ FENCE_ACTION_NONE + | +Disable fenced mode | +
| 1 | ++ FENCE_ACTION_GUIDED + | +Switched to guided mode to return point (fence point 0) | +
| 2 | ++ FENCE_ACTION_REPORT + | +Report fence breach, but don't take action | +
| 3 | ++ FENCE_ACTION_GUIDED_THR_PASS + | +Switched to guided mode to return point (fence point 0) with manual throttle control | +
| 4 | ++ FENCE_ACTION_RTL + | +Switch to RTL (return to launch) mode and head for the return point. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ FENCE_BREACH_NONE + | +No last fence breach | +
| 1 | ++ FENCE_BREACH_MINALT + | +Breached minimum altitude | +
| 2 | ++ FENCE_BREACH_MAXALT + | +Breached maximum altitude | +
| 3 | ++ FENCE_BREACH_BOUNDARY + | +Breached fence boundary | +
Enumeration of possible mount operation modes
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_MOUNT_MODE_RETRACT + | +Load and keep safe position (Roll,Pitch,Yaw) from permant memory and stop stabilization | +
| 1 | ++ MAV_MOUNT_MODE_NEUTRAL + | +Load and keep neutral position (Roll,Pitch,Yaw) from permanent memory. | +
| 2 | ++ MAV_MOUNT_MODE_MAVLINK_TARGETING + | +Load neutral position and start MAVLink Roll,Pitch,Yaw control with stabilization | +
| 3 | ++ MAV_MOUNT_MODE_RC_TARGETING + | +Load neutral position and start RC Roll,Pitch,Yaw control with stabilization | +
| 4 | ++ MAV_MOUNT_MODE_GPS_POINT + | +Load neutral position and start to point to Lat,Lon,Alt | +
Generalized UAVCAN node health
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ UAVCAN_NODE_HEALTH_OK + | +The node is functioning properly. | +
| 1 | ++ UAVCAN_NODE_HEALTH_WARNING + | +A critical parameter went out of range or the node has encountered a minor failure. | +
| 2 | ++ UAVCAN_NODE_HEALTH_ERROR + | +The node has encountered a major failure. | +
| 3 | ++ UAVCAN_NODE_HEALTH_CRITICAL + | +The node has suffered a fatal malfunction. | +
Generalized UAVCAN node mode
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ UAVCAN_NODE_MODE_OPERATIONAL + | +The node is performing its primary functions. | +
| 1 | ++ UAVCAN_NODE_MODE_INITIALIZATION + | +The node is initializing; this mode is entered immediately after startup. | +
| 2 | ++ UAVCAN_NODE_MODE_MAINTENANCE + | +The node is under maintenance. | +
| 3 | ++ UAVCAN_NODE_MODE_SOFTWARE_UPDATE + | +The node is in the process of updating its software. | +
| 7 | ++ UAVCAN_NODE_MODE_OFFLINE + | +The node is no longer available online. | +
Commands to be executed by the MAV. They can be executed on user request, or as part of a mission script. If the action is used in a mission, the parameter mapping to the waypoint/mission message is as follows: Param 1, Param 2, Param 3, Param 4, X: Param 5, Y:Param 6, Z:Param 7. This command list is similar what ARINC 424 is for commercial aircraft: A data format how to interpret waypoint/mission data.
+| Value | +Field Name | +Description | +
|---|---|---|
| 16 | ++ MAV_CMD_NAV_WAYPOINT + | +Navigate to waypoint. | +
| + | +||
| + | +Mission Param #1 | +Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing) | +
| + | +Mission Param #2 | +Acceptance radius in meters (if the sphere with this radius is hit, the waypoint counts as reached) | +
| + | +Mission Param #3 | +0 to pass through the WP, if > 0 radius in meters to pass by WP. Positive value for clockwise orbit, negative value for counter-clockwise orbit. Allows trajectory control. | +
| + | +Mission Param #4 | +Desired yaw angle at waypoint (rotary wing). NaN for unchanged. | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Altitude | +
|
+ + |
+ ||
| 17 | ++ MAV_CMD_NAV_LOITER_UNLIM + | +Loiter around this waypoint an unlimited amount of time | +
| + | +||
| + | +Mission Param #1 | +Empty | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise | +
| + | +Mission Param #4 | +Desired yaw angle. | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Altitude | +
|
+ + |
+ ||
| 18 | ++ MAV_CMD_NAV_LOITER_TURNS + | +Loiter around this waypoint for X turns | +
| + | +||
| + | +Mission Param #1 | +Turns | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise | +
| + | +Mission Param #4 | +Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Altitude | +
|
+ + |
+ ||
| 19 | ++ MAV_CMD_NAV_LOITER_TIME + | +Loiter around this waypoint for X seconds | +
| + | +||
| + | +Mission Param #1 | +Seconds (decimal) | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise | +
| + | +Mission Param #4 | +Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Altitude | +
|
+ + |
+ ||
| 20 | ++ MAV_CMD_NAV_RETURN_TO_LAUNCH + | +Return to launch location | +
| + | +||
| + | +Mission Param #1 | +Empty | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 21 | ++ MAV_CMD_NAV_LAND + | +Land at location | +
| + | +||
| + | +Mission Param #1 | +Abort Alt | +
| + | +Mission Param #2 | +Precision land mode. (0 = normal landing, 1 = opportunistic precision landing, 2 = required precsion landing) | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Desired yaw angle. NaN for unchanged. | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Altitude (ground level) | +
|
+ + |
+ ||
| 22 | ++ MAV_CMD_NAV_TAKEOFF + | +Takeoff from ground / hand | +
| + | +||
| + | +Mission Param #1 | +Minimum pitch (if airspeed sensor present), desired pitch without sensor | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Yaw angle (if magnetometer present), ignored without magnetometer. NaN for unchanged. | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Altitude | +
|
+ + |
+ ||
| 23 | ++ MAV_CMD_NAV_LAND_LOCAL + | +Land at local position (local frame only) | +
| + | +||
| + | +Mission Param #1 | +Landing target number (if available) | +
| + | +Mission Param #2 | +Maximum accepted offset from desired landing position [m] - computed magnitude from spherical coordinates: d = sqrt(x^2 + y^2 + z^2), which gives the maximum accepted distance between the desired landing position and the position where the vehicle is about to land | +
| + | +Mission Param #3 | +Landing descend rate [ms^-1] | +
| + | +Mission Param #4 | +Desired yaw angle [rad] | +
| + | +Mission Param #5 | +Y-axis position [m] | +
| + | +Mission Param #6 | +X-axis position [m] | +
| + | +Mission Param #7 | +Z-axis / ground level position [m] | +
|
+ + |
+ ||
| 24 | ++ MAV_CMD_NAV_TAKEOFF_LOCAL + | +Takeoff from local position (local frame only) | +
| + | +||
| + | +Mission Param #1 | +Minimum pitch (if airspeed sensor present), desired pitch without sensor [rad] | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Takeoff ascend rate [ms^-1] | +
| + | +Mission Param #4 | +Yaw angle [rad] (if magnetometer or another yaw estimation source present), ignored without one of these | +
| + | +Mission Param #5 | +Y-axis position [m] | +
| + | +Mission Param #6 | +X-axis position [m] | +
| + | +Mission Param #7 | +Z-axis position [m] | +
|
+ + |
+ ||
| 25 | ++ MAV_CMD_NAV_FOLLOW + | +Vehicle following, i.e. this waypoint represents the position of a moving vehicle | +
| + | +||
| + | +Mission Param #1 | +Following logic to use (e.g. loitering or sinusoidal following) - depends on specific autopilot implementation | +
| + | +Mission Param #2 | +Ground speed of vehicle to be followed | +
| + | +Mission Param #3 | +Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise | +
| + | +Mission Param #4 | +Desired yaw angle. | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Altitude | +
|
+ + |
+ ||
| 30 | ++ MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT + | +Continue on the current course and climb/descend to specified altitude. When the altitude is reached continue to the next command (i.e., don't proceed to the next command until the desired altitude is reached. | +
| + | +||
| + | +Mission Param #1 | +Climb or Descend (0 = Neutral, command completes when within 5m of this command's altitude, 1 = Climbing, command completes when at or above this command's altitude, 2 = Descending, command completes when at or below this command's altitude. | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Desired altitude in meters | +
|
+ + |
+ ||
| 31 | ++ MAV_CMD_NAV_LOITER_TO_ALT + | +Begin loiter at the specified Latitude and Longitude. If Lat=Lon=0, then loiter at the current position. Don't consider the navigation command complete (don't leave loiter) until the altitude has been reached. Additionally, if the Heading Required parameter is non-zero the aircraft will not leave the loiter until heading toward the next waypoint. | +
| + | +||
| + | +Mission Param #1 | +Heading Required (0 = False) | +
| + | +Mission Param #2 | +Radius in meters. If positive loiter clockwise, negative counter-clockwise, 0 means no change to standard loiter. | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Altitude | +
|
+ + |
+ ||
| 32 | ++ MAV_CMD_DO_FOLLOW + | +Being following a target | +
| + | +||
| + | +Mission Param #1 | +System ID (the system ID of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode | +
| + | +Mission Param #2 | +RESERVED | +
| + | +Mission Param #3 | +RESERVED | +
| + | +Mission Param #4 | +altitude flag: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home | +
| + | +Mission Param #5 | +altitude | +
| + | +Mission Param #6 | +RESERVED | +
| + | +Mission Param #7 | +TTL in seconds in which the MAV should go to the default position hold mode after a message rx timeout | +
|
+ + |
+ ||
| 33 | ++ MAV_CMD_DO_FOLLOW_REPOSITION + | +Reposition the MAV after a follow target command has been sent | +
| + | +||
| + | +Mission Param #1 | +Camera q1 (where 0 is on the ray from the camera to the tracking device) | +
| + | +Mission Param #2 | +Camera q2 | +
| + | +Mission Param #3 | +Camera q3 | +
| + | +Mission Param #4 | +Camera q4 | +
| + | +Mission Param #5 | +altitude offset from target (m) | +
| + | +Mission Param #6 | +X offset from target (m) | +
| + | +Mission Param #7 | +Y offset from target (m) | +
|
+ + |
+ ||
| 34 | ++ MAV_CMD_DO_ORBIT + | +Start orbiting on the circumference of a circle defined by the parameters. Setting any value NaN results in using defaults. | +
| + | +||
| + | +Mission Param #1 | +Radius of the circle in meters. positive: Orbit clockwise. negative: Orbit counter-clockwise. | +
| + | +Mission Param #2 | +Velocity tangential in m/s. NaN: Vehicle configuration default. | +
| + | +Mission Param #3 | +Yaw behavior of the vehicle. 0: vehicle front points to the center (default). 1: Hold last heading. 2: Leave yaw uncontrolled. | +
| + | +Mission Param #4 | +Reserved (e.g. for dynamic center beacon options) | +
| + | +Mission Param #5 | +Center point latitude (if no MAV_FRAME specified) / X coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting. | +
| + | +Mission Param #6 | +Center point longitude (if no MAV_FRAME specified) / Y coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting. | +
| + | +Mission Param #7 | +Center point altitude (AMSL) (if no MAV_FRAME specified) / Z coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting. | +
|
+ + |
+ ||
| 80 | ++ MAV_CMD_NAV_ROI + | +Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. | +
| + | +||
| + | +Mission Param #1 | +Region of interest mode. (see MAV_ROI enum) | +
| + | +Mission Param #2 | +Waypoint index/ target ID. (see MAV_ROI enum) | +
| + | +Mission Param #3 | +ROI index (allows a vehicle to manage multiple ROI's) | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +x the location of the fixed ROI (see MAV_FRAME) | +
| + | +Mission Param #6 | +y | +
| + | +Mission Param #7 | +z | +
|
+ + |
+ ||
| 81 | ++ MAV_CMD_NAV_PATHPLANNING + | +Control autonomous path planning on the MAV. | +
| + | +||
| + | +Mission Param #1 | +0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning | +
| + | +Mission Param #2 | +0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Yaw angle at goal, in compass degrees, [0..360] | +
| + | +Mission Param #5 | +Latitude/X of goal | +
| + | +Mission Param #6 | +Longitude/Y of goal | +
| + | +Mission Param #7 | +Altitude/Z of goal | +
|
+ + |
+ ||
| 82 | ++ MAV_CMD_NAV_SPLINE_WAYPOINT + | +Navigate to waypoint using a spline path. | +
| + | +||
| + | +Mission Param #1 | +Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing) | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Latitude/X of goal | +
| + | +Mission Param #6 | +Longitude/Y of goal | +
| + | +Mission Param #7 | +Altitude/Z of goal | +
|
+ + |
+ ||
| 84 | ++ MAV_CMD_NAV_VTOL_TAKEOFF + | +Takeoff from ground using VTOL mode | +
| + | +||
| + | +Mission Param #1 | +Empty | +
| + | +Mission Param #2 | +Front transition heading, see VTOL_TRANSITION_HEADING enum. | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Yaw angle in degrees. NaN for unchanged. | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Altitude | +
|
+ + |
+ ||
| 85 | ++ MAV_CMD_NAV_VTOL_LAND + | +Land using VTOL mode | +
| + | +||
| + | +Mission Param #1 | +Empty | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Approach altitude (with the same reference as the Altitude field). NaN if unspecified. | +
| + | +Mission Param #4 | +Yaw angle in degrees. NaN for unchanged. | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Altitude (ground level) | +
|
+ + |
+ ||
| 92 | ++ MAV_CMD_NAV_GUIDED_ENABLE + | +hand control over to an external controller | +
| + | +||
| + | +Mission Param #1 | +On / Off (> 0.5f on) | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 93 | ++ MAV_CMD_NAV_DELAY + | +Delay the next navigation command a number of seconds or until a specified time | +
| + | +||
| + | +Mission Param #1 | +Delay in seconds (decimal, -1 to enable time-of-day fields) | +
| + | +Mission Param #2 | +hour (24h format, UTC, -1 to ignore) | +
| + | +Mission Param #3 | +minute (24h format, UTC, -1 to ignore) | +
| + | +Mission Param #4 | +second (24h format, UTC) | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 94 | ++ MAV_CMD_NAV_PAYLOAD_PLACE + | +Descend and place payload. Vehicle descends until it detects a hanging payload has reached the ground, the gripper is opened to release the payload | +
| + | +||
| + | +Mission Param #1 | +Maximum distance to descend (meters) | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Latitude (deg * 1E7) | +
| + | +Mission Param #6 | +Longitude (deg * 1E7) | +
| + | +Mission Param #7 | +Altitude (meters) | +
|
+ + |
+ ||
| 95 | ++ MAV_CMD_NAV_LAST + | +NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration | +
| + | +||
| + | +Mission Param #1 | +Empty | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 112 | ++ MAV_CMD_CONDITION_DELAY + | +Delay mission state machine. | +
| + | +||
| + | +Mission Param #1 | +Delay in seconds (decimal) | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 113 | ++ MAV_CMD_CONDITION_CHANGE_ALT + | +Ascend/descend at rate. Delay mission state machine until desired altitude reached. | +
| + | +||
| + | +Mission Param #1 | +Descent / Ascend rate (m/s) | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Finish Altitude | +
|
+ + |
+ ||
| 114 | ++ MAV_CMD_CONDITION_DISTANCE + | +Delay mission state machine until within desired distance of next NAV point. | +
| + | +||
| + | +Mission Param #1 | +Distance (meters) | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 115 | ++ MAV_CMD_CONDITION_YAW + | +Reach a certain target angle. | +
| + | +||
| + | +Mission Param #1 | +target angle: [0-360], 0 is north | +
| + | +Mission Param #2 | +speed during yaw change:[deg per second] | +
| + | +Mission Param #3 | +direction: negative: counter clockwise, positive: clockwise [-1,1] | +
| + | +Mission Param #4 | +relative offset or absolute angle: [ 1,0] | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 159 | ++ MAV_CMD_CONDITION_LAST + | +NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration | +
| + | +||
| + | +Mission Param #1 | +Empty | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 176 | ++ MAV_CMD_DO_SET_MODE + | +Set system mode. | +
| + | +||
| + | +Mission Param #1 | +Mode, as defined by ENUM MAV_MODE | +
| + | +Mission Param #2 | +Custom mode - this is system specific, please refer to the individual autopilot specifications for details. | +
| + | +Mission Param #3 | +Custom sub mode - this is system specific, please refer to the individual autopilot specifications for details. | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 177 | ++ MAV_CMD_DO_JUMP + | +Jump to the desired command in the mission list. Repeat this action only the specified number of times | +
| + | +||
| + | +Mission Param #1 | +Sequence number | +
| + | +Mission Param #2 | +Repeat count | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 178 | ++ MAV_CMD_DO_CHANGE_SPEED + | +Change speed and/or throttle set points. | +
| + | +||
| + | +Mission Param #1 | +Speed type (0=Airspeed, 1=Ground Speed) | +
| + | +Mission Param #2 | +Speed (m/s, -1 indicates no change) | +
| + | +Mission Param #3 | +Throttle ( Percent, -1 indicates no change) | +
| + | +Mission Param #4 | +absolute or relative [0,1] | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 179 | ++ MAV_CMD_DO_SET_HOME + | +Changes the home location either to the current location or a specified location. | +
| + | +||
| + | +Mission Param #1 | +Use current (1=use current location, 0=use specified location) | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Altitude | +
|
+ + |
+ ||
| 180 | ++ MAV_CMD_DO_SET_PARAMETER + | +Set a system parameter. Caution! Use of this command requires knowledge of the numeric enumeration value of the parameter. | +
| + | +||
| + | +Mission Param #1 | +Parameter number | +
| + | +Mission Param #2 | +Parameter value | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 181 | ++ MAV_CMD_DO_SET_RELAY + | +Set a relay to a condition. | +
| + | +||
| + | +Mission Param #1 | +Relay number | +
| + | +Mission Param #2 | +Setting (1=on, 0=off, others possible depending on system hardware) | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 182 | ++ MAV_CMD_DO_REPEAT_RELAY + | +Cycle a relay on and off for a desired number of cycles with a desired period. | +
| + | +||
| + | +Mission Param #1 | +Relay number | +
| + | +Mission Param #2 | +Cycle count | +
| + | +Mission Param #3 | +Cycle time (seconds, decimal) | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 183 | ++ MAV_CMD_DO_SET_SERVO + | +Set a servo to a desired PWM value. | +
| + | +||
| + | +Mission Param #1 | +Servo number | +
| + | +Mission Param #2 | +PWM (microseconds, 1000 to 2000 typical) | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 184 | ++ MAV_CMD_DO_REPEAT_SERVO + | +Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period. | +
| + | +||
| + | +Mission Param #1 | +Servo number | +
| + | +Mission Param #2 | +PWM (microseconds, 1000 to 2000 typical) | +
| + | +Mission Param #3 | +Cycle count | +
| + | +Mission Param #4 | +Cycle time (seconds) | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 185 | ++ MAV_CMD_DO_FLIGHTTERMINATION + | +Terminate flight immediately | +
| + | +||
| + | +Mission Param #1 | +Flight termination activated if > 0.5 | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 186 | ++ MAV_CMD_DO_CHANGE_ALTITUDE + | +Change altitude set point. | +
| + | +||
| + | +Mission Param #1 | +Altitude in meters | +
| + | +Mission Param #2 | +Mav frame of new altitude (see MAV_FRAME) | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 189 | ++ MAV_CMD_DO_LAND_START + | +Mission command to perform a landing. This is used as a marker in a mission to tell the autopilot where a sequence of mission items that represents a landing starts. It may also be sent via a COMMAND_LONG to trigger a landing, in which case the nearest (geographically) landing sequence in the mission will be used. The Latitude/Longitude is optional, and may be set to 0 if not needed. If specified then it will be used to help find the closest landing sequence. | +
| + | +||
| + | +Mission Param #1 | +Empty | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 190 | ++ MAV_CMD_DO_RALLY_LAND + | +Mission command to perform a landing from a rally point. | +
| + | +||
| + | +Mission Param #1 | +Break altitude (meters) | +
| + | +Mission Param #2 | +Landing speed (m/s) | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 191 | ++ MAV_CMD_DO_GO_AROUND + | +Mission command to safely abort an autonomous landing. | +
| + | +||
| + | +Mission Param #1 | +Altitude (meters) | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 192 | ++ MAV_CMD_DO_REPOSITION + | +Reposition the vehicle to a specific WGS84 global position. | +
| + | +||
| + | +Mission Param #1 | +Ground speed, less than 0 (-1) for default | +
| + | +Mission Param #2 | +Bitmask of option flags, see the MAV_DO_REPOSITION_FLAGS enum. | +
| + | +Mission Param #3 | +Reserved | +
| + | +Mission Param #4 | +Yaw heading, NaN for unchanged. For planes indicates loiter direction (0: clockwise, 1: counter clockwise) | +
| + | +Mission Param #5 | +Latitude (deg * 1E7) | +
| + | +Mission Param #6 | +Longitude (deg * 1E7) | +
| + | +Mission Param #7 | +Altitude (meters) | +
|
+ + |
+ ||
| 193 | ++ MAV_CMD_DO_PAUSE_CONTINUE + | +If in a GPS controlled position mode, hold the current position or continue. | +
| + | +||
| + | +Mission Param #1 | +0: Pause current mission or reposition command, hold current position. 1: Continue mission. A VTOL capable vehicle should enter hover mode (multicopter and VTOL planes). A plane should loiter with the default loiter radius. | +
| + | +Mission Param #2 | +Reserved | +
| + | +Mission Param #3 | +Reserved | +
| + | +Mission Param #4 | +Reserved | +
| + | +Mission Param #5 | +Reserved | +
| + | +Mission Param #6 | +Reserved | +
| + | +Mission Param #7 | +Reserved | +
|
+ + |
+ ||
| 194 | ++ MAV_CMD_DO_SET_REVERSE + | +Set moving direction to forward or reverse. | +
| + | +||
| + | +Mission Param #1 | +Direction (0=Forward, 1=Reverse) | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 195 | ++ MAV_CMD_DO_SET_ROI_LOCATION + | +Sets the region of interest (ROI) to a location. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. | +
| + | +||
| + | +Mission Param #1 | +Empty | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Altitude | +
|
+ + |
+ ||
| 196 | ++ MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET + | +Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. | +
| + | +||
| + | +Mission Param #1 | +Empty | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +pitch offset from next waypoint | +
| + | +Mission Param #6 | +roll offset from next waypoint | +
| + | +Mission Param #7 | +yaw offset from next waypoint | +
|
+ + |
+ ||
| 197 | ++ MAV_CMD_DO_SET_ROI_NONE + | +Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. | +
| + | +||
| + | +Mission Param #1 | +Empty | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 200 | ++ MAV_CMD_DO_CONTROL_VIDEO + | +Control onboard camera system. | +
| + | +||
| + | +Mission Param #1 | +Camera ID (-1 for all) | +
| + | +Mission Param #2 | +Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw | +
| + | +Mission Param #3 | +Transmission mode: 0: video stream, >0: single images every n seconds (decimal) | +
| + | +Mission Param #4 | +Recording: 0: disabled, 1: enabled compressed, 2: enabled raw | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 201 | ++ MAV_CMD_DO_SET_ROI + | +Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. | +
| + | +||
| + | +Mission Param #1 | +Region of interest mode. (see MAV_ROI enum) | +
| + | +Mission Param #2 | +Waypoint index/ target ID. (see MAV_ROI enum) | +
| + | +Mission Param #3 | +ROI index (allows a vehicle to manage multiple ROI's) | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude | +
| + | +Mission Param #6 | +MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude | +
| + | +Mission Param #7 | +MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude | +
|
+ + |
+ ||
| 202 | ++ MAV_CMD_DO_DIGICAM_CONFIGURE + | +THIS INTERFACE IS DEPRECATED since 2018-01. Please use PARAM_EXT_XXX messages and the camera definition format described in https://mavlink.io/en/protocol/camera_def.html. | +
| + | +||
| + | +Mission Param #1 | +Modes: P, TV, AV, M, Etc | +
| + | +Mission Param #2 | +Shutter speed: Divisor number for one second | +
| + | +Mission Param #3 | +Aperture: F stop number | +
| + | +Mission Param #4 | +ISO number e.g. 80, 100, 200, Etc | +
| + | +Mission Param #5 | +Exposure type enumerator | +
| + | +Mission Param #6 | +Command Identity | +
| + | +Mission Param #7 | +Main engine cut-off time before camera trigger in seconds/10 (0 means no cut-off) | +
|
+ + |
+ ||
| 203 | ++ MAV_CMD_DO_DIGICAM_CONTROL + | +THIS INTERFACE IS DEPRECATED since 2018-01. Please use PARAM_EXT_XXX messages and the camera definition format described in https://mavlink.io/en/protocol/camera_def.html. | +
| + | +||
| + | +Mission Param #1 | +Session control e.g. show/hide lens | +
| + | +Mission Param #2 | +Zoom's absolute position | +
| + | +Mission Param #3 | +Zooming step value to offset zoom from the current position | +
| + | +Mission Param #4 | +Focus Locking, Unlocking or Re-locking | +
| + | +Mission Param #5 | +Shooting Command | +
| + | +Mission Param #6 | +Command Identity | +
| + | +Mission Param #7 | +Test shot identifier. If set to 1, image will only be captured, but not counted towards internal frame count. | +
|
+ + |
+ ||
| 204 | ++ MAV_CMD_DO_MOUNT_CONFIGURE + | +Mission command to configure a camera or antenna mount | +
| + | +||
| + | +Mission Param #1 | +Mount operation mode (see MAV_MOUNT_MODE enum) | +
| + | +Mission Param #2 | +stabilize roll? (1 = yes, 0 = no) | +
| + | +Mission Param #3 | +stabilize pitch? (1 = yes, 0 = no) | +
| + | +Mission Param #4 | +stabilize yaw? (1 = yes, 0 = no) | +
| + | +Mission Param #5 | +roll input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame) | +
| + | +Mission Param #6 | +pitch input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame) | +
| + | +Mission Param #7 | +yaw input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame) | +
|
+ + |
+ ||
| 205 | ++ MAV_CMD_DO_MOUNT_CONTROL + | +Mission command to control a camera or antenna mount | +
| + | +||
| + | +Mission Param #1 | +pitch depending on mount mode (degrees or degrees/second depending on pitch input). | +
| + | +Mission Param #2 | +roll depending on mount mode (degrees or degrees/second depending on roll input). | +
| + | +Mission Param #3 | +yaw depending on mount mode (degrees or degrees/second depending on yaw input). | +
| + | +Mission Param #4 | +alt in meters depending on mount mode. | +
| + | +Mission Param #5 | +latitude in degrees * 1E7, set if appropriate mount mode. | +
| + | +Mission Param #6 | +longitude in degrees * 1E7, set if appropriate mount mode. | +
| + | +Mission Param #7 | +MAV_MOUNT_MODE enum value | +
|
+ + |
+ ||
| 206 | ++ MAV_CMD_DO_SET_CAM_TRIGG_DIST + | +Mission command to set camera trigger distance for this flight. The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera. | +
| + | +||
| + | +Mission Param #1 | +Camera trigger distance (meters). 0 to stop triggering. | +
| + | +Mission Param #2 | +Camera shutter integration time (milliseconds). -1 or 0 to ignore | +
| + | +Mission Param #3 | +Trigger camera once immediately. (0 = no trigger, 1 = trigger) | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 207 | ++ MAV_CMD_DO_FENCE_ENABLE + | +Mission command to enable the geofence | +
| + | +||
| + | +Mission Param #1 | +enable? (0=disable, 1=enable, 2=disable_floor_only) | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 208 | ++ MAV_CMD_DO_PARACHUTE + | +Mission command to trigger a parachute | +
| + | +||
| + | +Mission Param #1 | +action (0=disable, 1=enable, 2=release, for some systems see PARACHUTE_ACTION enum, not in general message set.) | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 209 | ++ MAV_CMD_DO_MOTOR_TEST + | +Mission command to perform motor test | +
| + | +||
| + | +Mission Param #1 | +motor number (a number from 1 to max number of motors on the vehicle) | +
| + | +Mission Param #2 | +throttle type (0=throttle percentage, 1=PWM, 2=pilot throttle channel pass-through. See MOTOR_TEST_THROTTLE_TYPE enum) | +
| + | +Mission Param #3 | +throttle | +
| + | +Mission Param #4 | +timeout (in seconds) | +
| + | +Mission Param #5 | +motor count (number of motors to test to test in sequence, waiting for the timeout above between them; 0=1 motor, 1=1 motor, 2=2 motors...) | +
| + | +Mission Param #6 | +motor test order (See MOTOR_TEST_ORDER enum) | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 210 | ++ MAV_CMD_DO_INVERTED_FLIGHT + | +Change to/from inverted flight | +
| + | +||
| + | +Mission Param #1 | +inverted (0=normal, 1=inverted) | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 213 | ++ MAV_CMD_NAV_SET_YAW_SPEED + | +Sets a desired vehicle turn angle and speed change | +
| + | +||
| + | +Mission Param #1 | +yaw angle to adjust steering by in centidegress | +
| + | +Mission Param #2 | +speed - normalized to 0 .. 1 | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 214 | ++ MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL + | +Mission command to set camera trigger interval for this flight. If triggering is enabled, the camera is triggered each time this interval expires. This command can also be used to set the shutter integration time for the camera. | +
| + | +||
| + | +Mission Param #1 | +Camera trigger cycle time (milliseconds). -1 or 0 to ignore. | +
| + | +Mission Param #2 | +Camera shutter integration time (milliseconds). Should be less than trigger cycle time. -1 or 0 to ignore. | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 220 | ++ MAV_CMD_DO_MOUNT_CONTROL_QUAT + | +Mission command to control a camera or antenna mount, using a quaternion as reference. | +
| + | +||
| + | +Mission Param #1 | +q1 - quaternion param #1, w (1 in null-rotation) | +
| + | +Mission Param #2 | +q2 - quaternion param #2, x (0 in null-rotation) | +
| + | +Mission Param #3 | +q3 - quaternion param #3, y (0 in null-rotation) | +
| + | +Mission Param #4 | +q4 - quaternion param #4, z (0 in null-rotation) | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 221 | ++ MAV_CMD_DO_GUIDED_MASTER + | +set id of master controller | +
| + | +||
| + | +Mission Param #1 | +System ID | +
| + | +Mission Param #2 | +Component ID | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 222 | ++ MAV_CMD_DO_GUIDED_LIMITS + | +set limits for external control | +
| + | +||
| + | +Mission Param #1 | +timeout - maximum time (in seconds) that external controller will be allowed to control vehicle. 0 means no timeout | +
| + | +Mission Param #2 | +Absolute altitude (AMSL) min, in meters - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit | +
| + | +Mission Param #3 | +Absolute altitude (AMSL) max, in meters - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit | +
| + | +Mission Param #4 | +Horizontal move limit (AMSL), in meters - if vehicle moves more than this distance from its location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal altitude limit | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 223 | ++ MAV_CMD_DO_ENGINE_CONTROL + | +Control vehicle engine. This is interpreted by the vehicles engine controller to change the target engine state. It is intended for vehicles with internal combustion engines | +
| + | +||
| + | +Mission Param #1 | +0: Stop engine, 1:Start Engine | +
| + | +Mission Param #2 | +0: Warm start, 1:Cold start. Controls use of choke where applicable | +
| + | +Mission Param #3 | +Height delay (meters). This is for commanding engine start only after the vehicle has gained the specified height. Used in VTOL vehicles during takeoff to start engine after the aircraft is off the ground. Zero for no delay. | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 224 | ++ MAV_CMD_DO_SET_MISSION_CURRENT + | +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 Param #1 | +Mission sequence value to set | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 240 | ++ MAV_CMD_DO_LAST + | +NOP - This command is only used to mark the upper limit of the DO commands in the enumeration | +
| + | +||
| + | +Mission Param #1 | +Empty | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 241 | ++ MAV_CMD_PREFLIGHT_CALIBRATION + | +Trigger calibration. This command will be only accepted if in pre-flight mode. Except for Temperature Calibration, only one sensor should be set in a single message and all others should be zero. | +
| + | +||
| + | +Mission Param #1 | +1: gyro calibration, 3: gyro temperature calibration | +
| + | +Mission Param #2 | +1: magnetometer calibration | +
| + | +Mission Param #3 | +1: ground pressure calibration | +
| + | +Mission Param #4 | +1: radio RC calibration, 2: RC trim calibration | +
| + | +Mission Param #5 | +1: accelerometer calibration, 2: board level calibration, 3: accelerometer temperature calibration, 4: simple accelerometer calibration | +
| + | +Mission Param #6 | +1: APM: compass/motor interference calibration (PX4: airspeed calibration, deprecated), 2: airspeed calibration | +
| + | +Mission Param #7 | +1: ESC calibration, 3: barometer temperature calibration | +
|
+ + |
+ ||
| 242 | ++ MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS + | +Set sensor offsets. This command will be only accepted if in pre-flight mode. | +
| + | +||
| + | +Mission Param #1 | +Sensor to adjust the offsets for: 0: gyros, 1: accelerometer, 2: magnetometer, 3: barometer, 4: optical flow, 5: second magnetometer, 6: third magnetometer | +
| + | +Mission Param #2 | +X axis offset (or generic dimension 1), in the sensor's raw units | +
| + | +Mission Param #3 | +Y axis offset (or generic dimension 2), in the sensor's raw units | +
| + | +Mission Param #4 | +Z axis offset (or generic dimension 3), in the sensor's raw units | +
| + | +Mission Param #5 | +Generic dimension 4, in the sensor's raw units | +
| + | +Mission Param #6 | +Generic dimension 5, in the sensor's raw units | +
| + | +Mission Param #7 | +Generic dimension 6, in the sensor's raw units | +
|
+ + |
+ ||
| 243 | ++ MAV_CMD_PREFLIGHT_UAVCAN + | +Trigger UAVCAN config. This command will be only accepted if in pre-flight mode. | +
| + | +||
| + | +Mission Param #1 | +1: Trigger actuator ID assignment and direction mapping. | +
| + | +Mission Param #2 | +Reserved | +
| + | +Mission Param #3 | +Reserved | +
| + | +Mission Param #4 | +Reserved | +
| + | +Mission Param #5 | +Reserved | +
| + | +Mission Param #6 | +Reserved | +
| + | +Mission Param #7 | +Reserved | +
|
+ + |
+ ||
| 245 | ++ MAV_CMD_PREFLIGHT_STORAGE + | +Request storage of different parameter values and logs. This command will be only accepted if in pre-flight mode. | +
| + | +||
| + | +Mission Param #1 | +Parameter storage: 0: READ FROM FLASH/EEPROM, 1: WRITE CURRENT TO FLASH/EEPROM, 2: Reset to defaults | +
| + | +Mission Param #2 | +Mission storage: 0: READ FROM FLASH/EEPROM, 1: WRITE CURRENT TO FLASH/EEPROM, 2: Reset to defaults | +
| + | +Mission Param #3 | +Onboard logging: 0: Ignore, 1: Start default rate logging, -1: Stop logging, > 1: start logging with rate of param 3 in Hz (e.g. set to 1000 for 1000 Hz logging) | +
| + | +Mission Param #4 | +Reserved | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 246 | ++ MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN + | +Request the reboot or shutdown of system components. | +
| + | +||
| + | +Mission Param #1 | +0: Do nothing for autopilot, 1: Reboot autopilot, 2: Shutdown autopilot, 3: Reboot autopilot and keep it in the bootloader until upgraded. | +
| + | +Mission Param #2 | +0: Do nothing for onboard computer, 1: Reboot onboard computer, 2: Shutdown onboard computer, 3: Reboot onboard computer and keep it in the bootloader until upgraded. | +
| + | +Mission Param #3 | +WIP: 0: Do nothing for camera, 1: Reboot onboard camera, 2: Shutdown onboard camera, 3: Reboot onboard camera and keep it in the bootloader until upgraded | +
| + | +Mission Param #4 | +WIP: 0: Do nothing for mount (e.g. gimbal), 1: Reboot mount, 2: Shutdown mount, 3: Reboot mount and keep it in the bootloader until upgraded | +
| + | +Mission Param #5 | +Reserved, send 0 | +
| + | +Mission Param #6 | +Reserved, send 0 | +
| + | +Mission Param #7 | +WIP: ID (e.g. camera ID -1 for all IDs) | +
|
+ + |
+ ||
| 252 | ++ MAV_CMD_OVERRIDE_GOTO + | +Hold / continue the current action | +
| + | +||
| + | +Mission Param #1 | +MAV_GOTO_DO_HOLD: hold MAV_GOTO_DO_CONTINUE: continue with next item in mission plan | +
| + | +Mission Param #2 | +MAV_GOTO_HOLD_AT_CURRENT_POSITION: Hold at current position MAV_GOTO_HOLD_AT_SPECIFIED_POSITION: hold at specified position | +
| + | +Mission Param #3 | +MAV_FRAME coordinate frame of hold point | +
| + | +Mission Param #4 | +Desired yaw angle in degrees | +
| + | +Mission Param #5 | +Latitude / X position | +
| + | +Mission Param #6 | +Longitude / Y position | +
| + | +Mission Param #7 | +Altitude / Z position | +
|
+ + |
+ ||
| 300 | ++ MAV_CMD_MISSION_START + | +start running a mission | +
| + | +||
| + | +Mission Param #1 | +first_item: the first mission item to run | +
| + | +Mission Param #2 | +last_item: the last mission item to run (after this item is run, the mission ends) | +
|
+ + |
+ ||
| 400 | ++ MAV_CMD_COMPONENT_ARM_DISARM + | +Arms / Disarms a component | +
| + | +||
| + | +Mission Param #1 | +1 to arm, 0 to disarm | +
|
+ + |
+ ||
| 410 | ++ MAV_CMD_GET_HOME_POSITION + | +Request the home position from the vehicle. | +
| + | +||
| + | +Mission Param #1 | +Reserved | +
| + | +Mission Param #2 | +Reserved | +
| + | +Mission Param #3 | +Reserved | +
| + | +Mission Param #4 | +Reserved | +
| + | +Mission Param #5 | +Reserved | +
| + | +Mission Param #6 | +Reserved | +
| + | +Mission Param #7 | +Reserved | +
|
+ + |
+ ||
| 500 | ++ MAV_CMD_START_RX_PAIR + | +Starts receiver pairing | +
| + | +||
| + | +Mission Param #1 | +0:Spektrum | +
| + | +Mission Param #2 | +RC type (see RC_TYPE enum) | +
|
+ + |
+ ||
| 510 | ++ MAV_CMD_GET_MESSAGE_INTERVAL + | +Request the interval between messages for a particular MAVLink message ID | +
| + | +||
| + | +Mission Param #1 | +The MAVLink message ID | +
|
+ + |
+ ||
| 511 | ++ MAV_CMD_SET_MESSAGE_INTERVAL + | +Set the interval between messages for a particular MAVLink message ID. This interface replaces REQUEST_DATA_STREAM | +
| + | +||
| + | +Mission Param #1 | +The MAVLink message ID | +
| + | +Mission Param #2 | +The interval between two messages, in microseconds. Set to -1 to disable and 0 to request default rate. | +
|
+ + |
+ ||
| 519 | ++ MAV_CMD_REQUEST_PROTOCOL_VERSION + | +Request MAVLink protocol version compatibility | +
| + | +||
| + | +Mission Param #1 | +1: Request supported protocol versions by all nodes on the network | +
| + | +Mission Param #2 | +Reserved (all remaining params) | +
|
+ + |
+ ||
| 520 | ++ MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES + | +Request autopilot capabilities | +
| + | +||
| + | +Mission Param #1 | +1: Request autopilot version | +
| + | +Mission Param #2 | +Reserved (all remaining params) | +
|
+ + |
+ ||
| 521 | ++ MAV_CMD_REQUEST_CAMERA_INFORMATION + | +Request camera information (CAMERA_INFORMATION). | +
| + | +||
| + | +Mission Param #1 | +0: No action 1: Request camera capabilities | +
| + | +Mission Param #2 | +Reserved (all remaining params) | +
|
+ + |
+ ||
| 522 | ++ MAV_CMD_REQUEST_CAMERA_SETTINGS + | +Request camera settings (CAMERA_SETTINGS). | +
| + | +||
| + | +Mission Param #1 | +0: No Action 1: Request camera settings | +
| + | +Mission Param #2 | +Reserved (all remaining params) | +
|
+ + |
+ ||
| 525 | ++ MAV_CMD_REQUEST_STORAGE_INFORMATION + | +Request storage information (STORAGE_INFORMATION). Use the command's target_component to target a specific component's storage. | +
| + | +||
| + | +Mission Param #1 | +Storage ID (0 for all, 1 for first, 2 for second, etc.) | +
| + | +Mission Param #2 | +0: No Action 1: Request storage information | +
| + | +Mission Param #3 | +Reserved (all remaining params) | +
|
+ + |
+ ||
| 526 | ++ MAV_CMD_STORAGE_FORMAT + | +Format a storage medium. Once format is complete, a STORAGE_INFORMATION message is sent. Use the command's target_component to target a specific component's storage. | +
| + | +||
| + | +Mission Param #1 | +Storage ID (1 for first, 2 for second, etc.) | +
| + | +Mission Param #2 | +0: No action 1: Format storage | +
| + | +Mission Param #3 | +Reserved (all remaining params) | +
|
+ + |
+ ||
| 527 | ++ MAV_CMD_REQUEST_CAMERA_CAPTURE_STATUS + | +Request camera capture status (CAMERA_CAPTURE_STATUS) | +
| + | +||
| + | +Mission Param #1 | +0: No Action 1: Request camera capture status | +
| + | +Mission Param #2 | +Reserved (all remaining params) | +
|
+ + |
+ ||
| 528 | ++ MAV_CMD_REQUEST_FLIGHT_INFORMATION + | +Request flight information (FLIGHT_INFORMATION) | +
| + | +||
| + | +Mission Param #1 | +1: Request flight information | +
| + | +Mission Param #2 | +Reserved (all remaining params) | +
|
+ + |
+ ||
| 529 | ++ MAV_CMD_RESET_CAMERA_SETTINGS + | +Reset all camera settings to Factory Default | +
| + | +||
| + | +Mission Param #1 | +0: No Action 1: Reset all settings | +
| + | +Mission Param #2 | +Reserved (all remaining params) | +
|
+ + |
+ ||
| 530 | ++ MAV_CMD_SET_CAMERA_MODE + | +Set camera running mode. Use NAN for reserved values. | +
| + | +||
| + | +Mission Param #1 | +Reserved (Set to 0) | +
| + | +Mission Param #2 | +Camera mode (see CAMERA_MODE enum) | +
| + | +Mission Param #3 | +Reserved (all remaining params) | +
|
+ + |
+ ||
| 2000 | ++ MAV_CMD_IMAGE_START_CAPTURE + | +Start image capture sequence. Sends CAMERA_IMAGE_CAPTURED after each capture. Use NAN for reserved values. | +
| + | +||
| + | +Mission Param #1 | +Reserved (Set to 0) | +
| + | +Mission Param #2 | +Duration between two consecutive pictures (in seconds) | +
| + | +Mission Param #3 | +Number of images to capture total - 0 for unlimited capture | +
| + | +Mission Param #4 | +Capture sequence (ID to prevent double captures when a command is retransmitted, 0: unused, >= 1: used) | +
| + | +Mission Param #5 | +Reserved (all remaining params) | +
|
+ + |
+ ||
| 2001 | ++ MAV_CMD_IMAGE_STOP_CAPTURE + | +Stop image capture sequence Use NAN for reserved values. | +
| + | +||
| + | +Mission Param #1 | +Reserved (Set to 0) | +
| + | +Mission Param #2 | +Reserved (all remaining params) | +
|
+ + |
+ ||
| 2002 | ++ MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE + | +Re-request a CAMERA_IMAGE_CAPTURE packet. Use NAN for reserved values. | +
| + | +||
| + | +Mission Param #1 | +Sequence number for missing CAMERA_IMAGE_CAPTURE packet | +
| + | +Mission Param #2 | +Reserved (all remaining params) | +
|
+ + |
+ ||
| 2003 | ++ MAV_CMD_DO_TRIGGER_CONTROL + | +Enable or disable on-board camera triggering system. | +
| + | +||
| + | +Mission Param #1 | +Trigger enable/disable (0 for disable, 1 for start), -1 to ignore | +
| + | +Mission Param #2 | +1 to reset the trigger sequence, -1 or 0 to ignore | +
| + | +Mission Param #3 | +1 to pause triggering, but without switching the camera off or retracting it. -1 to ignore | +
|
+ + |
+ ||
| 2500 | ++ MAV_CMD_VIDEO_START_CAPTURE + | +Starts video capture (recording). Use NAN for reserved values. | +
| + | +||
| + | +Mission Param #1 | +Reserved (Set to 0) | +
| + | +Mission Param #2 | +Frequency CAMERA_CAPTURE_STATUS messages should be sent while recording (0 for no messages, otherwise frequency in Hz) | +
| + | +Mission Param #3 | +Reserved (all remaining params) | +
|
+ + |
+ ||
| 2501 | ++ MAV_CMD_VIDEO_STOP_CAPTURE + | +Stop the current video capture (recording). Use NAN for reserved values. | +
| + | +||
| + | +Mission Param #1 | +Reserved (Set to 0) | +
| + | +Mission Param #2 | +Reserved (all remaining params) | +
|
+ + |
+ ||
| 2502 | ++ MAV_CMD_VIDEO_START_STREAMING + | +Start video streaming | +
| + | +||
| + | +Mission Param #1 | +Camera ID (0 for all cameras, 1 for first, 2 for second, etc.) | +
| + | +Mission Param #2 | +Reserved | +
|
+ + |
+ ||
| 2503 | ++ MAV_CMD_VIDEO_STOP_STREAMING + | +Stop the current video streaming | +
| + | +||
| + | +Mission Param #1 | +Camera ID (0 for all cameras, 1 for first, 2 for second, etc.) | +
| + | +Mission Param #2 | +Reserved | +
|
+ + |
+ ||
| 2504 | ++ MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION + | +Request video stream information (VIDEO_STREAM_INFORMATION) | +
| + | +||
| + | +Mission Param #1 | +Camera ID (0 for all cameras, 1 for first, 2 for second, etc.) | +
| + | +Mission Param #2 | +0: No Action 1: Request video stream information | +
| + | +Mission Param #3 | +Reserved (all remaining params) | +
|
+ + |
+ ||
| 2510 | ++ MAV_CMD_LOGGING_START + | +Request to start streaming logging data over MAVLink (see also LOGGING_DATA message) | +
| + | +||
| + | +Mission Param #1 | +Format: 0: ULog | +
| + | +Mission Param #2 | +Reserved (set to 0) | +
| + | +Mission Param #3 | +Reserved (set to 0) | +
| + | +Mission Param #4 | +Reserved (set to 0) | +
| + | +Mission Param #5 | +Reserved (set to 0) | +
| + | +Mission Param #6 | +Reserved (set to 0) | +
| + | +Mission Param #7 | +Reserved (set to 0) | +
|
+ + |
+ ||
| 2511 | ++ MAV_CMD_LOGGING_STOP + | +Request to stop streaming log data over MAVLink | +
| + | +||
| + | +Mission Param #1 | +Reserved (set to 0) | +
| + | +Mission Param #2 | +Reserved (set to 0) | +
| + | +Mission Param #3 | +Reserved (set to 0) | +
| + | +Mission Param #4 | +Reserved (set to 0) | +
| + | +Mission Param #5 | +Reserved (set to 0) | +
| + | +Mission Param #6 | +Reserved (set to 0) | +
| + | +Mission Param #7 | +Reserved (set to 0) | +
|
+ + |
+ ||
| 2520 | ++ MAV_CMD_AIRFRAME_CONFIGURATION + | ++ | +
| + | +||
| + | +Mission Param #1 | +Landing gear ID (default: 0, -1 for all) | +
| + | +Mission Param #2 | +Landing gear position (Down: 0, Up: 1, NAN for no change) | +
| + | +Mission Param #3 | +Reserved, set to NAN | +
| + | +Mission Param #4 | +Reserved, set to NAN | +
| + | +Mission Param #5 | +Reserved, set to NAN | +
| + | +Mission Param #6 | +Reserved, set to NAN | +
| + | +Mission Param #7 | +Reserved, set to NAN | +
|
+ + |
+ ||
| 2600 | ++ MAV_CMD_CONTROL_HIGH_LATENCY + | +Request to start/stop transmitting over the high latency telemetry | +
| + | +||
| + | +Mission Param #1 | +Control transmission over high latency telemetry (0: stop, 1: start) | +
| + | +Mission Param #2 | +Empty | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
| 2800 | ++ MAV_CMD_PANORAMA_CREATE + | +Create a panorama at the current position | +
| + | +||
| + | +Mission Param #1 | +Viewing angle horizontal of the panorama (in degrees, +- 0.5 the total angle) | +
| + | +Mission Param #2 | +Viewing angle vertical of panorama (in degrees) | +
| + | +Mission Param #3 | +Speed of the horizontal rotation (in degrees per second) | +
| + | +Mission Param #4 | +Speed of the vertical rotation (in degrees per second) | +
|
+ + |
+ ||
| 3000 | ++ MAV_CMD_DO_VTOL_TRANSITION + | +Request VTOL transition | +
| + | +||
| + | +Mission Param #1 | +The target VTOL state, as defined by ENUM MAV_VTOL_STATE. Only MAV_VTOL_STATE_MC and MAV_VTOL_STATE_FW can be used. | +
|
+ + |
+ ||
| 3001 | ++ MAV_CMD_ARM_AUTHORIZATION_REQUEST + | +Request authorization to arm the vehicle to a external entity, the arm authorizer is responsible to request all data that is needs from the vehicle before authorize or deny the request. If approved the progress of command_ack message should be set with period of time that this authorization is valid in seconds or in case it was denied it should be set with one of the reasons in ARM_AUTH_DENIED_REASON. | +
| + | +||
| + | +Mission Param #1 | +Vehicle system id, this way ground station can request arm authorization on behalf of any vehicle | +
|
+ + |
+ ||
| 4000 | ++ MAV_CMD_SET_GUIDED_SUBMODE_STANDARD + | +This command sets the submode to standard guided when vehicle is in guided mode. The vehicle holds position and altitude and the user can input the desired velocities along all three axes. | +
| 4001 | ++ MAV_CMD_SET_GUIDED_SUBMODE_CIRCLE + | +This command sets submode circle when vehicle is in guided mode. Vehicle flies along a circle facing the center of the circle. The user can input the velocity along the circle and change the radius. If no input is given the vehicle will hold position. | +
| + | +||
| + | +Mission Param #1 | +Radius of desired circle in CIRCLE_MODE | +
| + | +Mission Param #2 | +User defined | +
| + | +Mission Param #3 | +User defined | +
| + | +Mission Param #4 | +User defined | +
| + | +Mission Param #5 | +Unscaled target latitude of center of circle in CIRCLE_MODE | +
| + | +Mission Param #6 | +Unscaled target longitude of center of circle in CIRCLE_MODE | +
|
+ + |
+ ||
| 4501 | ++ MAV_CMD_CONDITION_GATE + | +Delay mission state machine until gate has been reached. | +
| + | +||
| + | +Mission Param #1 | +Geometry: 0: orthogonal to path between previous and next waypoint. | +
| + | +Mission Param #2 | +Altitude: 0: ignore altitude | +
| + | +Mission Param #3 | +Empty | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Altitude | +
|
+ + |
+ ||
| 5000 | ++ MAV_CMD_NAV_FENCE_RETURN_POINT + | +Fence return point. There can only be one fence return point. | +
| + | +||
| + | +Mission Param #1 | +Reserved | +
| + | +Mission Param #2 | +Reserved | +
| + | +Mission Param #3 | +Reserved | +
| + | +Mission Param #4 | +Reserved | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Altitude | +
|
+ + |
+ ||
| 5001 | ++ MAV_CMD_NAV_FENCE_POLYGON_VERTEX_INCLUSION + | +Fence vertex for an inclusion polygon (the polygon must not be self-intersecting). The vehicle must stay within this area. Minimum of 3 vertices required. | +
| + | +||
| + | +Mission Param #1 | +Polygon vertex count | +
| + | +Mission Param #2 | +Reserved | +
| + | +Mission Param #3 | +Reserved | +
| + | +Mission Param #4 | +Reserved | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Reserved | +
|
+ + |
+ ||
| 5002 | ++ MAV_CMD_NAV_FENCE_POLYGON_VERTEX_EXCLUSION + | +Fence vertex for an exclusion polygon (the polygon must not be self-intersecting). The vehicle must stay outside this area. Minimum of 3 vertices required. | +
| + | +||
| + | +Mission Param #1 | +Polygon vertex count | +
| + | +Mission Param #2 | +Reserved | +
| + | +Mission Param #3 | +Reserved | +
| + | +Mission Param #4 | +Reserved | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Reserved | +
|
+ + |
+ ||
| 5003 | ++ MAV_CMD_NAV_FENCE_CIRCLE_INCLUSION + | +Circular fence area. The vehicle must stay inside this area. | +
| + | +||
| + | +Mission Param #1 | +radius in meters | +
| + | +Mission Param #2 | +Reserved | +
| + | +Mission Param #3 | +Reserved | +
| + | +Mission Param #4 | +Reserved | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Reserved | +
|
+ + |
+ ||
| 5004 | ++ MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION + | +Circular fence area. The vehicle must stay outside this area. | +
| + | +||
| + | +Mission Param #1 | +radius in meters | +
| + | +Mission Param #2 | +Reserved | +
| + | +Mission Param #3 | +Reserved | +
| + | +Mission Param #4 | +Reserved | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Reserved | +
|
+ + |
+ ||
| 5100 | ++ MAV_CMD_NAV_RALLY_POINT + | +Rally point. You can have multiple rally points defined. | +
| + | +||
| + | +Mission Param #1 | +Reserved | +
| + | +Mission Param #2 | +Reserved | +
| + | +Mission Param #3 | +Reserved | +
| + | +Mission Param #4 | +Reserved | +
| + | +Mission Param #5 | +Latitude | +
| + | +Mission Param #6 | +Longitude | +
| + | +Mission Param #7 | +Altitude | +
|
+ + |
+ ||
| 5200 | ++ MAV_CMD_UAVCAN_GET_NODE_INFO + | +Commands the vehicle to respond with a sequence of messages UAVCAN_NODE_INFO, one message per every UAVCAN node that is online. Note that some of the response messages can be lost, which the receiver can detect easily by checking whether every received UAVCAN_NODE_STATUS has a matching message UAVCAN_NODE_INFO received earlier; if not, this command should be sent again in order to request re-transmission of the node information messages. | +
| + | +||
| + | +Mission Param #1 | +Reserved (set to 0) | +
| + | +Mission Param #2 | +Reserved (set to 0) | +
| + | +Mission Param #3 | +Reserved (set to 0) | +
| + | +Mission Param #4 | +Reserved (set to 0) | +
| + | +Mission Param #5 | +Reserved (set to 0) | +
| + | +Mission Param #6 | +Reserved (set to 0) | +
| + | +Mission Param #7 | +Reserved (set to 0) | +
|
+ + |
+ ||
| 30001 | ++ MAV_CMD_PAYLOAD_PREPARE_DEPLOY + | +Deploy payload on a Lat / Lon / Alt position. This includes the navigation to reach the required release position and velocity. | +
| + | +||
| + | +Mission Param #1 | +Operation mode. 0: prepare single payload deploy (overwriting previous requests), but do not execute it. 1: execute payload deploy immediately (rejecting further deploy commands during execution, but allowing abort). 2: add payload deploy to existing deployment list. | +
| + | +Mission Param #2 | +Desired approach vector in degrees compass heading (0..360). A negative value indicates the system can define the approach vector at will. | +
| + | +Mission Param #3 | +Desired ground speed at release time. This can be overridden by the airframe in case it needs to meet minimum airspeed. A negative value indicates the system can define the ground speed at will. | +
| + | +Mission Param #4 | +Minimum altitude clearance to the release position in meters. A negative value indicates the system can define the clearance at will. | +
| + | +Mission Param #5 | +Latitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT | +
| + | +Mission Param #6 | +Longitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT | +
| + | +Mission Param #7 | +Altitude (AMSL), in meters | +
|
+ + |
+ ||
| 30002 | ++ MAV_CMD_PAYLOAD_CONTROL_DEPLOY + | +Control the payload deployment. | +
| + | +||
| + | +Mission Param #1 | +Operation mode. 0: Abort deployment, continue normal mission. 1: switch to payload deployment mode. 100: delete first payload deployment request. 101: delete all payload deployment requests. | +
| + | +Mission Param #2 | +Reserved | +
| + | +Mission Param #3 | +Reserved | +
| + | +Mission Param #4 | +Reserved | +
| + | +Mission Param #5 | +Reserved | +
| + | +Mission Param #6 | +Reserved | +
| + | +Mission Param #7 | +Reserved | +
|
+ + |
+ ||
| 31000 | ++ MAV_CMD_WAYPOINT_USER_1 + | +User defined waypoint item. Ground Station will show the Vehicle as flying through this item. | +
| + | +||
| + | +Mission Param #1 | +User defined | +
| + | +Mission Param #2 | +User defined | +
| + | +Mission Param #3 | +User defined | +
| + | +Mission Param #4 | +User defined | +
| + | +Mission Param #5 | +Latitude unscaled | +
| + | +Mission Param #6 | +Longitude unscaled | +
| + | +Mission Param #7 | +Altitude (AMSL), in meters | +
|
+ + |
+ ||
| 31001 | ++ MAV_CMD_WAYPOINT_USER_2 + | +User defined waypoint item. Ground Station will show the Vehicle as flying through this item. | +
| + | +||
| + | +Mission Param #1 | +User defined | +
| + | +Mission Param #2 | +User defined | +
| + | +Mission Param #3 | +User defined | +
| + | +Mission Param #4 | +User defined | +
| + | +Mission Param #5 | +Latitude unscaled | +
| + | +Mission Param #6 | +Longitude unscaled | +
| + | +Mission Param #7 | +Altitude (AMSL), in meters | +
|
+ + |
+ ||
| 31002 | ++ MAV_CMD_WAYPOINT_USER_3 + | +User defined waypoint item. Ground Station will show the Vehicle as flying through this item. | +
| + | +||
| + | +Mission Param #1 | +User defined | +
| + | +Mission Param #2 | +User defined | +
| + | +Mission Param #3 | +User defined | +
| + | +Mission Param #4 | +User defined | +
| + | +Mission Param #5 | +Latitude unscaled | +
| + | +Mission Param #6 | +Longitude unscaled | +
| + | +Mission Param #7 | +Altitude (AMSL), in meters | +
|
+ + |
+ ||
| 31003 | ++ MAV_CMD_WAYPOINT_USER_4 + | +User defined waypoint item. Ground Station will show the Vehicle as flying through this item. | +
| + | +||
| + | +Mission Param #1 | +User defined | +
| + | +Mission Param #2 | +User defined | +
| + | +Mission Param #3 | +User defined | +
| + | +Mission Param #4 | +User defined | +
| + | +Mission Param #5 | +Latitude unscaled | +
| + | +Mission Param #6 | +Longitude unscaled | +
| + | +Mission Param #7 | +Altitude (AMSL), in meters | +
|
+ + |
+ ||
| 31004 | ++ MAV_CMD_WAYPOINT_USER_5 + | +User defined waypoint item. Ground Station will show the Vehicle as flying through this item. | +
| + | +||
| + | +Mission Param #1 | +User defined | +
| + | +Mission Param #2 | +User defined | +
| + | +Mission Param #3 | +User defined | +
| + | +Mission Param #4 | +User defined | +
| + | +Mission Param #5 | +Latitude unscaled | +
| + | +Mission Param #6 | +Longitude unscaled | +
| + | +Mission Param #7 | +Altitude (AMSL), in meters | +
|
+ + |
+ ||
| 31005 | ++ MAV_CMD_SPATIAL_USER_1 + | +User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. | +
| + | +||
| + | +Mission Param #1 | +User defined | +
| + | +Mission Param #2 | +User defined | +
| + | +Mission Param #3 | +User defined | +
| + | +Mission Param #4 | +User defined | +
| + | +Mission Param #5 | +Latitude unscaled | +
| + | +Mission Param #6 | +Longitude unscaled | +
| + | +Mission Param #7 | +Altitude (AMSL), in meters | +
|
+ + |
+ ||
| 31006 | ++ MAV_CMD_SPATIAL_USER_2 + | +User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. | +
| + | +||
| + | +Mission Param #1 | +User defined | +
| + | +Mission Param #2 | +User defined | +
| + | +Mission Param #3 | +User defined | +
| + | +Mission Param #4 | +User defined | +
| + | +Mission Param #5 | +Latitude unscaled | +
| + | +Mission Param #6 | +Longitude unscaled | +
| + | +Mission Param #7 | +Altitude (AMSL), in meters | +
|
+ + |
+ ||
| 31007 | ++ MAV_CMD_SPATIAL_USER_3 + | +User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. | +
| + | +||
| + | +Mission Param #1 | +User defined | +
| + | +Mission Param #2 | +User defined | +
| + | +Mission Param #3 | +User defined | +
| + | +Mission Param #4 | +User defined | +
| + | +Mission Param #5 | +Latitude unscaled | +
| + | +Mission Param #6 | +Longitude unscaled | +
| + | +Mission Param #7 | +Altitude (AMSL), in meters | +
|
+ + |
+ ||
| 31008 | ++ MAV_CMD_SPATIAL_USER_4 + | +User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. | +
| + | +||
| + | +Mission Param #1 | +User defined | +
| + | +Mission Param #2 | +User defined | +
| + | +Mission Param #3 | +User defined | +
| + | +Mission Param #4 | +User defined | +
| + | +Mission Param #5 | +Latitude unscaled | +
| + | +Mission Param #6 | +Longitude unscaled | +
| + | +Mission Param #7 | +Altitude (AMSL), in meters | +
|
+ + |
+ ||
| 31009 | ++ MAV_CMD_SPATIAL_USER_5 + | +User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. | +
| + | +||
| + | +Mission Param #1 | +User defined | +
| + | +Mission Param #2 | +User defined | +
| + | +Mission Param #3 | +User defined | +
| + | +Mission Param #4 | +User defined | +
| + | +Mission Param #5 | +Latitude unscaled | +
| + | +Mission Param #6 | +Longitude unscaled | +
| + | +Mission Param #7 | +Altitude (AMSL), in meters | +
|
+ + |
+ ||
| 31010 | ++ MAV_CMD_USER_1 + | +User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. | +
| + | +||
| + | +Mission Param #1 | +User defined | +
| + | +Mission Param #2 | +User defined | +
| + | +Mission Param #3 | +User defined | +
| + | +Mission Param #4 | +User defined | +
| + | +Mission Param #5 | +User defined | +
| + | +Mission Param #6 | +User defined | +
| + | +Mission Param #7 | +User defined | +
|
+ + |
+ ||
| 31011 | ++ MAV_CMD_USER_2 + | +User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. | +
| + | +||
| + | +Mission Param #1 | +User defined | +
| + | +Mission Param #2 | +User defined | +
| + | +Mission Param #3 | +User defined | +
| + | +Mission Param #4 | +User defined | +
| + | +Mission Param #5 | +User defined | +
| + | +Mission Param #6 | +User defined | +
| + | +Mission Param #7 | +User defined | +
|
+ + |
+ ||
| 31012 | ++ MAV_CMD_USER_3 + | +User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. | +
| + | +||
| + | +Mission Param #1 | +User defined | +
| + | +Mission Param #2 | +User defined | +
| + | +Mission Param #3 | +User defined | +
| + | +Mission Param #4 | +User defined | +
| + | +Mission Param #5 | +User defined | +
| + | +Mission Param #6 | +User defined | +
| + | +Mission Param #7 | +User defined | +
|
+ + |
+ ||
| 31013 | ++ MAV_CMD_USER_4 + | +User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. | +
| + | +||
| + | +Mission Param #1 | +User defined | +
| + | +Mission Param #2 | +User defined | +
| + | +Mission Param #3 | +User defined | +
| + | +Mission Param #4 | +User defined | +
| + | +Mission Param #5 | +User defined | +
| + | +Mission Param #6 | +User defined | +
| + | +Mission Param #7 | +User defined | +
|
+ + |
+ ||
| 31014 | ++ MAV_CMD_USER_5 + | +User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. | +
| + | +||
| + | +Mission Param #1 | +User defined | +
| + | +Mission Param #2 | +User defined | +
| + | +Mission Param #3 | +User defined | +
| + | +Mission Param #4 | +User defined | +
| + | +Mission Param #5 | +User defined | +
| + | +Mission Param #6 | +User defined | +
| + | +Mission Param #7 | +User defined | +
|
+ + |
+ ||
A data stream is not a fixed set of messages, but rather a + recommendation to the autopilot software. Individual autopilots may or may not obey + the recommended messages.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_DATA_STREAM_ALL + | +Enable all data streams | +
| 1 | ++ MAV_DATA_STREAM_RAW_SENSORS + | +Enable IMU_RAW, GPS_RAW, GPS_STATUS packets. | +
| 2 | ++ MAV_DATA_STREAM_EXTENDED_STATUS + | +Enable GPS_STATUS, CONTROL_STATUS, AUX_STATUS | +
| 3 | ++ MAV_DATA_STREAM_RC_CHANNELS + | +Enable RC_CHANNELS_SCALED, RC_CHANNELS_RAW, SERVO_OUTPUT_RAW | +
| 4 | ++ MAV_DATA_STREAM_RAW_CONTROLLER + | +Enable ATTITUDE_CONTROLLER_OUTPUT, POSITION_CONTROLLER_OUTPUT, NAV_CONTROLLER_OUTPUT. | +
| 6 | ++ MAV_DATA_STREAM_POSITION + | +Enable LOCAL_POSITION, GLOBAL_POSITION/GLOBAL_POSITION_INT messages. | +
| 10 | ++ MAV_DATA_STREAM_EXTRA1 + | +Dependent on the autopilot | +
| 11 | ++ MAV_DATA_STREAM_EXTRA2 + | +Dependent on the autopilot | +
| 12 | ++ MAV_DATA_STREAM_EXTRA3 + | +Dependent on the autopilot | +
The ROI (region of interest) for the vehicle. This can be + be used by the vehicle for camera/vehicle attitude alignment (see + MAV_CMD_NAV_ROI).
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_ROI_NONE + | +No region of interest. | +
| 1 | ++ MAV_ROI_WPNEXT + | +Point toward next waypoint, with optional pitch/roll/yaw offset. | +
| 2 | ++ MAV_ROI_WPINDEX + | +Point toward given waypoint. | +
| 3 | ++ MAV_ROI_LOCATION + | +Point toward fixed location. | +
| 4 | ++ MAV_ROI_TARGET + | +Point toward of given id. | +
ACK / NACK / ERROR values as a result of MAV_CMDs and for mission item transmission.
+| Value | +Field Name | +Description | +
|---|---|---|
| + | ++ MAV_CMD_ACK_OK + | +Command / mission item is ok. | +
| + | ++ MAV_CMD_ACK_ERR_FAIL + | +Generic error message if none of the other reasons fails or if no detailed error reporting is implemented. | +
| + | ++ MAV_CMD_ACK_ERR_ACCESS_DENIED + | +The system is refusing to accept this command from this source / communication partner. | +
| + | ++ MAV_CMD_ACK_ERR_NOT_SUPPORTED + | +Command or mission item is not supported, other commands would be accepted. | +
| + | ++ MAV_CMD_ACK_ERR_COORDINATE_FRAME_NOT_SUPPORTED + | +The coordinate frame of this command / mission item is not supported. | +
| + | ++ MAV_CMD_ACK_ERR_COORDINATES_OUT_OF_RANGE + | +The coordinate frame of this command is ok, but he coordinate values exceed the safety limits of this system. This is a generic error, please use the more specific error messages below if possible. | +
| + | ++ MAV_CMD_ACK_ERR_X_LAT_OUT_OF_RANGE + | +The X or latitude value is out of range. | +
| + | ++ MAV_CMD_ACK_ERR_Y_LON_OUT_OF_RANGE + | +The Y or longitude value is out of range. | +
| + | ++ MAV_CMD_ACK_ERR_Z_ALT_OUT_OF_RANGE + | +The Z or altitude value is out of range. | +
Specifies the datatype of a MAVLink parameter.
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ MAV_PARAM_TYPE_UINT8 + | +8-bit unsigned integer | +
| 2 | ++ MAV_PARAM_TYPE_INT8 + | +8-bit signed integer | +
| 3 | ++ MAV_PARAM_TYPE_UINT16 + | +16-bit unsigned integer | +
| 4 | ++ MAV_PARAM_TYPE_INT16 + | +16-bit signed integer | +
| 5 | ++ MAV_PARAM_TYPE_UINT32 + | +32-bit unsigned integer | +
| 6 | ++ MAV_PARAM_TYPE_INT32 + | +32-bit signed integer | +
| 7 | ++ MAV_PARAM_TYPE_UINT64 + | +64-bit unsigned integer | +
| 8 | ++ MAV_PARAM_TYPE_INT64 + | +64-bit signed integer | +
| 9 | ++ MAV_PARAM_TYPE_REAL32 + | +32-bit floating-point | +
| 10 | ++ MAV_PARAM_TYPE_REAL64 + | +64-bit floating-point | +
Specifies the datatype of a MAVLink extended parameter.
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ MAV_PARAM_EXT_TYPE_UINT8 + | +8-bit unsigned integer | +
| 2 | ++ MAV_PARAM_EXT_TYPE_INT8 + | +8-bit signed integer | +
| 3 | ++ MAV_PARAM_EXT_TYPE_UINT16 + | +16-bit unsigned integer | +
| 4 | ++ MAV_PARAM_EXT_TYPE_INT16 + | +16-bit signed integer | +
| 5 | ++ MAV_PARAM_EXT_TYPE_UINT32 + | +32-bit unsigned integer | +
| 6 | ++ MAV_PARAM_EXT_TYPE_INT32 + | +32-bit signed integer | +
| 7 | ++ MAV_PARAM_EXT_TYPE_UINT64 + | +64-bit unsigned integer | +
| 8 | ++ MAV_PARAM_EXT_TYPE_INT64 + | +64-bit signed integer | +
| 9 | ++ MAV_PARAM_EXT_TYPE_REAL32 + | +32-bit floating-point | +
| 10 | ++ MAV_PARAM_EXT_TYPE_REAL64 + | +64-bit floating-point | +
| 11 | ++ MAV_PARAM_EXT_TYPE_CUSTOM + | +Custom Type | +
result from a mavlink command
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_RESULT_ACCEPTED + | +Command ACCEPTED and EXECUTED | +
| 1 | ++ MAV_RESULT_TEMPORARILY_REJECTED + | +Command TEMPORARY REJECTED/DENIED | +
| 2 | ++ MAV_RESULT_DENIED + | +Command PERMANENTLY DENIED | +
| 3 | ++ MAV_RESULT_UNSUPPORTED + | +Command UNKNOWN/UNSUPPORTED | +
| 4 | ++ MAV_RESULT_FAILED + | +Command executed, but failed | +
| 5 | ++ MAV_RESULT_IN_PROGRESS + | +WIP: Command being executed | +
result in a MAVLink mission ack
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_MISSION_ACCEPTED + | +mission accepted OK | +
| 1 | ++ MAV_MISSION_ERROR + | +generic error / not accepting mission commands at all right now | +
| 2 | ++ MAV_MISSION_UNSUPPORTED_FRAME + | +coordinate frame is not supported | +
| 3 | ++ MAV_MISSION_UNSUPPORTED + | +command is not supported | +
| 4 | ++ MAV_MISSION_NO_SPACE + | +mission item exceeds storage space | +
| 5 | ++ MAV_MISSION_INVALID + | +one of the parameters has an invalid value | +
| 6 | ++ MAV_MISSION_INVALID_PARAM1 + | +param1 has an invalid value | +
| 7 | ++ MAV_MISSION_INVALID_PARAM2 + | +param2 has an invalid value | +
| 8 | ++ MAV_MISSION_INVALID_PARAM3 + | +param3 has an invalid value | +
| 9 | ++ MAV_MISSION_INVALID_PARAM4 + | +param4 has an invalid value | +
| 10 | ++ MAV_MISSION_INVALID_PARAM5_X + | +x/param5 has an invalid value | +
| 11 | ++ MAV_MISSION_INVALID_PARAM6_Y + | +y/param6 has an invalid value | +
| 12 | ++ MAV_MISSION_INVALID_PARAM7 + | +param7 has an invalid value | +
| 13 | ++ MAV_MISSION_INVALID_SEQUENCE + | +received waypoint out of sequence | +
| 14 | ++ MAV_MISSION_DENIED + | +not accepting any mission commands from this communication partner | +
Indicates the severity level, generally used for status messages to indicate their relative urgency. Based on RFC-5424 using expanded definitions at: http://www.kiwisyslog.com/kb/info:-syslog-message-levels/.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_SEVERITY_EMERGENCY + | +System is unusable. This is a "panic" condition. | +
| 1 | ++ MAV_SEVERITY_ALERT + | +Action should be taken immediately. Indicates error in non-critical systems. | +
| 2 | ++ MAV_SEVERITY_CRITICAL + | +Action must be taken immediately. Indicates failure in a primary system. | +
| 3 | ++ MAV_SEVERITY_ERROR + | +Indicates an error in secondary/redundant systems. | +
| 4 | ++ MAV_SEVERITY_WARNING + | +Indicates about a possible future error if this is not resolved within a given timeframe. Example would be a low battery warning. | +
| 5 | ++ MAV_SEVERITY_NOTICE + | +An unusual event has occurred, though not an error condition. This should be investigated for the root cause. | +
| 6 | ++ MAV_SEVERITY_INFO + | +Normal operational messages. Useful for logging. No action is required for these messages. | +
| 7 | ++ MAV_SEVERITY_DEBUG + | +Useful non-operational messages that can assist in debugging. These should not occur during normal operation. | +
Power supply status flags (bitmask)
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ MAV_POWER_STATUS_BRICK_VALID + | +main brick power supply valid | +
| 2 | ++ MAV_POWER_STATUS_SERVO_VALID + | +main servo power supply valid for FMU | +
| 4 | ++ MAV_POWER_STATUS_USB_CONNECTED + | +USB power is connected | +
| 8 | ++ MAV_POWER_STATUS_PERIPH_OVERCURRENT + | +peripheral supply is in over-current state | +
| 16 | ++ MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT + | +hi-power peripheral supply is in over-current state | +
| 32 | ++ MAV_POWER_STATUS_CHANGED + | +Power status has changed since boot | +
SERIAL_CONTROL device types
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ SERIAL_CONTROL_DEV_TELEM1 + | +First telemetry port | +
| 1 | ++ SERIAL_CONTROL_DEV_TELEM2 + | +Second telemetry port | +
| 2 | ++ SERIAL_CONTROL_DEV_GPS1 + | +First GPS port | +
| 3 | ++ SERIAL_CONTROL_DEV_GPS2 + | +Second GPS port | +
| 10 | ++ SERIAL_CONTROL_DEV_SHELL + | +system shell | +
SERIAL_CONTROL flags (bitmask)
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ SERIAL_CONTROL_FLAG_REPLY + | +Set if this is a reply | +
| 2 | ++ SERIAL_CONTROL_FLAG_RESPOND + | +Set if the sender wants the receiver to send a response as another SERIAL_CONTROL message | +
| 4 | ++ SERIAL_CONTROL_FLAG_EXCLUSIVE + | +Set if access to the serial port should be removed from whatever driver is currently using it, giving exclusive access to the SERIAL_CONTROL protocol. The port can be handed back by sending a request without this flag set | +
| 8 | ++ SERIAL_CONTROL_FLAG_BLOCKING + | +Block on writes to the serial port | +
| 16 | ++ SERIAL_CONTROL_FLAG_MULTI + | +Send multiple replies until port is drained | +
Enumeration of distance sensor types
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_DISTANCE_SENSOR_LASER + | +Laser rangefinder, e.g. LightWare SF02/F or PulsedLight units | +
| 1 | ++ MAV_DISTANCE_SENSOR_ULTRASOUND + | +Ultrasound rangefinder, e.g. MaxBotix units | +
| 2 | ++ MAV_DISTANCE_SENSOR_INFRARED + | +Infrared rangefinder, e.g. Sharp units | +
| 3 | ++ MAV_DISTANCE_SENSOR_RADAR + | +Radar type, e.g. uLanding units | +
| 4 | ++ MAV_DISTANCE_SENSOR_UNKNOWN + | +Broken or unknown type, e.g. analog units | +
Enumeration of sensor orientation, according to its rotations
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_SENSOR_ROTATION_NONE + | +Roll: 0, Pitch: 0, Yaw: 0 | +
| 1 | ++ MAV_SENSOR_ROTATION_YAW_45 + | +Roll: 0, Pitch: 0, Yaw: 45 | +
| 2 | ++ MAV_SENSOR_ROTATION_YAW_90 + | +Roll: 0, Pitch: 0, Yaw: 90 | +
| 3 | ++ MAV_SENSOR_ROTATION_YAW_135 + | +Roll: 0, Pitch: 0, Yaw: 135 | +
| 4 | ++ MAV_SENSOR_ROTATION_YAW_180 + | +Roll: 0, Pitch: 0, Yaw: 180 | +
| 5 | ++ MAV_SENSOR_ROTATION_YAW_225 + | +Roll: 0, Pitch: 0, Yaw: 225 | +
| 6 | ++ MAV_SENSOR_ROTATION_YAW_270 + | +Roll: 0, Pitch: 0, Yaw: 270 | +
| 7 | ++ MAV_SENSOR_ROTATION_YAW_315 + | +Roll: 0, Pitch: 0, Yaw: 315 | +
| 8 | ++ MAV_SENSOR_ROTATION_ROLL_180 + | +Roll: 180, Pitch: 0, Yaw: 0 | +
| 9 | ++ MAV_SENSOR_ROTATION_ROLL_180_YAW_45 + | +Roll: 180, Pitch: 0, Yaw: 45 | +
| 10 | ++ MAV_SENSOR_ROTATION_ROLL_180_YAW_90 + | +Roll: 180, Pitch: 0, Yaw: 90 | +
| 11 | ++ MAV_SENSOR_ROTATION_ROLL_180_YAW_135 + | +Roll: 180, Pitch: 0, Yaw: 135 | +
| 12 | ++ MAV_SENSOR_ROTATION_PITCH_180 + | +Roll: 0, Pitch: 180, Yaw: 0 | +
| 13 | ++ MAV_SENSOR_ROTATION_ROLL_180_YAW_225 + | +Roll: 180, Pitch: 0, Yaw: 225 | +
| 14 | ++ MAV_SENSOR_ROTATION_ROLL_180_YAW_270 + | +Roll: 180, Pitch: 0, Yaw: 270 | +
| 15 | ++ MAV_SENSOR_ROTATION_ROLL_180_YAW_315 + | +Roll: 180, Pitch: 0, Yaw: 315 | +
| 16 | ++ MAV_SENSOR_ROTATION_ROLL_90 + | +Roll: 90, Pitch: 0, Yaw: 0 | +
| 17 | ++ MAV_SENSOR_ROTATION_ROLL_90_YAW_45 + | +Roll: 90, Pitch: 0, Yaw: 45 | +
| 18 | ++ MAV_SENSOR_ROTATION_ROLL_90_YAW_90 + | +Roll: 90, Pitch: 0, Yaw: 90 | +
| 19 | ++ MAV_SENSOR_ROTATION_ROLL_90_YAW_135 + | +Roll: 90, Pitch: 0, Yaw: 135 | +
| 20 | ++ MAV_SENSOR_ROTATION_ROLL_270 + | +Roll: 270, Pitch: 0, Yaw: 0 | +
| 21 | ++ MAV_SENSOR_ROTATION_ROLL_270_YAW_45 + | +Roll: 270, Pitch: 0, Yaw: 45 | +
| 22 | ++ MAV_SENSOR_ROTATION_ROLL_270_YAW_90 + | +Roll: 270, Pitch: 0, Yaw: 90 | +
| 23 | ++ MAV_SENSOR_ROTATION_ROLL_270_YAW_135 + | +Roll: 270, Pitch: 0, Yaw: 135 | +
| 24 | ++ MAV_SENSOR_ROTATION_PITCH_90 + | +Roll: 0, Pitch: 90, Yaw: 0 | +
| 25 | ++ MAV_SENSOR_ROTATION_PITCH_270 + | +Roll: 0, Pitch: 270, Yaw: 0 | +
| 26 | ++ MAV_SENSOR_ROTATION_PITCH_180_YAW_90 + | +Roll: 0, Pitch: 180, Yaw: 90 | +
| 27 | ++ MAV_SENSOR_ROTATION_PITCH_180_YAW_270 + | +Roll: 0, Pitch: 180, Yaw: 270 | +
| 28 | ++ MAV_SENSOR_ROTATION_ROLL_90_PITCH_90 + | +Roll: 90, Pitch: 90, Yaw: 0 | +
| 29 | ++ MAV_SENSOR_ROTATION_ROLL_180_PITCH_90 + | +Roll: 180, Pitch: 90, Yaw: 0 | +
| 30 | ++ MAV_SENSOR_ROTATION_ROLL_270_PITCH_90 + | +Roll: 270, Pitch: 90, Yaw: 0 | +
| 31 | ++ MAV_SENSOR_ROTATION_ROLL_90_PITCH_180 + | +Roll: 90, Pitch: 180, Yaw: 0 | +
| 32 | ++ MAV_SENSOR_ROTATION_ROLL_270_PITCH_180 + | +Roll: 270, Pitch: 180, Yaw: 0 | +
| 33 | ++ MAV_SENSOR_ROTATION_ROLL_90_PITCH_270 + | +Roll: 90, Pitch: 270, Yaw: 0 | +
| 34 | ++ MAV_SENSOR_ROTATION_ROLL_180_PITCH_270 + | +Roll: 180, Pitch: 270, Yaw: 0 | +
| 35 | ++ MAV_SENSOR_ROTATION_ROLL_270_PITCH_270 + | +Roll: 270, Pitch: 270, Yaw: 0 | +
| 36 | ++ MAV_SENSOR_ROTATION_ROLL_90_PITCH_180_YAW_90 + | +Roll: 90, Pitch: 180, Yaw: 90 | +
| 37 | ++ MAV_SENSOR_ROTATION_ROLL_90_YAW_270 + | +Roll: 90, Pitch: 0, Yaw: 270 | +
| 38 | ++ MAV_SENSOR_ROTATION_ROLL_90_PITCH_68_YAW_293 + | +Roll: 90, Pitch: 68, Yaw: 293 | +
| 39 | ++ MAV_SENSOR_ROTATION_PITCH_315 + | +Pitch: 315 | +
| 40 | ++ MAV_SENSOR_ROTATION_ROLL_90_PITCH_315 + | +Roll: 90, Pitch: 315 | +
| 100 | ++ MAV_SENSOR_ROTATION_CUSTOM + | +Custom orientation | +
Bitmask of (optional) autopilot capabilities (64 bit). If a bit is set, the autopilot supports this capability.
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT + | +Autopilot supports MISSION float message type. | +
| 2 | ++ MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT + | +Autopilot supports the new param float message type. | +
| 4 | ++ MAV_PROTOCOL_CAPABILITY_MISSION_INT + | +Autopilot supports MISSION_INT scaled integer message type. | +
| 8 | ++ MAV_PROTOCOL_CAPABILITY_COMMAND_INT + | +Autopilot supports COMMAND_INT scaled integer message type. | +
| 16 | ++ MAV_PROTOCOL_CAPABILITY_PARAM_UNION + | +Autopilot supports the new param union message type. | +
| 32 | ++ MAV_PROTOCOL_CAPABILITY_FTP + | +Autopilot supports the new FILE_TRANSFER_PROTOCOL message type. | +
| 64 | ++ MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET + | +Autopilot supports commanding attitude offboard. | +
| 128 | ++ MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED + | +Autopilot supports commanding position and velocity targets in local NED frame. | +
| 256 | ++ MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT + | +Autopilot supports commanding position and velocity targets in global scaled integers. | +
| 512 | ++ MAV_PROTOCOL_CAPABILITY_TERRAIN + | +Autopilot supports terrain protocol / data handling. | +
| 1024 | ++ MAV_PROTOCOL_CAPABILITY_SET_ACTUATOR_TARGET + | +Autopilot supports direct actuator control. | +
| 2048 | ++ MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION + | +Autopilot supports the flight termination command. | +
| 4096 | ++ MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION + | +Autopilot supports onboard compass calibration. | +
| 8192 | ++ MAV_PROTOCOL_CAPABILITY_MAVLINK2 + | +Autopilot supports MAVLink version 2. | +
| 16384 | ++ MAV_PROTOCOL_CAPABILITY_MISSION_FENCE + | +Autopilot supports mission fence protocol. | +
| 32768 | ++ MAV_PROTOCOL_CAPABILITY_MISSION_RALLY + | +Autopilot supports mission rally point protocol. | +
| 65536 | ++ MAV_PROTOCOL_CAPABILITY_FLIGHT_INFORMATION + | +Autopilot supports the flight information protocol. | +
Type of mission items being requested/sent in mission protocol.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_MISSION_TYPE_MISSION + | +Items are mission commands for main mission. | +
| 1 | ++ MAV_MISSION_TYPE_FENCE + | +Specifies GeoFence area(s). Items are MAV_CMD_FENCE_ GeoFence items. | +
| 2 | ++ MAV_MISSION_TYPE_RALLY + | +Specifies the rally points for the vehicle. Rally points are alternative RTL points. Items are MAV_CMD_RALLY_POINT rally point items. | +
| 255 | ++ MAV_MISSION_TYPE_ALL + | +Only used in MISSION_CLEAR_ALL to clear all mission types. | +
Enumeration of estimator types
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ MAV_ESTIMATOR_TYPE_NAIVE + | +This is a naive estimator without any real covariance feedback. | +
| 2 | ++ MAV_ESTIMATOR_TYPE_VISION + | +Computer vision based estimate. Might be up to scale. | +
| 3 | ++ MAV_ESTIMATOR_TYPE_VIO + | +Visual-inertial estimate. | +
| 4 | ++ MAV_ESTIMATOR_TYPE_GPS + | +Plain GPS estimate. | +
| 5 | ++ MAV_ESTIMATOR_TYPE_GPS_INS + | +Estimator integrating GPS and inertial sensing. | +
Enumeration of battery types
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_BATTERY_TYPE_UNKNOWN + | +Not specified. | +
| 1 | ++ MAV_BATTERY_TYPE_LIPO + | +Lithium polymer battery | +
| 2 | ++ MAV_BATTERY_TYPE_LIFE + | +Lithium-iron-phosphate battery | +
| 3 | ++ MAV_BATTERY_TYPE_LION + | +Lithium-ION battery | +
| 4 | ++ MAV_BATTERY_TYPE_NIMH + | +Nickel metal hydride battery | +
Enumeration of battery functions
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_BATTERY_FUNCTION_UNKNOWN + | +Battery function is unknown | +
| 1 | ++ MAV_BATTERY_FUNCTION_ALL + | +Battery supports all flight systems | +
| 2 | ++ MAV_BATTERY_FUNCTION_PROPULSION + | +Battery for the propulsion system | +
| 3 | ++ MAV_BATTERY_FUNCTION_AVIONICS + | +Avionics battery | +
| 4 | ++ MAV_BATTERY_TYPE_PAYLOAD + | +Payload battery | +
Enumeration for low battery states.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_BATTERY_CHARGE_STATE_UNDEFINED + | +Low battery state is not provided | +
| 1 | ++ MAV_BATTERY_CHARGE_STATE_OK + | +Battery is not in low state. Normal operation. | +
| 2 | ++ MAV_BATTERY_CHARGE_STATE_LOW + | +Battery state is low, warn and monitor close. | +
| 3 | ++ MAV_BATTERY_CHARGE_STATE_CRITICAL + | +Battery state is critical, return or abort immediately. | +
| 4 | ++ MAV_BATTERY_CHARGE_STATE_EMERGENCY + | +Battery state is too low for ordinary abort sequence. Perform fastest possible emergency stop to prevent damage. | +
| 5 | ++ MAV_BATTERY_CHARGE_STATE_FAILED + | +Battery failed, damage unavoidable. | +
| 6 | ++ MAV_BATTERY_CHARGE_STATE_UNHEALTHY + | +Battery is diagnosed to be defective or an error occurred, usage is discouraged / prohibited. | +
Enumeration of VTOL states
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_VTOL_STATE_UNDEFINED + | +MAV is not configured as VTOL | +
| 1 | ++ MAV_VTOL_STATE_TRANSITION_TO_FW + | +VTOL is in transition from multicopter to fixed-wing | +
| 2 | ++ MAV_VTOL_STATE_TRANSITION_TO_MC + | +VTOL is in transition from fixed-wing to multicopter | +
| 3 | ++ MAV_VTOL_STATE_MC + | +VTOL is in multicopter state | +
| 4 | ++ MAV_VTOL_STATE_FW + | +VTOL is in fixed-wing state | +
Enumeration of landed detector states
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_LANDED_STATE_UNDEFINED + | +MAV landed state is unknown | +
| 1 | ++ MAV_LANDED_STATE_ON_GROUND + | +MAV is landed (on ground) | +
| 2 | ++ MAV_LANDED_STATE_IN_AIR + | +MAV is in air | +
| 3 | ++ MAV_LANDED_STATE_TAKEOFF + | +MAV currently taking off | +
| 4 | ++ MAV_LANDED_STATE_LANDING + | +MAV currently landing | +
Enumeration of the ADSB altimeter types
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ ADSB_ALTITUDE_TYPE_PRESSURE_QNH + | +Altitude reported from a Baro source using QNH reference | +
| 1 | ++ ADSB_ALTITUDE_TYPE_GEOMETRIC + | +Altitude reported from a GNSS source | +
ADSB classification for the type of vehicle emitting the transponder signal
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ ADSB_EMITTER_TYPE_NO_INFO + | ++ | +
| 1 | ++ ADSB_EMITTER_TYPE_LIGHT + | ++ | +
| 2 | ++ ADSB_EMITTER_TYPE_SMALL + | ++ | +
| 3 | ++ ADSB_EMITTER_TYPE_LARGE + | ++ | +
| 4 | ++ ADSB_EMITTER_TYPE_HIGH_VORTEX_LARGE + | ++ | +
| 5 | ++ ADSB_EMITTER_TYPE_HEAVY + | ++ | +
| 6 | ++ ADSB_EMITTER_TYPE_HIGHLY_MANUV + | ++ | +
| 7 | ++ ADSB_EMITTER_TYPE_ROTOCRAFT + | ++ | +
| 8 | ++ ADSB_EMITTER_TYPE_UNASSIGNED + | ++ | +
| 9 | ++ ADSB_EMITTER_TYPE_GLIDER + | ++ | +
| 10 | ++ ADSB_EMITTER_TYPE_LIGHTER_AIR + | ++ | +
| 11 | ++ ADSB_EMITTER_TYPE_PARACHUTE + | ++ | +
| 12 | ++ ADSB_EMITTER_TYPE_ULTRA_LIGHT + | ++ | +
| 13 | ++ ADSB_EMITTER_TYPE_UNASSIGNED2 + | ++ | +
| 14 | ++ ADSB_EMITTER_TYPE_UAV + | ++ | +
| 15 | ++ ADSB_EMITTER_TYPE_SPACE + | ++ | +
| 16 | ++ ADSB_EMITTER_TYPE_UNASSGINED3 + | ++ | +
| 17 | ++ ADSB_EMITTER_TYPE_EMERGENCY_SURFACE + | ++ | +
| 18 | ++ ADSB_EMITTER_TYPE_SERVICE_SURFACE + | ++ | +
| 19 | ++ ADSB_EMITTER_TYPE_POINT_OBSTACLE + | ++ | +
These flags indicate status such as data validity of each data source. Set = data valid
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ ADSB_FLAGS_VALID_COORDS + | ++ | +
| 2 | ++ ADSB_FLAGS_VALID_ALTITUDE + | ++ | +
| 4 | ++ ADSB_FLAGS_VALID_HEADING + | ++ | +
| 8 | ++ ADSB_FLAGS_VALID_VELOCITY + | ++ | +
| 16 | ++ ADSB_FLAGS_VALID_CALLSIGN + | ++ | +
| 32 | ++ ADSB_FLAGS_VALID_SQUAWK + | ++ | +
| 64 | ++ ADSB_FLAGS_SIMULATED + | ++ | +
Bitmap of options for the MAV_CMD_DO_REPOSITION
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ MAV_DO_REPOSITION_FLAGS_CHANGE_MODE + | +The aircraft should immediately transition into guided. This should not be set for follow me applications | +
Flags in EKF_STATUS message
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ ESTIMATOR_ATTITUDE + | +True if the attitude estimate is good | +
| 2 | ++ ESTIMATOR_VELOCITY_HORIZ + | +True if the horizontal velocity estimate is good | +
| 4 | ++ ESTIMATOR_VELOCITY_VERT + | +True if the vertical velocity estimate is good | +
| 8 | ++ ESTIMATOR_POS_HORIZ_REL + | +True if the horizontal position (relative) estimate is good | +
| 16 | ++ ESTIMATOR_POS_HORIZ_ABS + | +True if the horizontal position (absolute) estimate is good | +
| 32 | ++ ESTIMATOR_POS_VERT_ABS + | +True if the vertical position (absolute) estimate is good | +
| 64 | ++ ESTIMATOR_POS_VERT_AGL + | +True if the vertical position (above ground) estimate is good | +
| 128 | ++ ESTIMATOR_CONST_POS_MODE + | +True if the EKF is in a constant position mode and is not using external measurements (eg GPS or optical flow) | +
| 256 | ++ ESTIMATOR_PRED_POS_HORIZ_REL + | +True if the EKF has sufficient data to enter a mode that will provide a (relative) position estimate | +
| 512 | ++ ESTIMATOR_PRED_POS_HORIZ_ABS + | +True if the EKF has sufficient data to enter a mode that will provide a (absolute) position estimate | +
| 1024 | ++ ESTIMATOR_GPS_GLITCH + | +True if the EKF has detected a GPS glitch | +
| 2048 | ++ ESTIMATOR_ACCEL_ERROR + | +True if the EKF has detected bad accelerometer data | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MOTOR_TEST_ORDER_DEFAULT + | +default autopilot motor test method | +
| 1 | ++ MOTOR_TEST_ORDER_SEQUENCE + | +motor numbers are specified as their index in a predefined vehicle-specific sequence | +
| 2 | ++ MOTOR_TEST_ORDER_BOARD + | +motor numbers are specified as the output as labeled on the board | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MOTOR_TEST_THROTTLE_PERCENT + | +throttle as a percentage from 0 ~ 100 | +
| 1 | ++ MOTOR_TEST_THROTTLE_PWM + | +throttle as an absolute PWM value (normally in range of 1000~2000) | +
| 2 | ++ MOTOR_TEST_THROTTLE_PILOT + | +throttle pass-through from pilot's transmitter | +
| 3 | ++ MOTOR_TEST_COMPASS_CAL + | +per-motor compass calibration test | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ GPS_INPUT_IGNORE_FLAG_ALT + | +ignore altitude field | +
| 2 | ++ GPS_INPUT_IGNORE_FLAG_HDOP + | +ignore hdop field | +
| 4 | ++ GPS_INPUT_IGNORE_FLAG_VDOP + | +ignore vdop field | +
| 8 | ++ GPS_INPUT_IGNORE_FLAG_VEL_HORIZ + | +ignore horizontal velocity field (vn and ve) | +
| 16 | ++ GPS_INPUT_IGNORE_FLAG_VEL_VERT + | +ignore vertical velocity field (vd) | +
| 32 | ++ GPS_INPUT_IGNORE_FLAG_SPEED_ACCURACY + | +ignore speed accuracy field | +
| 64 | ++ GPS_INPUT_IGNORE_FLAG_HORIZONTAL_ACCURACY + | +ignore horizontal accuracy field | +
| 128 | ++ GPS_INPUT_IGNORE_FLAG_VERTICAL_ACCURACY + | +ignore vertical accuracy field | +
Possible actions an aircraft can take to avoid a collision.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_COLLISION_ACTION_NONE + | +Ignore any potential collisions | +
| 1 | ++ MAV_COLLISION_ACTION_REPORT + | +Report potential collision | +
| 2 | ++ MAV_COLLISION_ACTION_ASCEND_OR_DESCEND + | +Ascend or Descend to avoid threat | +
| 3 | ++ MAV_COLLISION_ACTION_MOVE_HORIZONTALLY + | +Move horizontally to avoid threat | +
| 4 | ++ MAV_COLLISION_ACTION_MOVE_PERPENDICULAR + | +Aircraft to move perpendicular to the collision's velocity vector | +
| 5 | ++ MAV_COLLISION_ACTION_RTL + | +Aircraft to fly directly back to its launch point | +
| 6 | ++ MAV_COLLISION_ACTION_HOVER + | +Aircraft to stop in place | +
Aircraft-rated danger from this threat.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_COLLISION_THREAT_LEVEL_NONE + | +Not a threat | +
| 1 | ++ MAV_COLLISION_THREAT_LEVEL_LOW + | +Craft is mildly concerned about this threat | +
| 2 | ++ MAV_COLLISION_THREAT_LEVEL_HIGH + | +Craft is panicing, and may take actions to avoid threat | +
Source of information about this collision.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_COLLISION_SRC_ADSB + | +ID field references ADSB_VEHICLE packets | +
| 1 | ++ MAV_COLLISION_SRC_MAVLINK_GPS_GLOBAL_INT + | +ID field references MAVLink SRC ID | +
Type of GPS fix
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ GPS_FIX_TYPE_NO_GPS + | +No GPS connected | +
| 1 | ++ GPS_FIX_TYPE_NO_FIX + | +No position information, GPS is connected | +
| 2 | ++ GPS_FIX_TYPE_2D_FIX + | +2D position | +
| 3 | ++ GPS_FIX_TYPE_3D_FIX + | +3D position | +
| 4 | ++ GPS_FIX_TYPE_DGPS + | +DGPS/SBAS aided 3D position | +
| 5 | ++ GPS_FIX_TYPE_RTK_FLOAT + | +RTK float, 3D position | +
| 6 | ++ GPS_FIX_TYPE_RTK_FIXED + | +RTK Fixed, 3D position | +
| 7 | ++ GPS_FIX_TYPE_STATIC + | +Static fixed, typically used for base stations | +
| 8 | ++ GPS_FIX_TYPE_PPP + | +PPP, 3D position. | +
RTK GPS baseline coordinate system, used for RTK corrections
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ RTK_BASELINE_COORDINATE_SYSTEM_ECEF + | +Earth-centered, Earth-fixed | +
| 1 | ++ RTK_BASELINE_COORDINATE_SYSTEM_NED + | +North, East, Down | +
Type of landing target
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ LANDING_TARGET_TYPE_LIGHT_BEACON + | +Landing target signaled by light beacon (ex: IR-LOCK) | +
| 1 | ++ LANDING_TARGET_TYPE_RADIO_BEACON + | +Landing target signaled by radio beacon (ex: ILS, NDB) | +
| 2 | ++ LANDING_TARGET_TYPE_VISION_FIDUCIAL + | +Landing target represented by a fiducial marker (ex: ARTag) | +
| 3 | ++ LANDING_TARGET_TYPE_VISION_OTHER + | +Landing target represented by a pre-defined visual shape/feature (ex: X-marker, H-marker, square) | +
Direction of VTOL transition
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ VTOL_TRANSITION_HEADING_VEHICLE_DEFAULT + | +Respect the heading configuration of the vehicle. | +
| 1 | ++ VTOL_TRANSITION_HEADING_NEXT_WAYPOINT + | +Use the heading pointing towards the next waypoint. | +
| 2 | ++ VTOL_TRANSITION_HEADING_TAKEOFF + | +Use the heading on takeoff (while sitting on the ground). | +
| 3 | ++ VTOL_TRANSITION_HEADING_SPECIFIED + | +Use the specified heading in parameter 4. | +
| 4 | ++ VTOL_TRANSITION_HEADING_ANY + | +Use the current heading when reaching takeoff altitude (potentially facing the wind when weather-vaning is active). | +
Camera capability flags (Bitmap).
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ CAMERA_CAP_FLAGS_CAPTURE_VIDEO + | +Camera is able to record video. | +
| 2 | ++ CAMERA_CAP_FLAGS_CAPTURE_IMAGE + | +Camera is able to capture images. | +
| 4 | ++ CAMERA_CAP_FLAGS_HAS_MODES + | +Camera has separate Video and Image/Photo modes (MAV_CMD_SET_CAMERA_MODE) | +
| 8 | ++ CAMERA_CAP_FLAGS_CAN_CAPTURE_IMAGE_IN_VIDEO_MODE + | +Camera can capture images while in video mode | +
| 16 | ++ CAMERA_CAP_FLAGS_CAN_CAPTURE_VIDEO_IN_IMAGE_MODE + | +Camera can capture videos while in Photo/Image mode | +
| 32 | ++ CAMERA_CAP_FLAGS_HAS_IMAGE_SURVEY_MODE + | +Camera has image survey mode (MAV_CMD_SET_CAMERA_MODE) | +
Result from a PARAM_EXT_SET message.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ PARAM_ACK_ACCEPTED + | +Parameter value ACCEPTED and SET | +
| 1 | ++ PARAM_ACK_VALUE_UNSUPPORTED + | +Parameter value UNKNOWN/UNSUPPORTED | +
| 2 | ++ PARAM_ACK_FAILED + | +Parameter failed to set | +
| 3 | ++ PARAM_ACK_IN_PROGRESS + | +Parameter value received but not yet validated or set. A subsequent PARAM_EXT_ACK will follow once operation is completed with the actual result. These are for parameters that may take longer to set. Instead of waiting for an ACK and potentially timing out, you will immediately receive this response to let you know it was received. | +
Camera Modes.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ CAMERA_MODE_IMAGE + | +Camera is in image/photo capture mode. | +
| 1 | ++ CAMERA_MODE_VIDEO + | +Camera is in video capture mode. | +
| 2 | ++ CAMERA_MODE_IMAGE_SURVEY + | +Camera is in image survey capture mode. It allows for camera controller to do specific settings for surveys. | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_ARM_AUTH_DENIED_REASON_GENERIC + | +Not a specific reason | +
| 1 | ++ MAV_ARM_AUTH_DENIED_REASON_NONE + | +Authorizer will send the error as string to GCS | +
| 2 | ++ MAV_ARM_AUTH_DENIED_REASON_INVALID_WAYPOINT + | +At least one waypoint have a invalid value | +
| 3 | ++ MAV_ARM_AUTH_DENIED_REASON_TIMEOUT + | +Timeout in the authorizer process(in case it depends on network) | +
| 4 | ++ MAV_ARM_AUTH_DENIED_REASON_AIRSPACE_IN_USE + | +Airspace of the mission in use by another vehicle, second result parameter can have the waypoint id that caused it to be denied. | +
| 5 | ++ MAV_ARM_AUTH_DENIED_REASON_BAD_WEATHER + | +Weather is not good to fly | +
RC type
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ RC_TYPE_SPEKTRUM_DSM2 + | +Spektrum DSM2 | +
| 1 | ++ RC_TYPE_SPEKTRUM_DSMX + | +Spektrum DSMX | +
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 Name | +Type | +Values | +Description | +
|---|---|---|---|
| type | +uint8_t | ++ MAV_TYPE + | +Type of the MAV (quadrotor, helicopter, etc.) | +
| autopilot | +uint8_t | ++ MAV_AUTOPILOT + | +Autopilot type / class. | +
| base_mode | +uint8_t | ++ MAV_MODE_FLAG + | +System mode bitmap. | +
| custom_mode | +uint32_t | ++ + + | +A bitfield for use for autopilot-specific flags | +
| system_status | +uint8_t | ++ MAV_STATE + | +System status flag. | +
| mavlink_version | +uint8_t_mavlink_version | ++ + + | +MAVLink version, not writable by user, gets added by protocol because of magic data type: uint8_t_mavlink_version | +
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.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| onboard_control_sensors_present | +uint32_t | ++ | ++ MAV_SYS_STATUS_SENSOR + | +Bitmap showing which onboard controllers and sensors are present. Value of 0: not present. Value of 1: present. | +
| onboard_control_sensors_enabled | +uint32_t | ++ | ++ MAV_SYS_STATUS_SENSOR + | +Bitmap showing which onboard controllers and sensors are enabled: Value of 0: not enabled. Value of 1: enabled. | +
| onboard_control_sensors_health | +uint32_t | ++ | ++ MAV_SYS_STATUS_SENSOR + | +Bitmap showing which onboard controllers and sensors are operational or have an error: Value of 0: not enabled. Value of 1: enabled. | +
| load | +uint16_t | +d% | ++ + + | +Maximum usage in percent of the mainloop time. Values: [0-1000] - should always be below 1000 | +
| voltage_battery | +uint16_t | +mV | ++ + + | +Battery voltage | +
| current_battery | +int16_t | +cA | ++ + + | +Battery current, -1: autopilot does not measure the current | +
| battery_remaining | +int8_t | ++ % + | ++ + + | +Remaining battery energy, -1: autopilot estimate the remaining battery | +
| drop_rate_comm | +uint16_t | +c% | ++ + + | +Communication drop rate, (UART, I2C, SPI, CAN), dropped packets on all links (packets that were corrupted on reception on the MAV) | +
| errors_comm | +uint16_t | ++ | ++ + + | +Communication errors (UART, I2C, SPI, CAN), dropped packets on all links (packets that were corrupted on reception on the MAV) | +
| errors_count1 | +uint16_t | ++ | ++ + + | +Autopilot-specific errors | +
| errors_count2 | +uint16_t | ++ | ++ + + | +Autopilot-specific errors | +
| errors_count3 | +uint16_t | ++ | ++ + + | +Autopilot-specific errors | +
| errors_count4 | +uint16_t | ++ | ++ + + | +Autopilot-specific errors | +
The system time is the time of the master clock, typically the computer clock of the main onboard computer.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_unix_usec | +uint64_t | +us | +Timestamp (UNIX epoch time). | +
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
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.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| seq | +uint32_t | ++ | +PING sequence | +
| target_system | +uint8_t | ++ | +0: request ping from all receiving systems, if greater than 0: message is a ping response and number is the system id of the requesting system | +
| target_component | +uint8_t | ++ | +0: request ping from all receiving components, if greater than 0: message is a ping response and number is the system id of the requesting system | +
Request to control this MAV
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ | +System the GCS requests control for | +
| control_request | +uint8_t | ++ | +0: request control of this MAV, 1: Release control of this MAV | +
| version | +uint8_t | +rad | +0: key as plaintext, 1-255: future, different hashing/encryption variants. The GCS should in general use the safest mode possible initially and then gradually move down the encryption level if it gets a NACK message indicating an encryption mismatch. | +
| passkey | +char[25] | ++ | +Password / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve A-Z, a-z, 0-9, and "!?,.-" | +
Accept / deny control of this MAV
+| Field Name | +Type | +Description | +
|---|---|---|
| gcs_system_id | +uint8_t | +ID of the GCS this message | +
| control_request | +uint8_t | +0: request control of this MAV, 1: Release control of this MAV | +
| ack | +uint8_t | +0: ACK, 1: NACK: Wrong passkey, 2: NACK: Unsupported passkey encryption method, 3: NACK: Already under control | +
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.
+| Field Name | +Type | +Description | +
|---|---|---|
| key | +char[32] | +key | +
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.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +The system setting the mode | +
| base_mode | +uint8_t | ++ MAV_MODE + | +The new base mode. | +
| custom_mode | +uint32_t | ++ + + | +The new autopilot-specific mode. This field can be ignored by an autopilot. | +
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/protocol/parameter.html for a full documentation of QGroundControl and IMU code.
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
| param_id | +char[16] | +Onboard parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string | +
| param_index | +int16_t | +Parameter index. Send -1 to use the param ID field as identifier (else the param id will be ignored) | +
Request all parameters of this component. After this request, all parameters are emitted.
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
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.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| param_id | +char[16] | ++ + + | +Onboard parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string | +
| param_value | +float | ++ + + | +Onboard parameter value | +
| param_type | +uint8_t | ++ MAV_PARAM_TYPE + | +Onboard parameter type. | +
| param_count | +uint16_t | ++ + + | +Total number of onboard parameters | +
| param_index | +uint16_t | ++ + + | +Index of this onboard parameter | +
Set a parameter value TEMPORARILY to RAM. It will be reset to default on system reboot. Send the ACTION MAV_ACTION_STORAGE_WRITE to PERMANENTLY write the RAM contents to EEPROM. 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.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System ID | +
| target_component | +uint8_t | ++ + + | +Component ID | +
| param_id | +char[16] | ++ + + | +Onboard parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string | +
| param_value | +float | ++ + + | +Onboard parameter value | +
| param_type | +uint8_t | ++ MAV_PARAM_TYPE + | +Onboard parameter type. | +
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.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_usec | +uint64_t | +us | ++ + + | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| fix_type | +uint8_t | ++ | ++ GPS_FIX_TYPE + | +GPS fix type. | +
| lat | +int32_t | +degE7 | ++ + + | +Latitude (WGS84, EGM96 ellipsoid) | +
| lon | +int32_t | +degE7 | ++ + + | +Longitude (WGS84, EGM96 ellipsoid) | +
| alt | +int32_t | +mm | ++ + + | +Altitude (AMSL). Positive for up. Note that virtually all GPS modules provide the AMSL altitude in addition to the WGS84 altitude. | +
| eph | +uint16_t | ++ | ++ + + | +GPS HDOP horizontal dilution of position (unitless). If unknown, set to: UINT16_MAX | +
| epv | +uint16_t | ++ | ++ + + | +GPS VDOP vertical dilution of position (unitless). If unknown, set to: UINT16_MAX | +
| vel | +uint16_t | +cm/s | ++ + + | +GPS ground speed. If unknown, set to: UINT16_MAX | +
| cog | +uint16_t | +cdeg | ++ + + | +Course over ground (NOT heading, but direction of movement) in degrees * 100, 0.0..359.99 degrees. If unknown, set to: UINT16_MAX | +
| satellites_visible | +uint8_t | ++ | ++ + + | +Number of satellites visible. If unknown, set to 255 | +
| alt_ellipsoid + ** + + | +int32_t | +mm | ++ + + | +Altitude (above WGS84, EGM96 ellipsoid). Positive for up. | +
| h_acc + ** + + | +uint32_t | +mm | ++ + + | +Position uncertainty. Positive for up. | +
| v_acc + ** + + | +uint32_t | +mm | ++ + + | +Altitude uncertainty. Positive for up. | +
| vel_acc + ** + + | +uint32_t | +mm | ++ + + | +Speed uncertainty. Positive for up. | +
| hdg_acc + ** + + | +uint32_t | +degE5 | ++ + + | +Heading / track uncertainty | +
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.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| satellites_visible | +uint8_t | ++ | +Number of satellites visible | +
| satellite_prn | +uint8_t[20] | ++ | +Global satellite ID | +
| satellite_used | +uint8_t[20] | ++ | +0: Satellite not used, 1: used for localization | +
| satellite_elevation | +uint8_t[20] | +deg | +Elevation (0: right on top of receiver, 90: on the horizon) of satellite | +
| satellite_azimuth | +uint8_t[20] | +deg | +Direction of satellite, 0: 0 deg, 255: 360 deg. | +
| satellite_snr | +uint8_t[20] | +dB | +Signal to noise ratio of satellite | +
The RAW IMU readings for the usual 9DOF sensor setup. This message should contain the scaled values to the described units
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| xacc | +int16_t | +mG | +X acceleration | +
| yacc | +int16_t | +mG | +Y acceleration | +
| zacc | +int16_t | +mG | +Z acceleration | +
| xgyro | +int16_t | +mrad/s | +Angular speed around X axis | +
| ygyro | +int16_t | +mrad/s | +Angular speed around Y axis | +
| zgyro | +int16_t | +mrad/s | +Angular speed around Z axis | +
| xmag | +int16_t | +mT | +X Magnetic field | +
| ymag | +int16_t | +mT | +Y Magnetic field | +
| zmag | +int16_t | +mT | +Z Magnetic field | +
The RAW IMU readings for the usual 9DOF sensor setup. This message should always contain the true raw values without any scaling to allow data capture and system debugging.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| xacc | +int16_t | ++ | +X acceleration (raw) | +
| yacc | +int16_t | ++ | +Y acceleration (raw) | +
| zacc | +int16_t | ++ | +Z acceleration (raw) | +
| xgyro | +int16_t | ++ | +Angular speed around X axis (raw) | +
| ygyro | +int16_t | ++ | +Angular speed around Y axis (raw) | +
| zgyro | +int16_t | ++ | +Angular speed around Z axis (raw) | +
| xmag | +int16_t | ++ | +X Magnetic field (raw) | +
| ymag | +int16_t | ++ | +Y Magnetic field (raw) | +
| zmag | +int16_t | ++ | +Z Magnetic field (raw) | +
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.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| press_abs | +int16_t | ++ | +Absolute pressure (raw) | +
| press_diff1 | +int16_t | ++ | +Differential pressure 1 (raw, 0 if nonexistent) | +
| press_diff2 | +int16_t | ++ | +Differential pressure 2 (raw, 0 if nonexistent) | +
| temperature | +int16_t | ++ | +Raw Temperature measurement (raw) | +
The pressure readings for the typical setup of one absolute and differential pressure sensor. The units are as specified in each field.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| press_abs | +float | +hPa | +Absolute pressure | +
| press_diff | +float | +hPa | +Differential pressure 1 | +
| temperature | +int16_t | +cdegC | +Temperature | +
The attitude in the aeronautical frame (right-handed, Z-down, X-front, Y-right).
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| roll | +float | +rad | +Roll angle (-pi..+pi) | +
| pitch | +float | +rad | +Pitch angle (-pi..+pi) | +
| yaw | +float | +rad | +Yaw angle (-pi..+pi) | +
| rollspeed | +float | +rad/s | +Roll angular speed | +
| pitchspeed | +float | +rad/s | +Pitch angular speed | +
| yawspeed | +float | +rad/s | +Yaw angular speed | +
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).
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| q1 | +float | ++ | +Quaternion component 1, w (1 in null-rotation) | +
| q2 | +float | ++ | +Quaternion component 2, x (0 in null-rotation) | +
| q3 | +float | ++ | +Quaternion component 3, y (0 in null-rotation) | +
| q4 | +float | ++ | +Quaternion component 4, z (0 in null-rotation) | +
| rollspeed | +float | +rad/s | +Roll angular speed | +
| pitchspeed | +float | +rad/s | +Pitch angular speed | +
| yawspeed | +float | +rad/s | +Yaw angular speed | +
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)
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| x | +float | +m | +X Position | +
| y | +float | +m | +Y Position | +
| z | +float | +m | +Z Position | +
| vx | +float | +m/s | +X Speed | +
| vy | +float | +m/s | +Y Speed | +
| vz | +float | +m/s | +Z Speed | +
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.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| lat | +int32_t | +degE7 | +Latitude, expressed | +
| lon | +int32_t | +degE7 | +Longitude, expressed | +
| alt | +int32_t | +mm | +Altitude (AMSL). Note that virtually all GPS modules provide both WGS84 and AMSL. | +
| relative_alt | +int32_t | +mm | +Altitude above ground | +
| vx | +int16_t | +cm/s | +Ground X Speed (Latitude, positive north) | +
| vy | +int16_t | +cm/s | +Ground Y Speed (Longitude, positive east) | +
| vz | +int16_t | +cm/s | +Ground Z Speed (Altitude, positive down) | +
| hdg | +uint16_t | +cdeg | +Vehicle heading (yaw angle), 0.0..359.99 degrees. If unknown, set to: UINT16_MAX | +
The scaled values of the RC channels received: (-100%) -10000, (0%) 0, (100%) 10000. Channels that are inactive should be set to UINT16_MAX.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| port | +uint8_t | ++ | +Servo output port (set of 8 outputs = 1 port). Most MAVs will just use one, but this allows for more than 8 servos. | +
| chan1_scaled | +int16_t | ++ | +RC channel 1 value scaled. | +
| chan2_scaled | +int16_t | ++ | +RC channel 2 value scaled. | +
| chan3_scaled | +int16_t | ++ | +RC channel 3 value scaled. | +
| chan4_scaled | +int16_t | ++ | +RC channel 4 value scaled. | +
| chan5_scaled | +int16_t | ++ | +RC channel 5 value scaled. | +
| chan6_scaled | +int16_t | ++ | +RC channel 6 value scaled. | +
| chan7_scaled | +int16_t | ++ | +RC channel 7 value scaled. | +
| chan8_scaled | +int16_t | ++ | +RC channel 8 value scaled. | +
| rssi | +uint8_t | ++ % + | +Receive signal strength indicator. Values: [0-100], 255: invalid/unknown. | +
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.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| port | +uint8_t | ++ | +Servo output port (set of 8 outputs = 1 port). Most MAVs will just use one, but this allows for more than 8 servos. | +
| chan1_raw | +uint16_t | +us | +RC channel 1 value. | +
| chan2_raw | +uint16_t | +us | +RC channel 2 value. | +
| chan3_raw | +uint16_t | +us | +RC channel 3 value. | +
| chan4_raw | +uint16_t | +us | +RC channel 4 value. | +
| chan5_raw | +uint16_t | +us | +RC channel 5 value. | +
| chan6_raw | +uint16_t | +us | +RC channel 6 value. | +
| chan7_raw | +uint16_t | +us | +RC channel 7 value. | +
| chan8_raw | +uint16_t | +us | +RC channel 8 value. | +
| rssi | +uint8_t | ++ % + | +Receive signal strength indicator. Values: [0-100], 255: invalid/unknown. | +
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%.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint32_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| port | +uint8_t | ++ | +Servo output port (set of 8 outputs = 1 port). Most MAVs will just use one, but this allows to encode more than 8 servos. | +
| servo1_raw | +uint16_t | +us | +Servo output 1 value | +
| servo2_raw | +uint16_t | +us | +Servo output 2 value | +
| servo3_raw | +uint16_t | +us | +Servo output 3 value | +
| servo4_raw | +uint16_t | +us | +Servo output 4 value | +
| servo5_raw | +uint16_t | +us | +Servo output 5 value | +
| servo6_raw | +uint16_t | +us | +Servo output 6 value | +
| servo7_raw | +uint16_t | +us | +Servo output 7 value | +
| servo8_raw | +uint16_t | +us | +Servo output 8 value | +
| servo9_raw + ** + + | +uint16_t | +us | +Servo output 9 value | +
| servo10_raw + ** + + | +uint16_t | +us | +Servo output 10 value | +
| servo11_raw + ** + + | +uint16_t | +us | +Servo output 11 value | +
| servo12_raw + ** + + | +uint16_t | +us | +Servo output 12 value | +
| servo13_raw + ** + + | +uint16_t | +us | +Servo output 13 value | +
| servo14_raw + ** + + | +uint16_t | +us | +Servo output 14 value | +
| servo15_raw + ** + + | +uint16_t | +us | +Servo output 15 value | +
| servo16_raw + ** + + | +uint16_t | +us | +Servo output 16 value | +
Request a partial list of mission items from the system/component. https://mavlink.io/en/protocol/mission.html. If start and end index are the same, just send one waypoint.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System ID | +
| target_component | +uint8_t | ++ + + | +Component ID | +
| start_index | +int16_t | ++ + + | +Start index, 0 by default | +
| end_index | +int16_t | ++ + + | +End index, -1 by default (-1: send list to end). Else a valid index of the list | +
| mission_type + ** + + | +uint8_t | ++ MAV_MISSION_TYPE + | +Mission type. | +
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!
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System ID | +
| target_component | +uint8_t | ++ + + | +Component ID | +
| start_index | +int16_t | ++ + + | +Start index, 0 by default and smaller / equal to the largest index of the current onboard list. | +
| end_index | +int16_t | ++ + + | +End index, equal or greater than start index. | +
| mission_type + ** + + | +uint8_t | ++ MAV_MISSION_TYPE + | +Mission type. | +
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). See also https://mavlink.io/en/protocol/mission.html.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System ID | +
| target_component | +uint8_t | ++ + + | +Component ID | +
| seq | +uint16_t | ++ + + | +Sequence | +
| frame | +uint8_t | ++ MAV_FRAME + | +The coordinate system of the waypoint. | +
| command | +uint16_t | ++ MAV_CMD + | +The scheduled action for the waypoint. | +
| current | +uint8_t | ++ + + | +false:0, true:1 | +
| autocontinue | +uint8_t | ++ + + | +Autocontinue to next waypoint | +
| param1 | +float | ++ + + | +PARAM1, see MAV_CMD enum | +
| param2 | +float | ++ + + | +PARAM2, see MAV_CMD enum | +
| param3 | +float | ++ + + | +PARAM3, see MAV_CMD enum | +
| param4 | +float | ++ + + | +PARAM4, see MAV_CMD enum | +
| x | +float | ++ + + | +PARAM5 / local: X coordinate, global: latitude | +
| y | +float | ++ + + | +PARAM6 / local: Y coordinate, global: longitude | +
| z | +float | ++ + + | +PARAM7 / local: Z coordinate, global: altitude (relative or absolute, depending on frame). | +
| mission_type + ** + + | +uint8_t | ++ MAV_MISSION_TYPE + | +Mission type. | +
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/protocol/mission.html
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System ID | +
| target_component | +uint8_t | ++ + + | +Component ID | +
| seq | +uint16_t | ++ + + | +Sequence | +
| mission_type + ** + + | +uint8_t | ++ MAV_MISSION_TYPE + | +Mission type. | +
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).
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
| seq | +uint16_t | +Sequence | +
Message that announces the sequence number of the current active mission item. The MAV will fly towards this mission item.
+| Field Name | +Type | +Description | +
|---|---|---|
| seq | +uint16_t | +Sequence | +
Request the overall list of mission items from the system/component.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System ID | +
| target_component | +uint8_t | ++ + + | +Component ID | +
| mission_type + ** + + | +uint8_t | ++ MAV_MISSION_TYPE + | +Mission type. | +
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.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System ID | +
| target_component | +uint8_t | ++ + + | +Component ID | +
| count | +uint16_t | ++ + + | +Number of mission items in the sequence | +
| mission_type + ** + + | +uint8_t | ++ MAV_MISSION_TYPE + | +Mission type. | +
Delete all mission items at once.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System ID | +
| target_component | +uint8_t | ++ + + | +Component ID | +
| mission_type + ** + + | +uint8_t | ++ MAV_MISSION_TYPE + | +Mission type. | +
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.
+| Field Name | +Type | +Description | +
|---|---|---|
| seq | +uint16_t | +Sequence | +
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).
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System ID | +
| target_component | +uint8_t | ++ + + | +Component ID | +
| type | +uint8_t | ++ MAV_MISSION_RESULT + | +Mission result. | +
| mission_type + ** + + | +uint8_t | ++ MAV_MISSION_TYPE + | +Mission type. | +
As local waypoints exist, the global waypoint reference allows to transform between the local coordinate frame and the global (GPS) coordinate frame. This can be necessary when e.g. in- and outdoor settings are connected and the MAV should move from in- to outdoor.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ | +System ID | +
| latitude | +int32_t | +degE7 | +Latitude (WGS84) | +
| longitude | +int32_t | +degE7 | +Longitude (WGS84) | +
| altitude | +int32_t | +mm | +Altitude (AMSL). Positive for up. | +
| time_usec + ** + + | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
Once the MAV sets a new GPS-Local correspondence, this message announces the origin (0,0,0) position
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| latitude | +int32_t | +degE7 | +Latitude (WGS84) | +
| longitude | +int32_t | +degE7 | +Longitude (WGS84) | +
| altitude | +int32_t | +mm | +Altitude (AMSL). Positive for up. | +
| time_usec + ** + + | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
Bind a RC channel to a parameter. The parameter should change according to the RC channel value.
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
| param_id | +char[16] | +Onboard parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string | +
| param_index | +int16_t | +Parameter index. Send -1 to use the param ID field as identifier (else the param id will be ignored), send -2 to disable any existing map for this rc_channel_index. | +
| parameter_rc_channel_index | +uint8_t | +Index of parameter RC channel. Not equal to the RC channel id. Typically corresponds to a potentiometer-knob on the RC. | +
| param_value0 | +float | +Initial parameter value | +
| scale | +float | +Scale, maps the RC range [-1, 1] to a parameter value | +
| param_value_min | +float | +Minimum param value. The protocol does not define if this overwrites an onboard minimum value. (Depends on implementation) | +
| param_value_max | +float | +Maximum param value. The protocol does not define if this overwrites an onboard maximum value. (Depends on implementation) | +
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/protocol/mission.html
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System ID | +
| target_component | +uint8_t | ++ + + | +Component ID | +
| seq | +uint16_t | ++ + + | +Sequence | +
| mission_type + ** + + | +uint8_t | ++ MAV_MISSION_TYPE + | +Mission type. | +
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.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| target_system | +uint8_t | ++ | ++ + + | +System ID | +
| target_component | +uint8_t | ++ | ++ + + | +Component ID | +
| frame | +uint8_t | ++ | ++ MAV_FRAME + | +Coordinate frame. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down. | +
| p1x | +float | +m | ++ + + | +x position 1 / Latitude 1 | +
| p1y | +float | +m | ++ + + | +y position 1 / Longitude 1 | +
| p1z | +float | +m | ++ + + | +z position 1 / Altitude 1 | +
| p2x | +float | +m | ++ + + | +x position 2 / Latitude 2 | +
| p2y | +float | +m | ++ + + | +y position 2 / Longitude 2 | +
| p2z | +float | +m | ++ + + | +z position 2 / Altitude 2 | +
Read out the safety zone the MAV currently assumes.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| frame | +uint8_t | ++ | ++ MAV_FRAME + | +Coordinate frame. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down. | +
| p1x | +float | +m | ++ + + | +x position 1 / Latitude 1 | +
| p1y | +float | +m | ++ + + | +y position 1 / Longitude 1 | +
| p1z | +float | +m | ++ + + | +z position 1 / Altitude 1 | +
| p2x | +float | +m | ++ + + | +x position 2 / Latitude 2 | +
| p2y | +float | +m | ++ + + | +y position 2 / Longitude 2 | +
| p2z | +float | +m | ++ + + | +z position 2 / Altitude 2 | +
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).
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| q | +float[4] | ++ | +Quaternion components, w, x, y, z (1 0 0 0 is the null-rotation) | +
| rollspeed | +float | +rad/s | +Roll angular speed | +
| pitchspeed | +float | +rad/s | +Pitch angular speed | +
| yawspeed | +float | +rad/s | +Yaw angular speed | +
| covariance | +float[9] | ++ | +Attitude covariance | +
The state of the fixed wing navigation and position controller.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| nav_roll | +float | +deg | +Current desired roll | +
| nav_pitch | +float | +deg | +Current desired pitch | +
| nav_bearing | +int16_t | +deg | +Current desired heading | +
| target_bearing | +int16_t | +deg | +Bearing to current waypoint/target | +
| wp_dist | +uint16_t | +m | +Distance to active waypoint | +
| alt_error | +float | +m | +Current altitude error | +
| aspd_error | +float | +m/s | +Current airspeed error | +
| xtrack_error | +float | +m | +Current crosstrack error on x-y plane | +
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.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_usec | +uint64_t | +us | ++ + + | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| estimator_type | +uint8_t | ++ | ++ MAV_ESTIMATOR_TYPE + | +Class id of the estimator this estimate originated from. | +
| lat | +int32_t | +degE7 | ++ + + | +Latitude | +
| lon | +int32_t | +degE7 | ++ + + | +Longitude | +
| alt | +int32_t | +mm | ++ + + | +Altitude in meters above MSL | +
| relative_alt | +int32_t | +mm | ++ + + | +Altitude above ground | +
| vx | +float | +m/s | ++ + + | +Ground X Speed (Latitude) | +
| vy | +float | +m/s | ++ + + | +Ground Y Speed (Longitude) | +
| vz | +float | +m/s | ++ + + | +Ground Z Speed (Altitude) | +
| covariance | +float[36] | ++ | ++ + + | +Covariance matrix (first six entries are the first ROW, next six entries are the second row, etc.) | +
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)
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_usec | +uint64_t | +us | ++ + + | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| estimator_type | +uint8_t | ++ | ++ MAV_ESTIMATOR_TYPE + | +Class id of the estimator this estimate originated from. | +
| x | +float | +m | ++ + + | +X Position | +
| y | +float | +m | ++ + + | +Y Position | +
| z | +float | +m | ++ + + | +Z Position | +
| vx | +float | +m/s | ++ + + | +X Speed | +
| vy | +float | +m/s | ++ + + | +Y Speed | +
| vz | +float | +m/s | ++ + + | +Z Speed | +
| ax | +float | +m/s/s | ++ + + | +X Acceleration | +
| ay | +float | +m/s/s | ++ + + | +Y Acceleration | +
| az | +float | +m/s/s | ++ + + | +Z Acceleration | +
| covariance | +float[45] | ++ | ++ + + | +Covariance matrix upper right triangular (first nine entries are the first ROW, next eight entries are the second row, etc.) | +
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.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| chancount | +uint8_t | ++ | +Total number of RC channels being received. This can be larger than 18, indicating that more channels are available but not given in this message. This value should be 0 when no RC channels are available. | +
| chan1_raw | +uint16_t | +us | +RC channel 1 value. | +
| chan2_raw | +uint16_t | +us | +RC channel 2 value. | +
| chan3_raw | +uint16_t | +us | +RC channel 3 value. | +
| chan4_raw | +uint16_t | +us | +RC channel 4 value. | +
| chan5_raw | +uint16_t | +us | +RC channel 5 value. | +
| chan6_raw | +uint16_t | +us | +RC channel 6 value. | +
| chan7_raw | +uint16_t | +us | +RC channel 7 value. | +
| chan8_raw | +uint16_t | +us | +RC channel 8 value. | +
| chan9_raw | +uint16_t | +us | +RC channel 9 value. | +
| chan10_raw | +uint16_t | +us | +RC channel 10 value. | +
| chan11_raw | +uint16_t | +us | +RC channel 11 value. | +
| chan12_raw | +uint16_t | +us | +RC channel 12 value. | +
| chan13_raw | +uint16_t | +us | +RC channel 13 value. | +
| chan14_raw | +uint16_t | +us | +RC channel 14 value. | +
| chan15_raw | +uint16_t | +us | +RC channel 15 value. | +
| chan16_raw | +uint16_t | +us | +RC channel 16 value. | +
| chan17_raw | +uint16_t | +us | +RC channel 17 value. | +
| chan18_raw | +uint16_t | +us | +RC channel 18 value. | +
| rssi | +uint8_t | ++ % + | +Receive signal strength indicator. Values: [0-100], 255: invalid/unknown. | +
Request a data stream.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ | +The target requested to send the message stream. | +
| target_component | +uint8_t | ++ | +The target requested to send the message stream. | +
| req_stream_id | +uint8_t | ++ | +The ID of the requested data stream | +
| req_message_rate | +uint16_t | +Hz | +The requested message rate | +
| start_stop | +uint8_t | ++ | +1 to start sending, 0 to stop sending. | +
Data stream status information.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| stream_id | +uint8_t | ++ | +The ID of the requested data stream | +
| message_rate | +uint16_t | +Hz | +The message rate | +
| on_off | +uint8_t | ++ | +1 stream is enabled, 0 stream is stopped. | +
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
+| Field Name | +Type | +Description | +
|---|---|---|
| target | +uint8_t | +The system to be controlled. | +
| x | +int16_t | +X-axis, normalized to the range [-1000,1000]. A value of INT16_MAX indicates that this axis is invalid. Generally corresponds to forward(1000)-backward(-1000) movement on a joystick and the pitch of a vehicle. | +
| y | +int16_t | +Y-axis, normalized to the range [-1000,1000]. A value of INT16_MAX indicates that this axis is invalid. Generally corresponds to left(-1000)-right(1000) movement on a joystick and the roll of a vehicle. | +
| z | +int16_t | +Z-axis, normalized to the range [-1000,1000]. A value of INT16_MAX indicates that this axis is invalid. Generally corresponds to a separate slider movement with maximum being 1000 and minimum being -1000 on a joystick and the thrust of a vehicle. Positive values are positive thrust, negative values are negative thrust. | +
| r | +int16_t | +R-axis, normalized to the range [-1000,1000]. A value of INT16_MAX indicates that this axis is invalid. Generally corresponds to a twisting of the joystick, with counter-clockwise being 1000 and clockwise being -1000, and the yaw of a vehicle. | +
| buttons | +uint16_t | +A bitfield corresponding to the joystick buttons' current state, 1 for pressed, 0 for released. The lowest bit corresponds to Button 1. | +
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.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ | +System ID | +
| target_component | +uint8_t | ++ | +Component ID | +
| chan1_raw | +uint16_t | +us | +RC channel 1 value. A value of UINT16_MAX means to ignore this field. | +
| chan2_raw | +uint16_t | +us | +RC channel 2 value. A value of UINT16_MAX means to ignore this field. | +
| chan3_raw | +uint16_t | +us | +RC channel 3 value. A value of UINT16_MAX means to ignore this field. | +
| chan4_raw | +uint16_t | +us | +RC channel 4 value. A value of UINT16_MAX means to ignore this field. | +
| chan5_raw | +uint16_t | +us | +RC channel 5 value. A value of UINT16_MAX means to ignore this field. | +
| chan6_raw | +uint16_t | +us | +RC channel 6 value. A value of UINT16_MAX means to ignore this field. | +
| chan7_raw | +uint16_t | +us | +RC channel 7 value. A value of UINT16_MAX means to ignore this field. | +
| chan8_raw | +uint16_t | +us | +RC channel 8 value. A value of UINT16_MAX means to ignore this field. | +
| chan9_raw + ** + + | +uint16_t | +us | +RC channel 9 value. A value of 0 or UINT16_MAX means to ignore this field. | +
| chan10_raw + ** + + | +uint16_t | +us | +RC channel 10 value. A value of 0 or UINT16_MAX means to ignore this field. | +
| chan11_raw + ** + + | +uint16_t | +us | +RC channel 11 value. A value of 0 or UINT16_MAX means to ignore this field. | +
| chan12_raw + ** + + | +uint16_t | +us | +RC channel 12 value. A value of 0 or UINT16_MAX means to ignore this field. | +
| chan13_raw + ** + + | +uint16_t | +us | +RC channel 13 value. A value of 0 or UINT16_MAX means to ignore this field. | +
| chan14_raw + ** + + | +uint16_t | +us | +RC channel 14 value. A value of 0 or UINT16_MAX means to ignore this field. | +
| chan15_raw + ** + + | +uint16_t | +us | +RC channel 15 value. A value of 0 or UINT16_MAX means to ignore this field. | +
| chan16_raw + ** + + | +uint16_t | +us | +RC channel 16 value. A value of 0 or UINT16_MAX means to ignore this field. | +
| chan17_raw + ** + + | +uint16_t | +us | +RC channel 17 value. A value of 0 or UINT16_MAX means to ignore this field. | +
| chan18_raw + ** + + | +uint16_t | +us | +RC channel 18 value. A value of 0 or UINT16_MAX means to ignore this field. | +
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). See also https://mavlink.io/en/protocol/mission.html.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System ID | +
| target_component | +uint8_t | ++ + + | +Component ID | +
| seq | +uint16_t | ++ + + | +Waypoint ID (sequence number). Starts at zero. Increases monotonically for each waypoint, no gaps in the sequence (0,1,2,3,4). | +
| frame | +uint8_t | ++ MAV_FRAME + | +The coordinate system of the waypoint. | +
| command | +uint16_t | ++ MAV_CMD + | +The scheduled action for the waypoint. | +
| current | +uint8_t | ++ + + | +false:0, true:1 | +
| autocontinue | +uint8_t | ++ + + | +Autocontinue to next waypoint | +
| param1 | +float | ++ + + | +PARAM1, see MAV_CMD enum | +
| param2 | +float | ++ + + | +PARAM2, see MAV_CMD enum | +
| param3 | +float | ++ + + | +PARAM3, see MAV_CMD enum | +
| param4 | +float | ++ + + | +PARAM4, see MAV_CMD enum | +
| x | +int32_t | ++ + + | +PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7 | +
| y | +int32_t | ++ + + | +PARAM6 / y position: local: x position in meters * 1e4, global: longitude in degrees *10^7 | +
| z | +float | ++ + + | +PARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame. | +
| mission_type + ** + + | +uint8_t | ++ MAV_MISSION_TYPE + | +Mission type. | +
Metrics typically displayed on a HUD for fixed wing aircraft
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| airspeed | +float | +m/s | +Current airspeed | +
| groundspeed | +float | +m/s | +Current ground speed | +
| heading | +int16_t | +deg | +Current heading in degrees, in compass units (0..360, 0=north) | +
| throttle | +uint16_t | ++ % + | +Current throttle setting in integer percent, 0 to 100 | +
| alt | +float | +m | +Current altitude (MSL) | +
| climb | +float | +m/s | +Current climb rate | +
Message encoding a command with parameters as scaled integers. Scaling depends on the actual command value.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System ID | +
| target_component | +uint8_t | ++ + + | +Component ID | +
| frame | +uint8_t | ++ MAV_FRAME + | +The coordinate system of the COMMAND. | +
| command | +uint16_t | ++ MAV_CMD + | +The scheduled action for the mission item. | +
| current | +uint8_t | ++ + + | +false:0, true:1 | +
| autocontinue | +uint8_t | ++ + + | +autocontinue to next wp | +
| param1 | +float | ++ + + | +PARAM1, see MAV_CMD enum | +
| param2 | +float | ++ + + | +PARAM2, see MAV_CMD enum | +
| param3 | +float | ++ + + | +PARAM3, see MAV_CMD enum | +
| param4 | +float | ++ + + | +PARAM4, see MAV_CMD enum | +
| x | +int32_t | ++ + + | +PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7 | +
| y | +int32_t | ++ + + | +PARAM6 / local: y position in meters * 1e4, global: longitude in degrees * 10^7 | +
| z | +float | ++ + + | +PARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame). | +
Send a command with up to seven parameters to the MAV
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System which should execute the command | +
| target_component | +uint8_t | ++ + + | +Component which should execute the command, 0 for all components | +
| command | +uint16_t | ++ MAV_CMD + | +Command ID (of command to send). | +
| confirmation | +uint8_t | ++ + + | +0: First transmission of this command. 1-255: Confirmation transmissions (e.g. for kill command) | +
| param1 | +float | ++ + + | +Parameter 1 (for the specific command). | +
| param2 | +float | ++ + + | +Parameter 2 (for the specific command). | +
| param3 | +float | ++ + + | +Parameter 3 (for the specific command). | +
| param4 | +float | ++ + + | +Parameter 4 (for the specific command). | +
| param5 | +float | ++ + + | +Parameter 5 (for the specific command). | +
| param6 | +float | ++ + + | +Parameter 6 (for the specific command). | +
| param7 | +float | ++ + + | +Parameter 7 (for the specific command). | +
Report status of a command. Includes feedback whether the command was executed.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| command | +uint16_t | ++ MAV_CMD + | +Command ID (of acknowledged command). | +
| result | +uint8_t | ++ MAV_RESULT + | +Result of command. | +
| progress + ** + + | +uint8_t | ++ + + | +WIP: Also used as result_param1, it can be set with a enum containing the errors reasons of why the command was denied or the progress percentage or 255 if unknown the progress when result is MAV_RESULT_IN_PROGRESS. | +
| result_param2 + ** + + | +int32_t | ++ + + | +WIP: Additional parameter of the result, example: which parameter of MAV_CMD_NAV_WAYPOINT caused it to be denied. | +
| target_system + ** + + | +uint8_t | ++ + + | +WIP: System which requested the command to be executed | +
| target_component + ** + + | +uint8_t | ++ + + | +WIP: Component which requested the command to be executed | +
Setpoint in roll, pitch, yaw and thrust from the operator
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| roll | +float | +rad/s | +Desired roll rate | +
| pitch | +float | +rad/s | +Desired pitch rate | +
| yaw | +float | +rad/s | +Desired yaw rate | +
| thrust | +float | ++ | +Collective thrust, normalized to 0 .. 1 | +
| mode_switch | +uint8_t | ++ | +Flight mode switch position, 0.. 255 | +
| manual_override_switch | +uint8_t | ++ | +Override mode switch position, 0.. 255 | +
Sets a desired vehicle attitude. Used by an external controller to command the vehicle (manual controller or other system).
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| target_system | +uint8_t | ++ | +System ID | +
| target_component | +uint8_t | ++ | +Component ID | +
| type_mask | +uint8_t | ++ | +Mappings: If any of these bits are set, the corresponding input should be ignored: bit 1: body roll rate, bit 2: body pitch rate, bit 3: body yaw rate. bit 4-bit 6: reserved, bit 7: throttle, bit 8: attitude | +
| q | +float[4] | ++ | +Attitude quaternion (w, x, y, z order, zero-rotation is 1, 0, 0, 0) | +
| body_roll_rate | +float | +rad/s | +Body roll rate | +
| body_pitch_rate | +float | +rad/s | +Body pitch rate | +
| body_yaw_rate | +float | +rad/s | +Body yaw rate | +
| thrust | +float | ++ | +Collective thrust, normalized to 0 .. 1 (-1 .. 1 for vehicles capable of reverse trust) | +
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.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| type_mask | +uint8_t | ++ | +Mappings: If any of these bits are set, the corresponding input should be ignored: bit 1: body roll rate, bit 2: body pitch rate, bit 3: body yaw rate. bit 4-bit 7: reserved, bit 8: attitude | +
| q | +float[4] | ++ | +Attitude quaternion (w, x, y, z order, zero-rotation is 1, 0, 0, 0) | +
| body_roll_rate | +float | +rad/s | +Body roll rate | +
| body_pitch_rate | +float | +rad/s | +Body pitch rate | +
| body_yaw_rate | +float | +rad/s | +Body yaw rate | +
| thrust | +float | ++ | +Collective thrust, normalized to 0 .. 1 (-1 .. 1 for vehicles capable of reverse trust) | +
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).
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | ++ + + | +Timestamp (time since system boot). | +
| target_system | +uint8_t | ++ | ++ + + | +System ID | +
| target_component | +uint8_t | ++ | ++ + + | +Component ID | +
| coordinate_frame | +uint8_t | ++ | ++ MAV_FRAME + | +Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9 | +
| type_mask | +uint16_t | ++ | ++ + + | +Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate | +
| x | +float | +m | ++ + + | +X Position in NED frame | +
| y | +float | +m | ++ + + | +Y Position in NED frame | +
| z | +float | +m | ++ + + | +Z Position in NED frame (note, altitude is negative in NED) | +
| vx | +float | +m/s | ++ + + | +X velocity in NED frame | +
| vy | +float | +m/s | ++ + + | +Y velocity in NED frame | +
| vz | +float | +m/s | ++ + + | +Z velocity in NED frame | +
| afx | +float | +m/s/s | ++ + + | +X acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | +
| afy | +float | +m/s/s | ++ + + | +Y acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | +
| afz | +float | +m/s/s | ++ + + | +Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | +
| yaw | +float | +rad | ++ + + | +yaw setpoint | +
| yaw_rate | +float | +rad/s | ++ + + | +yaw rate setpoint | +
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.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | ++ + + | +Timestamp (time since system boot). | +
| coordinate_frame | +uint8_t | ++ | ++ MAV_FRAME + | +Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9 | +
| type_mask | +uint16_t | ++ | ++ + + | +Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate | +
| x | +float | +m | ++ + + | +X Position in NED frame | +
| y | +float | +m | ++ + + | +Y Position in NED frame | +
| z | +float | +m | ++ + + | +Z Position in NED frame (note, altitude is negative in NED) | +
| vx | +float | +m/s | ++ + + | +X velocity in NED frame | +
| vy | +float | +m/s | ++ + + | +Y velocity in NED frame | +
| vz | +float | +m/s | ++ + + | +Z velocity in NED frame | +
| afx | +float | +m/s/s | ++ + + | +X acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | +
| afy | +float | +m/s/s | ++ + + | +Y acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | +
| afz | +float | +m/s/s | ++ + + | +Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | +
| yaw | +float | +rad | ++ + + | +yaw setpoint | +
| yaw_rate | +float | +rad/s | ++ + + | +yaw rate setpoint | +
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).
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | ++ + + | +Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency. | +
| target_system | +uint8_t | ++ | ++ + + | +System ID | +
| target_component | +uint8_t | ++ | ++ + + | +Component ID | +
| coordinate_frame | +uint8_t | ++ | ++ MAV_FRAME + | +Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11 | +
| type_mask | +uint16_t | ++ | ++ + + | +Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate | +
| lat_int | +int32_t | +degE7 | ++ + + | +X Position in WGS84 frame | +
| lon_int | +int32_t | +degE7 | ++ + + | +Y Position in WGS84 frame | +
| alt | +float | +m | ++ + + | +Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT | +
| vx | +float | +m/s | ++ + + | +X velocity in NED frame | +
| vy | +float | +m/s | ++ + + | +Y velocity in NED frame | +
| vz | +float | +m/s | ++ + + | +Z velocity in NED frame | +
| afx | +float | +m/s/s | ++ + + | +X acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | +
| afy | +float | +m/s/s | ++ + + | +Y acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | +
| afz | +float | +m/s/s | ++ + + | +Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | +
| yaw | +float | +rad | ++ + + | +yaw setpoint | +
| yaw_rate | +float | +rad/s | ++ + + | +yaw rate setpoint | +
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.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | ++ + + | +Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency. | +
| coordinate_frame | +uint8_t | ++ | ++ MAV_FRAME + | +Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11 | +
| type_mask | +uint16_t | ++ | ++ + + | +Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate | +
| lat_int | +int32_t | +degE7 | ++ + + | +X Position in WGS84 frame | +
| lon_int | +int32_t | +degE7 | ++ + + | +Y Position in WGS84 frame | +
| alt | +float | +m | ++ + + | +Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT | +
| vx | +float | +m/s | ++ + + | +X velocity in NED frame | +
| vy | +float | +m/s | ++ + + | +Y velocity in NED frame | +
| vz | +float | +m/s | ++ + + | +Z velocity in NED frame | +
| afx | +float | +m/s/s | ++ + + | +X acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | +
| afy | +float | +m/s/s | ++ + + | +Y acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | +
| afz | +float | +m/s/s | ++ + + | +Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | +
| yaw | +float | +rad | ++ + + | +yaw setpoint | +
| yaw_rate | +float | +rad/s | ++ + + | +yaw rate setpoint | +
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)
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| x | +float | +m | +X Position | +
| y | +float | +m | +Y Position | +
| z | +float | +m | +Z Position | +
| roll | +float | +rad | +Roll | +
| pitch | +float | +rad | +Pitch | +
| yaw | +float | +rad | +Yaw | +
Sent from simulation to autopilot. This packet is useful for high throughput applications such as hardware in the loop simulations.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| roll | +float | +rad | +Roll angle | +
| pitch | +float | +rad | +Pitch angle | +
| yaw | +float | +rad | +Yaw angle | +
| rollspeed | +float | +rad/s | +Body frame roll / phi angular speed | +
| pitchspeed | +float | +rad/s | +Body frame pitch / theta angular speed | +
| yawspeed | +float | +rad/s | +Body frame yaw / psi angular speed | +
| lat | +int32_t | +degE7 | +Latitude | +
| lon | +int32_t | +degE7 | +Longitude | +
| alt | +int32_t | +mm | +Altitude | +
| vx | +int16_t | +cm/s | +Ground X Speed (Latitude) | +
| vy | +int16_t | +cm/s | +Ground Y Speed (Longitude) | +
| vz | +int16_t | +cm/s | +Ground Z Speed (Altitude) | +
| xacc | +int16_t | +mG | +X acceleration | +
| yacc | +int16_t | +mG | +Y acceleration | +
| zacc | +int16_t | +mG | +Z acceleration | +
Sent from autopilot to simulation. Hardware in the loop control outputs
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_usec | +uint64_t | +us | ++ + + | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| roll_ailerons | +float | ++ | ++ + + | +Control output -1 .. 1 | +
| pitch_elevator | +float | ++ | ++ + + | +Control output -1 .. 1 | +
| yaw_rudder | +float | ++ | ++ + + | +Control output -1 .. 1 | +
| throttle | +float | ++ | ++ + + | +Throttle 0 .. 1 | +
| aux1 | +float | ++ | ++ + + | +Aux 1, -1 .. 1 | +
| aux2 | +float | ++ | ++ + + | +Aux 2, -1 .. 1 | +
| aux3 | +float | ++ | ++ + + | +Aux 3, -1 .. 1 | +
| aux4 | +float | ++ | ++ + + | +Aux 4, -1 .. 1 | +
| mode | +uint8_t | ++ | ++ MAV_MODE + | +System mode. | +
| nav_mode | +uint8_t | ++ | ++ + + | +Navigation mode (MAV_NAV_MODE) | +
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.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| chan1_raw | +uint16_t | +us | +RC channel 1 value | +
| chan2_raw | +uint16_t | +us | +RC channel 2 value | +
| chan3_raw | +uint16_t | +us | +RC channel 3 value | +
| chan4_raw | +uint16_t | +us | +RC channel 4 value | +
| chan5_raw | +uint16_t | +us | +RC channel 5 value | +
| chan6_raw | +uint16_t | +us | +RC channel 6 value | +
| chan7_raw | +uint16_t | +us | +RC channel 7 value | +
| chan8_raw | +uint16_t | +us | +RC channel 8 value | +
| chan9_raw | +uint16_t | +us | +RC channel 9 value | +
| chan10_raw | +uint16_t | +us | +RC channel 10 value | +
| chan11_raw | +uint16_t | +us | +RC channel 11 value | +
| chan12_raw | +uint16_t | +us | +RC channel 12 value | +
| rssi | +uint8_t | ++ | +Receive signal strength indicator. Values: [0-100], 255: invalid/unknown. | +
Sent from autopilot to simulation. Hardware in the loop control outputs (replacement for HIL_CONTROLS)
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_usec | +uint64_t | +us | ++ + + | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| controls | +float[16] | ++ | ++ + + | +Control outputs -1 .. 1. Channel assignment depends on the simulated hardware. | +
| mode | +uint8_t | ++ | ++ MAV_MODE + | +System mode. Includes arming state. | +
| flags | +uint64_t | ++ | ++ + + | +Flags as bitfield, reserved for future use. | +
Optical flow from a flow sensor (e.g. optical mouse sensor)
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| sensor_id | +uint8_t | ++ | +Sensor ID | +
| flow_x | +int16_t | +dpix | +Flow in x-sensor direction | +
| flow_y | +int16_t | +dpix | +Flow in y-sensor direction | +
| flow_comp_m_x | +float | +m | +Flow in x-sensor direction, angular-speed compensated | +
| flow_comp_m_y | +float | +m | +Flow in y-sensor direction, angular-speed compensated | +
| quality | +uint8_t | ++ | +Optical flow quality / confidence. 0: bad, 255: maximum quality | +
| ground_distance | +float | +m | +Ground distance. Positive value: distance known. Negative value: Unknown distance | +
| flow_rate_x + ** + + | +float | +rad/s | +Flow rate about X axis | +
| flow_rate_y + ** + + | +float | +rad/s | +Flow rate about Y axis | +
+
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| usec | +uint64_t | +us | +Timestamp (UNIX time or since system boot) | +
| x | +float | +m | +Global X position | +
| y | +float | +m | +Global Y position | +
| z | +float | +m | +Global Z position | +
| roll | +float | +rad | +Roll angle | +
| pitch | +float | +rad | +Pitch angle | +
| yaw | +float | +rad | +Yaw angle | +
| covariance + ** + + | +float[21] | ++ | +Pose covariance matrix upper right triangular (first six entries are the first ROW, next five entries are the second ROW, etc.) | +
+
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| usec | +uint64_t | +us | +Timestamp (UNIX time or time since system boot) | +
| x | +float | +m | +Global X position | +
| y | +float | +m | +Global Y position | +
| z | +float | +m | +Global Z position | +
| roll | +float | +rad | +Roll angle | +
| pitch | +float | +rad | +Pitch angle | +
| yaw | +float | +rad | +Yaw angle | +
| covariance + ** + + | +float[21] | ++ | +Pose covariance matrix upper right triangular (first six entries are the first ROW, next five entries are the second ROW, etc.) | +
+
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| usec | +uint64_t | +us | +Timestamp (UNIX time or time since system boot) | +
| x | +float | +m/s | +Global X speed | +
| y | +float | +m/s | +Global Y speed | +
| z | +float | +m/s | +Global Z speed | +
| covariance + ** + + | +float[9] | ++ | +Linear velocity covariance matrix (1st three entries - 1st row, etc.) | +
+
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| usec | +uint64_t | +us | +Timestamp (UNIX time or time since system boot) | +
| x | +float | +m | +Global X position | +
| y | +float | +m | +Global Y position | +
| z | +float | +m | +Global Z position | +
| roll | +float | +rad | +Roll angle | +
| pitch | +float | +rad | +Pitch angle | +
| yaw | +float | +rad | +Yaw angle | +
| covariance + ** + + | +float[21] | ++ | +Pose covariance matrix upper right triangular (first six entries are the first ROW, next five entries are the second ROW, etc.) | +
The IMU readings in SI units in NED body frame
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| xacc | +float | +m/s/s | +X acceleration | +
| yacc | +float | +m/s/s | +Y acceleration | +
| zacc | +float | +m/s/s | +Z acceleration | +
| xgyro | +float | +rad/s | +Angular speed around X axis | +
| ygyro | +float | +rad/s | +Angular speed around Y axis | +
| zgyro | +float | +rad/s | +Angular speed around Z axis | +
| xmag | +float | +gauss | +X Magnetic field | +
| ymag | +float | +gauss | +Y Magnetic field | +
| zmag | +float | +gauss | +Z Magnetic field | +
| abs_pressure | +float | +mbar | +Absolute pressure | +
| diff_pressure | +float | +mbar | +Differential pressure | +
| pressure_alt | +float | ++ | +Altitude calculated from pressure | +
| temperature | +float | +degC | +Temperature | +
| fields_updated | +uint16_t | ++ | +Bitmap for fields that have updated since last message, bit 0 = xacc, bit 12: temperature | +
Optical flow from an angular rate flow sensor (e.g. PX4FLOW or mouse sensor)
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| sensor_id | +uint8_t | ++ | +Sensor ID | +
| integration_time_us | +uint32_t | +us | +Integration time. Divide integrated_x and integrated_y by the integration time to obtain average flow. The integration time also indicates the. | +
| integrated_x | +float | +rad | +Flow around X axis (Sensor RH rotation about the X axis induces a positive flow. Sensor linear motion along the positive Y axis induces a negative flow.) | +
| integrated_y | +float | +rad | +Flow around Y axis (Sensor RH rotation about the Y axis induces a positive flow. Sensor linear motion along the positive X axis induces a positive flow.) | +
| integrated_xgyro | +float | +rad | +RH rotation around X axis | +
| integrated_ygyro | +float | +rad | +RH rotation around Y axis | +
| integrated_zgyro | +float | +rad | +RH rotation around Z axis | +
| temperature | +int16_t | +cdegC | +Temperature | +
| quality | +uint8_t | ++ | +Optical flow quality / confidence. 0: no valid flow, 255: maximum quality | +
| time_delta_distance_us | +uint32_t | +us | +Time since the distance was sampled. | +
| distance | +float | +m | +Distance to the center of the flow field. Positive value (including zero): distance known. Negative value: Unknown distance. | +
The IMU readings in SI units in NED body frame
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| xacc | +float | +m/s/s | +X acceleration | +
| yacc | +float | +m/s/s | +Y acceleration | +
| zacc | +float | +m/s/s | +Z acceleration | +
| xgyro | +float | +rad/s | +Angular speed around X axis in body frame | +
| ygyro | +float | +rad/s | +Angular speed around Y axis in body frame | +
| zgyro | +float | +rad/s | +Angular speed around Z axis in body frame | +
| xmag | +float | +gauss | +X Magnetic field | +
| ymag | +float | +gauss | +Y Magnetic field | +
| zmag | +float | +gauss | +Z Magnetic field | +
| abs_pressure | +float | +mbar | +Absolute pressure | +
| diff_pressure | +float | +mbar | +Differential pressure (airspeed) | +
| pressure_alt | +float | ++ | +Altitude calculated from pressure | +
| temperature | +float | +degC | +Temperature | +
| fields_updated | +uint32_t | ++ | +Bitmap for fields that have updated since last message, bit 0 = xacc, bit 12: temperature, bit 31: full reset of attitude/position/velocities/etc was performed in sim. | +
Status of simulation environment, if used
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| q1 | +float | ++ | +True attitude quaternion component 1, w (1 in null-rotation) | +
| q2 | +float | ++ | +True attitude quaternion component 2, x (0 in null-rotation) | +
| q3 | +float | ++ | +True attitude quaternion component 3, y (0 in null-rotation) | +
| q4 | +float | ++ | +True attitude quaternion component 4, z (0 in null-rotation) | +
| roll | +float | ++ | +Attitude roll expressed as Euler angles, not recommended except for human-readable outputs | +
| pitch | +float | ++ | +Attitude pitch expressed as Euler angles, not recommended except for human-readable outputs | +
| yaw | +float | ++ | +Attitude yaw expressed as Euler angles, not recommended except for human-readable outputs | +
| xacc | +float | +m/s/s | +X acceleration | +
| yacc | +float | +m/s/s | +Y acceleration | +
| zacc | +float | +m/s/s | +Z acceleration | +
| xgyro | +float | +rad/s | +Angular speed around X axis | +
| ygyro | +float | +rad/s | +Angular speed around Y axis | +
| zgyro | +float | +rad/s | +Angular speed around Z axis | +
| lat | +float | +deg | +Latitude | +
| lon | +float | +deg | +Longitude | +
| alt | +float | +m | +Altitude | +
| std_dev_horz | +float | ++ | +Horizontal position standard deviation | +
| std_dev_vert | +float | ++ | +Vertical position standard deviation | +
| vn | +float | +m/s | +True velocity in NORTH direction in earth-fixed NED frame | +
| ve | +float | +m/s | +True velocity in EAST direction in earth-fixed NED frame | +
| vd | +float | +m/s | +True velocity in DOWN direction in earth-fixed NED frame | +
Status generated by radio and injected into MAVLink stream.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| rssi | +uint8_t | ++ | +Local signal strength | +
| remrssi | +uint8_t | ++ | +Remote signal strength | +
| txbuf | +uint8_t | ++ % + | +Remaining free buffer space. | +
| noise | +uint8_t | ++ | +Background noise level | +
| remnoise | +uint8_t | ++ | +Remote background noise level | +
| rxerrors | +uint16_t | ++ | +Receive errors | +
| fixed | +uint16_t | ++ | +Count of error corrected packets | +
File transfer message
+| Field Name | +Type | +Description | +
|---|---|---|
| target_network | +uint8_t | +Network ID (0 for broadcast) | +
| target_system | +uint8_t | +System ID (0 for broadcast) | +
| target_component | +uint8_t | +Component ID (0 for broadcast) | +
| payload | +uint8_t[251] | +Variable length payload. The length is defined by the remaining message length when subtracting the header and other fields. The entire content of this block is opaque unless you understand any the encoding message_type. The particular encoding used can be extension specific and might not always be documented as part of the mavlink specification. | +
Time synchronization message.
+| Field Name | +Type | +Description | +
|---|---|---|
| tc1 | +int64_t | +Time sync timestamp 1 | +
| ts1 | +int64_t | +Time sync timestamp 2 | +
Camera-IMU triggering and synchronisation message.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp for image frame (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| seq | +uint32_t | ++ | +Image frame sequence | +
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.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| fix_type | +uint8_t | ++ | +0-1: no fix, 2: 2D fix, 3: 3D fix. Some applications will not use the value of this field unless it is at least two, so always correctly fill in the fix. | +
| lat | +int32_t | +degE7 | +Latitude (WGS84) | +
| lon | +int32_t | +degE7 | +Longitude (WGS84) | +
| alt | +int32_t | +mm | +Altitude (AMSL). Positive for up. | +
| eph | +uint16_t | +cm | +GPS HDOP horizontal dilution of position. If unknown, set to: 65535 | +
| epv | +uint16_t | +cm | +GPS VDOP vertical dilution of position. If unknown, set to: 65535 | +
| vel | +uint16_t | +cm/s | +GPS ground speed. If unknown, set to: 65535 | +
| vn | +int16_t | +cm/s | +GPS velocity in NORTH direction in earth-fixed NED frame | +
| ve | +int16_t | +cm/s | +GPS velocity in EAST direction in earth-fixed NED frame | +
| vd | +int16_t | +cm/s | +GPS velocity in DOWN direction in earth-fixed NED frame | +
| cog | +uint16_t | +cdeg | +Course over ground (NOT heading, but direction of movement), 0.0..359.99 degrees. If unknown, set to: 65535 | +
| satellites_visible | +uint8_t | ++ | +Number of satellites visible. If unknown, set to 255 | +
Simulated optical flow from a flow sensor (e.g. PX4FLOW or optical mouse sensor)
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| sensor_id | +uint8_t | ++ | +Sensor ID | +
| integration_time_us | +uint32_t | +us | +Integration time. Divide integrated_x and integrated_y by the integration time to obtain average flow. The integration time also indicates the. | +
| integrated_x | +float | +rad | +Flow in radians around X axis (Sensor RH rotation about the X axis induces a positive flow. Sensor linear motion along the positive Y axis induces a negative flow.) | +
| integrated_y | +float | +rad | +Flow in radians around Y axis (Sensor RH rotation about the Y axis induces a positive flow. Sensor linear motion along the positive X axis induces a positive flow.) | +
| integrated_xgyro | +float | +rad | +RH rotation around X axis | +
| integrated_ygyro | +float | +rad | +RH rotation around Y axis | +
| integrated_zgyro | +float | +rad | +RH rotation around Z axis | +
| temperature | +int16_t | +cdegC | +Temperature | +
| quality | +uint8_t | ++ | +Optical flow quality / confidence. 0: no valid flow, 255: maximum quality | +
| time_delta_distance_us | +uint32_t | +us | +Time since the distance was sampled. | +
| distance | +float | +m | +Distance to the center of the flow field. Positive value (including zero): distance known. Negative value: Unknown distance. | +
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.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| attitude_quaternion | +float[4] | ++ | +Vehicle attitude expressed as normalized quaternion in w, x, y, z order (with 1 0 0 0 being the null-rotation) | +
| rollspeed | +float | +rad/s | +Body frame roll / phi angular speed | +
| pitchspeed | +float | +rad/s | +Body frame pitch / theta angular speed | +
| yawspeed | +float | +rad/s | +Body frame yaw / psi angular speed | +
| lat | +int32_t | +degE7 | +Latitude | +
| lon | +int32_t | +degE7 | +Longitude | +
| alt | +int32_t | +mm | +Altitude | +
| vx | +int16_t | +cm/s | +Ground X Speed (Latitude) | +
| vy | +int16_t | +cm/s | +Ground Y Speed (Longitude) | +
| vz | +int16_t | +cm/s | +Ground Z Speed (Altitude) | +
| ind_airspeed | +uint16_t | +cm/s | +Indicated airspeed | +
| true_airspeed | +uint16_t | +cm/s | +True airspeed | +
| xacc | +int16_t | +mG | +X acceleration | +
| yacc | +int16_t | +mG | +Y acceleration | +
| zacc | +int16_t | +mG | +Z acceleration | +
The RAW IMU readings for secondary 9DOF sensor setup. This message should contain the scaled values to the described units
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| xacc | +int16_t | +mG | +X acceleration | +
| yacc | +int16_t | +mG | +Y acceleration | +
| zacc | +int16_t | +mG | +Z acceleration | +
| xgyro | +int16_t | +mrad/s | +Angular speed around X axis | +
| ygyro | +int16_t | +mrad/s | +Angular speed around Y axis | +
| zgyro | +int16_t | +mrad/s | +Angular speed around Z axis | +
| xmag | +int16_t | +mT | +X Magnetic field | +
| ymag | +int16_t | +mT | +Y Magnetic field | +
| zmag | +int16_t | +mT | +Z Magnetic field | +
Request a list of available logs. On some systems calling this may stop on-board logging until LOG_REQUEST_END is called.
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
| start | +uint16_t | +First log id (0 for first available) | +
| end | +uint16_t | +Last log id (0xffff for last available) | +
Reply to LOG_REQUEST_LIST
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| id | +uint16_t | ++ | +Log id | +
| num_logs | +uint16_t | ++ | +Total number of logs | +
| last_log_num | +uint16_t | ++ | +High log number | +
| time_utc | +uint32_t | +s | +UTC timestamp of log since 1970, or 0 if not available | +
| size | +uint32_t | +bytes | +Size of the log (may be approximate) | +
Request a chunk of a log
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ | +System ID | +
| target_component | +uint8_t | ++ | +Component ID | +
| id | +uint16_t | ++ | +Log id (from LOG_ENTRY reply) | +
| ofs | +uint32_t | ++ | +Offset into the log | +
| count | +uint32_t | +bytes | +Number of bytes | +
Reply to LOG_REQUEST_DATA
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| id | +uint16_t | ++ | +Log id (from LOG_ENTRY reply) | +
| ofs | +uint32_t | ++ | +Offset into the log | +
| count | +uint8_t | +bytes | +Number of bytes (zero for end of log) | +
| data | +uint8_t[90] | ++ | +log data | +
Erase all logs
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
Stop log transfer and resume normal logging
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
data for injecting into the onboard GPS (used for DGPS)
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ | +System ID | +
| target_component | +uint8_t | ++ | +Component ID | +
| len | +uint8_t | +bytes | +data length | +
| data | +uint8_t[110] | ++ | +raw data (110 is enough for 12 satellites of RTCMv2) | +
Second GPS data.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_usec | +uint64_t | +us | ++ + + | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| fix_type | +uint8_t | ++ | ++ GPS_FIX_TYPE + | +GPS fix type. | +
| lat | +int32_t | +degE7 | ++ + + | +Latitude (WGS84) | +
| lon | +int32_t | +degE7 | ++ + + | +Longitude (WGS84) | +
| alt | +int32_t | +mm | ++ + + | +Altitude (AMSL). Positive for up. | +
| eph | +uint16_t | +cm | ++ + + | +GPS HDOP horizontal dilution of position. If unknown, set to: UINT16_MAX | +
| epv | +uint16_t | +cm | ++ + + | +GPS VDOP vertical dilution of position. If unknown, set to: UINT16_MAX | +
| vel | +uint16_t | +cm/s | ++ + + | +GPS ground speed. If unknown, set to: UINT16_MAX | +
| cog | +uint16_t | +cdeg | ++ + + | +Course over ground (NOT heading, but direction of movement): 0.0..359.99 degrees. If unknown, set to: UINT16_MAX | +
| satellites_visible | +uint8_t | ++ | ++ + + | +Number of satellites visible. If unknown, set to 255 | +
| dgps_numch | +uint8_t | ++ | ++ + + | +Number of DGPS satellites | +
| dgps_age | +uint32_t | +ms | ++ + + | +Age of DGPS info | +
Power supply status
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| Vcc | +uint16_t | +mV | ++ + + | +5V rail voltage. | +
| Vservo | +uint16_t | +mV | ++ + + | +Servo rail voltage. | +
| flags | +uint16_t | ++ | ++ MAV_POWER_STATUS + | +Bitmap of power supply status flags. | +
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.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| device | +uint8_t | ++ | ++ SERIAL_CONTROL_DEV + | +Serial control device type. | +
| flags | +uint8_t | ++ | ++ SERIAL_CONTROL_FLAG + | +Bitmap of serial control flags. | +
| timeout | +uint16_t | +ms | ++ + + | +Timeout for reply data | +
| baudrate | +uint32_t | +bits/s | ++ + + | +Baudrate of transfer. Zero means no change. | +
| count | +uint8_t | +bytes | ++ + + | +how many bytes in this transfer | +
| data | +uint8_t[70] | ++ | ++ + + | +serial data | +
RTK GPS data. Gives information on the relative baseline calculation the GPS is reporting
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_last_baseline_ms | +uint32_t | +ms | ++ + + | +Time since boot of last baseline message received. | +
| rtk_receiver_id | +uint8_t | ++ | ++ + + | +Identification of connected RTK receiver. | +
| wn | +uint16_t | ++ | ++ + + | +GPS Week Number of last baseline | +
| tow | +uint32_t | +ms | ++ + + | +GPS Time of Week of last baseline | +
| rtk_health | +uint8_t | ++ | ++ + + | +GPS-specific health report for RTK data. | +
| rtk_rate | +uint8_t | +Hz | ++ + + | +Rate of baseline messages being received by GPS | +
| nsats | +uint8_t | ++ | ++ + + | +Current number of sats used for RTK calculation. | +
| baseline_coords_type | +uint8_t | ++ | ++ RTK_BASELINE_COORDINATE_SYSTEM + | +Coordinate system of baseline | +
| baseline_a_mm | +int32_t | +mm | ++ + + | +Current baseline in ECEF x or NED north component. | +
| baseline_b_mm | +int32_t | +mm | ++ + + | +Current baseline in ECEF y or NED east component. | +
| baseline_c_mm | +int32_t | +mm | ++ + + | +Current baseline in ECEF z or NED down component. | +
| accuracy | +uint32_t | ++ | ++ + + | +Current estimate of baseline accuracy. | +
| iar_num_hypotheses | +int32_t | ++ | ++ + + | +Current number of integer ambiguity hypotheses. | +
RTK GPS data. Gives information on the relative baseline calculation the GPS is reporting
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_last_baseline_ms | +uint32_t | +ms | ++ + + | +Time since boot of last baseline message received. | +
| rtk_receiver_id | +uint8_t | ++ | ++ + + | +Identification of connected RTK receiver. | +
| wn | +uint16_t | ++ | ++ + + | +GPS Week Number of last baseline | +
| tow | +uint32_t | +ms | ++ + + | +GPS Time of Week of last baseline | +
| rtk_health | +uint8_t | ++ | ++ + + | +GPS-specific health report for RTK data. | +
| rtk_rate | +uint8_t | +Hz | ++ + + | +Rate of baseline messages being received by GPS | +
| nsats | +uint8_t | ++ | ++ + + | +Current number of sats used for RTK calculation. | +
| baseline_coords_type | +uint8_t | ++ | ++ RTK_BASELINE_COORDINATE_SYSTEM + | +Coordinate system of baseline | +
| baseline_a_mm | +int32_t | +mm | ++ + + | +Current baseline in ECEF x or NED north component. | +
| baseline_b_mm | +int32_t | +mm | ++ + + | +Current baseline in ECEF y or NED east component. | +
| baseline_c_mm | +int32_t | +mm | ++ + + | +Current baseline in ECEF z or NED down component. | +
| accuracy | +uint32_t | ++ | ++ + + | +Current estimate of baseline accuracy. | +
| iar_num_hypotheses | +int32_t | ++ | ++ + + | +Current number of integer ambiguity hypotheses. | +
The RAW IMU readings for 3rd 9DOF sensor setup. This message should contain the scaled values to the described units
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| xacc | +int16_t | +mG | +X acceleration | +
| yacc | +int16_t | +mG | +Y acceleration | +
| zacc | +int16_t | +mG | +Z acceleration | +
| xgyro | +int16_t | +mrad/s | +Angular speed around X axis | +
| ygyro | +int16_t | +mrad/s | +Angular speed around Y axis | +
| zgyro | +int16_t | +mrad/s | +Angular speed around Z axis | +
| xmag | +int16_t | +mT | +X Magnetic field | +
| ymag | +int16_t | +mT | +Y Magnetic field | +
| zmag | +int16_t | +mT | +Z Magnetic field | +
+
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| type | +uint8_t | ++ | ++ DATA_TYPES + | +Type of requested/acknowledged data. | +
| size | +uint32_t | +bytes | ++ + + | +total data size (set on ACK only). | +
| width | +uint16_t | ++ | ++ + + | +Width of a matrix or image. | +
| height | +uint16_t | ++ | ++ + + | +Height of a matrix or image. | +
| packets | +uint16_t | ++ | ++ + + | +Number of packets being sent (set on ACK only). | +
| payload | +uint8_t | +bytes | ++ + + | +Payload size per packet (normally 253 byte, see DATA field size in message ENCAPSULATED_DATA) (set on ACK only). | +
| jpg_quality | +uint8_t | ++ % + | ++ + + | +JPEG quality. Values: [1-100]. | +
+
+| Field Name | +Type | +Description | +
|---|---|---|
| seqnr | +uint16_t | +sequence number (starting with 0 on every transmission) | +
| data | +uint8_t[253] | +image data bytes | +
+
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | ++ + + | +Timestamp (time since system boot). | +
| min_distance | +uint16_t | +cm | ++ + + | +Minimum distance the sensor can measure | +
| max_distance | +uint16_t | +cm | ++ + + | +Maximum distance the sensor can measure | +
| current_distance | +uint16_t | +cm | ++ + + | +Current distance reading | +
| type | +uint8_t | ++ | ++ MAV_DISTANCE_SENSOR + | +Type of distance sensor. | +
| id | +uint8_t | ++ | ++ + + | +Onboard ID of the sensor | +
| orientation | +uint8_t | ++ | ++ MAV_SENSOR_ORIENTATION + | +Direction the sensor faces. downward-facing: ROTATION_PITCH_270, upward-facing: ROTATION_PITCH_90, backward-facing: ROTATION_PITCH_180, forward-facing: ROTATION_NONE, left-facing: ROTATION_YAW_90, right-facing: ROTATION_YAW_270 | +
| covariance | +uint8_t | +cm | ++ + + | +Measurement covariance, 0 for unknown / invalid readings | +
Request for terrain data and terrain status
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| lat | +int32_t | +degE7 | +Latitude of SW corner of first grid | +
| lon | +int32_t | +degE7 | +Longitude of SW corner of first grid | +
| grid_spacing | +uint16_t | +m | +Grid spacing | +
| mask | +uint64_t | ++ | +Bitmask of requested 4x4 grids (row major 8x7 array of grids, 56 bits) | +
Terrain data sent from GCS. The lat/lon and grid_spacing must be the same as a lat/lon from a TERRAIN_REQUEST
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| lat | +int32_t | +degE7 | +Latitude of SW corner of first grid | +
| lon | +int32_t | +degE7 | +Longitude of SW corner of first grid | +
| grid_spacing | +uint16_t | +m | +Grid spacing | +
| gridbit | +uint8_t | ++ | +bit within the terrain request mask | +
| data | +int16_t[16] | +m | +Terrain data AMSL | +
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.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| lat | +int32_t | +degE7 | +Latitude | +
| lon | +int32_t | +degE7 | +Longitude | +
Response from a TERRAIN_CHECK request
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| lat | +int32_t | +degE7 | +Latitude | +
| lon | +int32_t | +degE7 | +Longitude | +
| spacing | +uint16_t | ++ | +grid spacing (zero if terrain at this location unavailable) | +
| terrain_height | +float | +m | +Terrain height AMSL | +
| current_height | +float | +m | +Current vehicle height above lat/lon terrain height | +
| pending | +uint16_t | ++ | +Number of 4x4 terrain blocks waiting to be received or read from disk | +
| loaded | +uint16_t | ++ | +Number of 4x4 terrain blocks in memory | +
Barometer readings for 2nd barometer
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| press_abs | +float | +hPa | +Absolute pressure | +
| press_diff | +float | +hPa | +Differential pressure | +
| temperature | +int16_t | +cdegC | +Temperature measurement | +
Motion capture attitude and position
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| q | +float[4] | ++ | +Attitude quaternion (w, x, y, z order, zero-rotation is 1, 0, 0, 0) | +
| x | +float | +m | +X position (NED) | +
| y | +float | +m | +Y position (NED) | +
| z | +float | +m | +Z position (NED) | +
| covariance + ** + + | +float[21] | ++ | +Pose covariance matrix upper right triangular (first six entries are the first ROW, next five entries are the second ROW, etc.) | +
Set the vehicle attitude and body angular rates.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| group_mlx | +uint8_t | ++ | +Actuator group. The "_mlx" indicates this is a multi-instance message and a MAVLink parser should use this field to difference between instances. | +
| target_system | +uint8_t | ++ | +System ID | +
| target_component | +uint8_t | ++ | +Component ID | +
| controls | +float[8] | ++ | +Actuator controls. Normed to -1..+1 where 0 is neutral position. Throttle for single rotation direction motors is 0..1, negative range for reverse direction. Standard mapping for attitude controls (group 0): (index 0-7): roll, pitch, yaw, throttle, flaps, spoilers, airbrakes, landing gear. Load a pass-through mixer to repurpose them as generic outputs. | +
Set the vehicle attitude and body angular rates.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| group_mlx | +uint8_t | ++ | +Actuator group. The "_mlx" indicates this is a multi-instance message and a MAVLink parser should use this field to difference between instances. | +
| controls | +float[8] | ++ | +Actuator controls. Normed to -1..+1 where 0 is neutral position. Throttle for single rotation direction motors is 0..1, negative range for reverse direction. Standard mapping for attitude controls (group 0): (index 0-7): roll, pitch, yaw, throttle, flaps, spoilers, airbrakes, landing gear. Load a pass-through mixer to repurpose them as generic outputs. | +
The current system altitude.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| altitude_monotonic | +float | +m | +This altitude measure is initialized on system boot and monotonic (it is never reset, but represents the local altitude change). The only guarantee on this field is that it will never be reset and is consistent within a flight. The recommended value for this field is the uncorrected barometric altitude at boot time. This altitude will also drift and vary between flights. | +
| altitude_amsl | +float | +m | +This altitude measure is strictly above mean sea level and might be non-monotonic (it might reset on events like GPS lock or when a new QNH value is set). It should be the altitude to which global altitude waypoints are compared to. Note that it is *not* the GPS altitude, however, most GPS modules already output AMSL by default and not the WGS84 altitude. | +
| altitude_local | +float | +m | +This is the local altitude in the local coordinate frame. It is not the altitude above home, but in reference to the coordinate origin (0, 0, 0). It is up-positive. | +
| altitude_relative | +float | +m | +This is the altitude above the home position. It resets on each change of the current home position. | +
| altitude_terrain | +float | +m | +This is the altitude above terrain. It might be fed by a terrain database or an altimeter. Values smaller than -1000 should be interpreted as unknown. | +
| bottom_clearance | +float | +m | +This is not the altitude, but the clear space below the system according to the fused clearance estimate. It generally should max out at the maximum range of e.g. the laser altimeter. It is generally a moving target. A negative value indicates no measurement available. | +
The autopilot is requesting a resource (file, binary, other type of data)
+| Field Name | +Type | +Description | +
|---|---|---|
| request_id | +uint8_t | +Request ID. This ID should be re-used when sending back URI contents | +
| uri_type | +uint8_t | +The type of requested URI. 0 = a file via URL. 1 = a UAVCAN binary | +
| uri | +uint8_t[120] | +The requested unique resource identifier (URI). It is not necessarily a straight domain name (depends on the URI type enum) | +
| transfer_type | +uint8_t | +The way the autopilot wants to receive the URI. 0 = MAVLink FTP. 1 = binary stream. | +
| storage | +uint8_t[120] | +The storage path the autopilot wants the URI to be stored in. Will only be valid if the transfer_type has a storage associated (e.g. MAVLink FTP). | +
Barometer readings for 3rd barometer
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| press_abs | +float | +hPa | +Absolute pressure | +
| press_diff | +float | +hPa | +Differential pressure | +
| temperature | +int16_t | +cdegC | +Temperature measurement | +
current motion information from a designated system
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| timestamp | +uint64_t | +ms | +Timestamp (time since system boot). | +
| est_capabilities | +uint8_t | ++ | +bit positions for tracker reporting capabilities (POS = 0, VEL = 1, ACCEL = 2, ATT + RATES = 3) | +
| lat | +int32_t | +degE7 | +Latitude (WGS84) | +
| lon | +int32_t | +degE7 | +Longitude (WGS84) | +
| alt | +float | +m | +Altitude (AMSL) | +
| vel | +float[3] | +m/s | +target velocity (0,0,0) for unknown | +
| acc | +float[3] | +m/s/s | +linear target acceleration (0,0,0) for unknown | +
| attitude_q | +float[4] | ++ | ++ (1 0 0 0 for unknown) + | +
| rates | +float[3] | ++ | ++ (0 0 0 for unknown) + | +
| position_cov | +float[3] | ++ | +eph epv | +
| custom_state | +uint64_t | ++ | +button states or switches of a tracker device | +
The smoothed, monotonic system state used to feed the control loops of the system.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| x_acc | +float | +m/s/s | +X acceleration in body frame | +
| y_acc | +float | +m/s/s | +Y acceleration in body frame | +
| z_acc | +float | +m/s/s | +Z acceleration in body frame | +
| x_vel | +float | +m/s | +X velocity in body frame | +
| y_vel | +float | +m/s | +Y velocity in body frame | +
| z_vel | +float | +m/s | +Z velocity in body frame | +
| x_pos | +float | +m | +X position in local frame | +
| y_pos | +float | +m | +Y position in local frame | +
| z_pos | +float | +m | +Z position in local frame | +
| airspeed | +float | +m/s | +Airspeed, set to -1 if unknown | +
| vel_variance | +float[3] | ++ | +Variance of body velocity estimate | +
| pos_variance | +float[3] | ++ | +Variance in local position | +
| q | +float[4] | ++ | +The attitude, represented as Quaternion | +
| roll_rate | +float | +rad/s | +Angular rate in roll axis | +
| pitch_rate | +float | +rad/s | +Angular rate in pitch axis | +
| yaw_rate | +float | +rad/s | +Angular rate in yaw axis | +
Battery information
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| id | +uint8_t | ++ | ++ + + | +Battery ID | +
| battery_function | +uint8_t | ++ | ++ MAV_BATTERY_FUNCTION + | +Function of the battery | +
| type | +uint8_t | ++ | ++ MAV_BATTERY_TYPE + | +Type (chemistry) of the battery | +
| temperature | +int16_t | +cdegC | ++ + + | +Temperature of the battery. INT16_MAX for unknown temperature. | +
| voltages | +uint16_t[10] | +mV | ++ + + | +Battery voltage of cells. Cells above the valid cell count for this battery should have the UINT16_MAX value. | +
| current_battery | +int16_t | +cA | ++ + + | +Battery current, -1: autopilot does not measure the current | +
| current_consumed | +int32_t | +mAh | ++ + + | +Consumed charge, -1: autopilot does not provide consumption estimate | +
| energy_consumed | +int32_t | +hJ | ++ + + | +Consumed energy, -1: autopilot does not provide energy consumption estimate | +
| battery_remaining | +int8_t | ++ % + | ++ + + | +Remaining battery energy. Values: [0-100], -1: autopilot does not estimate the remaining battery. | +
| time_remaining + ** + + | +int32_t | +s | ++ + + | +Remaining battery time, 0: autopilot does not provide remaining battery time estimate | +
| charge_state + ** + + | +uint8_t | ++ | ++ MAV_BATTERY_CHARGE_STATE + | +State for extent of discharge, provided by autopilot for warning or external reactions | +
Version and capability of autopilot software
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| capabilities | +uint64_t | ++ MAV_PROTOCOL_CAPABILITY + | +Bitmap of capabilities | +
| flight_sw_version | +uint32_t | ++ + + | +Firmware version number | +
| middleware_sw_version | +uint32_t | ++ + + | +Middleware version number | +
| os_sw_version | +uint32_t | ++ + + | +Operating system version number | +
| board_version | +uint32_t | ++ + + | +HW / board version (last 8 bytes should be silicon ID, if any) | +
| flight_custom_version | +uint8_t[8] | ++ + + | +Custom version field, commonly the first 8 bytes of the git hash. This is not an unique identifier, but should allow to identify the commit using the main version number even for very large code bases. | +
| middleware_custom_version | +uint8_t[8] | ++ + + | +Custom version field, commonly the first 8 bytes of the git hash. This is not an unique identifier, but should allow to identify the commit using the main version number even for very large code bases. | +
| os_custom_version | +uint8_t[8] | ++ + + | +Custom version field, commonly the first 8 bytes of the git hash. This is not an unique identifier, but should allow to identify the commit using the main version number even for very large code bases. | +
| vendor_id | +uint16_t | ++ + + | +ID of the board vendor | +
| product_id | +uint16_t | ++ + + | +ID of the product | +
| uid | +uint64_t | ++ + + | +UID if provided by hardware (see uid2) | +
| uid2 + ** + + | +uint8_t[18] | ++ + + | +UID if provided by hardware (supersedes the uid field. If this is non-zero, use this field, otherwise use uid) | +
The location of a landing area captured from a downward facing camera
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_usec | +uint64_t | +us | ++ + + | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| target_num | +uint8_t | ++ | ++ + + | +The ID of the target if multiple targets are present | +
| frame | +uint8_t | ++ | ++ MAV_FRAME + | +Coordinate frame used for following fields. | +
| angle_x | +float | +rad | ++ + + | +X-axis angular offset of the target from the center of the image | +
| angle_y | +float | +rad | ++ + + | +Y-axis angular offset of the target from the center of the image | +
| distance | +float | +m | ++ + + | +Distance to the target from the vehicle | +
| size_x | +float | +rad | ++ + + | +Size of target along x-axis | +
| size_y | +float | +rad | ++ + + | +Size of target along y-axis | +
| x + ** + + | +float | +m | ++ + + | +X Position of the landing target on MAV_FRAME | +
| y + ** + + | +float | +m | ++ + + | +Y Position of the landing target on MAV_FRAME | +
| z + ** + + | +float | +m | ++ + + | +Z Position of the landing target on MAV_FRAME | +
| q + ** + + | +float[4] | ++ | ++ + + | +Quaternion of landing target orientation (w, x, y, z order, zero-rotation is 1, 0, 0, 0) | +
| type + ** + + | +uint8_t | ++ | ++ LANDING_TARGET_TYPE + | +Type of landing target | +
| position_valid + ** + + | +uint8_t | ++ | ++ + + | +Boolean indicating known position (1) or default unknown position (0), for validation of positioning of the landing target | +
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.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_usec | +uint64_t | +us | ++ + + | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| flags | +uint16_t | ++ | ++ ESTIMATOR_STATUS_FLAGS + | +Bitmap indicating which EKF outputs are valid. | +
| vel_ratio | +float | ++ | ++ + + | +Velocity innovation test ratio | +
| pos_horiz_ratio | +float | ++ | ++ + + | +Horizontal position innovation test ratio | +
| pos_vert_ratio | +float | ++ | ++ + + | +Vertical position innovation test ratio | +
| mag_ratio | +float | ++ | ++ + + | +Magnetometer innovation test ratio | +
| hagl_ratio | +float | ++ | ++ + + | +Height above terrain innovation test ratio | +
| tas_ratio | +float | ++ | ++ + + | +True airspeed innovation test ratio | +
| pos_horiz_accuracy | +float | +m | ++ + + | +Horizontal position 1-STD accuracy relative to the EKF local origin | +
| pos_vert_accuracy | +float | +m | ++ + + | +Vertical position 1-STD accuracy relative to the EKF local origin | +
+
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| wind_x | +float | +m/s | +Wind in X (NED) direction | +
| wind_y | +float | +m/s | +Wind in Y (NED) direction | +
| wind_z | +float | +m/s | +Wind in Z (NED) direction | +
| var_horiz | +float | +m/s | +Variability of the wind in XY. RMS of a 1 Hz lowpassed wind estimate. | +
| var_vert | +float | +m/s | +Variability of the wind in Z. RMS of a 1 Hz lowpassed wind estimate. | +
| wind_alt | +float | +m | +Altitude (AMSL) that this measurement was taken at | +
| horiz_accuracy | +float | +m | +Horizontal speed 1-STD accuracy | +
| vert_accuracy | +float | +m | +Vertical speed 1-STD accuracy | +
GPS sensor input message. This is a raw sensor value sent by the GPS. This is NOT the global position estimate of the system.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_usec | +uint64_t | +us | ++ + + | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| gps_id | +uint8_t | ++ | ++ + + | +ID of the GPS for multiple GPS inputs | +
| ignore_flags | +uint16_t | ++ | ++ GPS_INPUT_IGNORE_FLAGS + | +Bitmap indicating which GPS input flags fields to ignore. All other fields must be provided. | +
| time_week_ms | +uint32_t | +ms | ++ + + | +GPS time (from start of GPS week) | +
| time_week | +uint16_t | ++ | ++ + + | +GPS week number | +
| fix_type | +uint8_t | ++ | ++ + + | +0-1: no fix, 2: 2D fix, 3: 3D fix. 4: 3D with DGPS. 5: 3D with RTK | +
| lat | +int32_t | +degE7 | ++ + + | +Latitude (WGS84) | +
| lon | +int32_t | +degE7 | ++ + + | +Longitude (WGS84) | +
| alt | +float | +m | ++ + + | +Altitude (AMSL). Positive for up. | +
| hdop | +float | +m | ++ + + | +GPS HDOP horizontal dilution of position | +
| vdop | +float | +m | ++ + + | +GPS VDOP vertical dilution of position | +
| vn | +float | +m/s | ++ + + | +GPS velocity in NORTH direction in earth-fixed NED frame | +
| ve | +float | +m/s | ++ + + | +GPS velocity in EAST direction in earth-fixed NED frame | +
| vd | +float | +m/s | ++ + + | +GPS velocity in DOWN direction in earth-fixed NED frame | +
| speed_accuracy | +float | +m/s | ++ + + | +GPS speed accuracy | +
| horiz_accuracy | +float | +m | ++ + + | +GPS horizontal accuracy | +
| vert_accuracy | +float | +m | ++ + + | +GPS vertical accuracy | +
| satellites_visible | +uint8_t | ++ | ++ + + | +Number of satellites visible. | +
RTCM message for injecting into the onboard GPS (used for DGPS)
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| flags | +uint8_t | ++ | +LSB: 1 means message is fragmented, next 2 bits are the fragment ID, the remaining 5 bits are used for the sequence ID. Messages are only to be flushed to the GPS when the entire message has been reconstructed on the autopilot. The fragment ID specifies which order the fragments should be assembled into a buffer, while the sequence ID is used to detect a mismatch between different buffers. The buffer is considered fully reconstructed when either all 4 fragments are present, or all the fragments before the first fragment with a non full payload is received. This management is used to ensure that normal GPS operation doesn't corrupt RTCM data, and to recover from a unreliable transport delivery order. | +
| len | +uint8_t | +bytes | +data length | +
| data | +uint8_t[180] | ++ | +RTCM message (may be fragmented) | +
Message appropriate for high latency connections like Iridium
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| base_mode | +uint8_t | ++ | ++ MAV_MODE_FLAG + | +Bitmap of enabled system modes. | +
| custom_mode | +uint32_t | ++ | ++ + + | +A bitfield for use for autopilot-specific flags. | +
| landed_state | +uint8_t | ++ | ++ MAV_LANDED_STATE + | +The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown. | +
| roll | +int16_t | +cdeg | ++ + + | +roll | +
| pitch | +int16_t | +cdeg | ++ + + | +pitch | +
| heading | +uint16_t | +cdeg | ++ + + | +heading | +
| throttle | +int8_t | ++ % + | ++ + + | +throttle (percentage) | +
| heading_sp | +int16_t | +cdeg | ++ + + | +heading setpoint | +
| latitude | +int32_t | +degE7 | ++ + + | +Latitude | +
| longitude | +int32_t | +degE7 | ++ + + | +Longitude | +
| altitude_amsl | +int16_t | +m | ++ + + | +Altitude above mean sea level | +
| altitude_sp | +int16_t | +m | ++ + + | +Altitude setpoint relative to the home position | +
| airspeed | +uint8_t | +m/s | ++ + + | +airspeed | +
| airspeed_sp | +uint8_t | +m/s | ++ + + | +airspeed setpoint | +
| groundspeed | +uint8_t | +m/s | ++ + + | +groundspeed | +
| climb_rate | +int8_t | +m/s | ++ + + | +climb rate | +
| gps_nsat | +uint8_t | ++ | ++ + + | +Number of satellites visible. If unknown, set to 255 | +
| gps_fix_type | +uint8_t | ++ | ++ GPS_FIX_TYPE + | +GPS Fix type. | +
| battery_remaining | +uint8_t | ++ % + | ++ + + | +Remaining battery (percentage) | +
| temperature | +int8_t | +degC | ++ + + | +Autopilot temperature (degrees C) | +
| temperature_air | +int8_t | +degC | ++ + + | +Air temperature (degrees C) from airspeed sensor | +
| failsafe | +uint8_t | ++ | ++ + + | +failsafe (each bit represents a failsafe where 0=ok, 1=failsafe active (bit0:RC, bit1:batt, bit2:GPS, bit3:GCS, bit4:fence) | +
| wp_num | +uint8_t | ++ | ++ + + | +current waypoint number | +
| wp_distance | +uint16_t | +m | ++ + + | +distance to target | +
Message appropriate for high latency connections like Iridium (version 2)
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| timestamp | +uint32_t | +ms | ++ + + | +Timestamp (milliseconds since boot or Unix epoch) | +
| type | +uint8_t | ++ | ++ MAV_TYPE + | +Type of the MAV (quadrotor, helicopter, etc.) | +
| autopilot | +uint8_t | ++ | ++ MAV_AUTOPILOT + | +Autopilot type / class. | +
| custom_mode | +uint16_t | ++ | ++ + + | +A bitfield for use for autopilot-specific flags (2 byte version). | +
| latitude | +int32_t | +degE7 | ++ + + | +Latitude | +
| longitude | +int32_t | +degE7 | ++ + + | +Longitude | +
| altitude | +int16_t | +m | ++ + + | +Altitude above mean sea level | +
| target_altitude | +int16_t | +m | ++ + + | +Altitude setpoint | +
| heading | +uint8_t | +deg/2 | ++ + + | +Heading | +
| target_heading | +uint8_t | +deg/2 | ++ + + | +Heading setpoint | +
| target_distance | +uint16_t | +dam | ++ + + | +Distance to target waypoint or position | +
| throttle | +uint8_t | ++ % + | ++ + + | +Throttle | +
| airspeed | +uint8_t | +m/s*5 | ++ + + | +Airspeed | +
| airspeed_sp | +uint8_t | +m/s*5 | ++ + + | +Airspeed setpoint | +
| groundspeed | +uint8_t | +m/s*5 | ++ + + | +Groundspeed | +
| windspeed | +uint8_t | +m/s*5 | ++ + + | +Windspeed | +
| wind_heading | +uint8_t | +deg/2 | ++ + + | +Wind heading | +
| eph | +uint8_t | +dm | ++ + + | +Maximum error horizontal position since last message | +
| epv | +uint8_t | +dm | ++ + + | +Maximum error vertical position since last message | +
| temperature_air | +int8_t | +degC | ++ + + | +Air temperature from airspeed sensor | +
| climb_rate | +int8_t | +dm/s | ++ + + | +Maximum climb rate magnitude since last message | +
| battery | +int8_t | ++ % + | ++ + + | +Battery (percentage, -1 for DNU) | +
| wp_num | +uint16_t | ++ | ++ + + | +Current waypoint number | +
| failure_flags | +uint16_t | ++ | ++ HL_FAILURE_FLAG + | +Bitmap of failure flags. | +
| custom0 | +int8_t | ++ | ++ + + | +Field for custom payload. | +
| custom1 | +int8_t | ++ | ++ + + | +Field for custom payload. | +
| custom2 | +int8_t | ++ | ++ + + | +Field for custom payload. | +
Vibration levels and accelerometer clipping
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| vibration_x | +float | ++ | +Vibration levels on X-axis | +
| vibration_y | +float | ++ | +Vibration levels on Y-axis | +
| vibration_z | +float | ++ | +Vibration levels on Z-axis | +
| clipping_0 | +uint32_t | ++ | +first accelerometer clipping count | +
| clipping_1 | +uint32_t | ++ | +second accelerometer clipping count | +
| clipping_2 | +uint32_t | ++ | +third accelerometer clipping count | +
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 position the system will return to and land on. 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.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| latitude | +int32_t | +degE7 | +Latitude (WGS84) | +
| longitude | +int32_t | +degE7 | +Longitude (WGS84) | +
| altitude | +int32_t | +mm | +Altitude (AMSL). Positive for up. | +
| x | +float | +m | +Local X position of this position in the local coordinate frame | +
| y | +float | +m | +Local Y position of this position in the local coordinate frame | +
| z | +float | +m | +Local Z position of this position in the local coordinate frame | +
| q | +float[4] | ++ | +World to surface normal and heading transformation of the takeoff position. Used to indicate the heading and slope of the ground | +
| approach_x | +float | +m | +Local X position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone. | +
| approach_y | +float | +m | +Local Y position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone. | +
| approach_z | +float | +m | +Local Z position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone. | +
| time_usec + ** + + | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
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.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ | +System ID. | +
| latitude | +int32_t | +degE7 | +Latitude (WGS84) | +
| longitude | +int32_t | +degE7 | +Longitude (WGS84) | +
| altitude | +int32_t | +mm | +Altitude (AMSL). Positive for up. | +
| x | +float | +m | +Local X position of this position in the local coordinate frame | +
| y | +float | +m | +Local Y position of this position in the local coordinate frame | +
| z | +float | +m | +Local Z position of this position in the local coordinate frame | +
| q | +float[4] | ++ | +World to surface normal and heading transformation of the takeoff position. Used to indicate the heading and slope of the ground | +
| approach_x | +float | +m | +Local X position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone. | +
| approach_y | +float | +m | +Local Y position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone. | +
| approach_z | +float | +m | +Local Z position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone. | +
| time_usec + ** + + | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
The interval between messages for a particular MAVLink message ID. This interface replaces DATA_STREAM
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| message_id | +uint16_t | ++ | +The ID of the requested MAVLink message. v1.0 is limited to 254 messages. | +
| interval_us | +int32_t | +us | +The interval between two messages. A value of -1 indicates this stream is disabled, 0 indicates it is not available, > 0 indicates the interval at which it is sent. | +
Provides state for additional features
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| vtol_state | +uint8_t | ++ MAV_VTOL_STATE + | +The VTOL state if applicable. Is set to MAV_VTOL_STATE_UNDEFINED if UAV is not in VTOL configuration. | +
| landed_state | +uint8_t | ++ MAV_LANDED_STATE + | +The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown. | +
The location and information of an ADSB vehicle
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| ICAO_address | +uint32_t | ++ | ++ + + | +ICAO address | +
| lat | +int32_t | +degE7 | ++ + + | +Latitude | +
| lon | +int32_t | +degE7 | ++ + + | +Longitude | +
| altitude_type | +uint8_t | ++ | ++ ADSB_ALTITUDE_TYPE + | +ADSB altitude type. | +
| altitude | +int32_t | +mm | ++ + + | +Altitude(ASL) | +
| heading | +uint16_t | +cdeg | ++ + + | +Course over ground | +
| hor_velocity | +uint16_t | +cm/s | ++ + + | +The horizontal velocity | +
| ver_velocity | +int16_t | +cm/s | ++ + + | +The vertical velocity. Positive is up | +
| callsign | +char[9] | ++ | ++ + + | +The callsign, 8+null | +
| emitter_type | +uint8_t | ++ | ++ ADSB_EMITTER_TYPE + | +ADSB emitter type. | +
| tslc | +uint8_t | +s | ++ + + | +Time since last communication in seconds | +
| flags | +uint16_t | ++ | ++ ADSB_FLAGS + | +Bitmap to indicate various statuses including valid data fields | +
| squawk | +uint16_t | ++ | ++ + + | +Squawk code | +
Information about a potential collision
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| src | +uint8_t | ++ | ++ MAV_COLLISION_SRC + | +Collision data source | +
| id | +uint32_t | ++ | ++ + + | +Unique identifier, domain based on src field | +
| action | +uint8_t | ++ | ++ MAV_COLLISION_ACTION + | +Action that is being taken to avoid this collision | +
| threat_level | +uint8_t | ++ | ++ MAV_COLLISION_THREAT_LEVEL + | +How concerned the aircraft is about this collision | +
| time_to_minimum_delta | +float | +s | ++ + + | +Estimated time until collision occurs | +
| altitude_minimum_delta | +float | +m | ++ + + | +Closest vertical distance between vehicle and object | +
| horizontal_minimum_delta | +float | +m | ++ + + | +Closest horizontal distance between vehicle and object | +
Message implementing parts of the V2 payload specs in V1 frames for transitional support.
+| Field Name | +Type | +Description | +
|---|---|---|
| target_network | +uint8_t | +Network ID (0 for broadcast) | +
| target_system | +uint8_t | +System ID (0 for broadcast) | +
| target_component | +uint8_t | +Component ID (0 for broadcast) | +
| message_type | +uint16_t | +A code that identifies the software component that understands this message (analogous to USB device classes or mime type strings). If this code is less than 32768, it is considered a 'registered' protocol extension and the corresponding entry should be added to https://github.com/mavlink/mavlink/extension-message-ids.xml. Software creators can register blocks of message IDs as needed (useful for GCS specific metadata, etc...). Message_types greater than 32767 are considered local experiments and should not be checked in to any widely distributed codebase. | +
| payload | +uint8_t[249] | +Variable length payload. The length is defined by the remaining message length when subtracting the header and other fields. The entire content of this block is opaque unless you understand any the encoding message_type. The particular encoding used can be extension specific and might not always be documented as part of the mavlink specification. | +
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.
+| Field Name | +Type | +Description | +
|---|---|---|
| address | +uint16_t | +Starting address of the debug variables | +
| ver | +uint8_t | +Version code of the type variable. 0=unknown, type ignored and assumed int16_t. 1=as below | +
| type | +uint8_t | +Type code of the memory variables. for ver = 1: 0=16 x int16_t, 1=16 x uint16_t, 2=16 x Q15, 3=16 x 1Q14 | +
| value | +int8_t[32] | +Memory contents at specified address | +
To debug something using a named 3D vector.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| name | +char[10] | ++ | +Name | +
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| x | +float | ++ | +x | +
| y | +float | ++ | +y | +
| z | +float | ++ | +z | +
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.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| name | +char[10] | ++ | +Name of the debug variable | +
| value | +float | ++ | +Floating point value | +
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.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| name | +char[10] | ++ | +Name of the debug variable | +
| value | +int32_t | ++ | +Signed integer value | +
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).
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| severity | +uint8_t | ++ MAV_SEVERITY + | +Severity of status. Relies on the definitions within RFC-5424. | +
| text | +char[50] | ++ + + | +Status text message, without null termination character | +
Send a debug value. The index is used to discriminate between values. These values show up in the plot of QGroundControl as DEBUG N.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| ind | +uint8_t | ++ | +index of debug variable | +
| value | +float | ++ | +DEBUG value | +
+ + (MAVLink 2) + Setup a MAVLink2 signing key. If called with secret_key of all zero and zero initial_timestamp will disable signing
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +system id of the target | +
| target_component | +uint8_t | +component ID of the target | +
| secret_key | +uint8_t[32] | +signing key | +
| initial_timestamp | +uint64_t | +initial timestamp | +
+ + (MAVLink 2) + Report button state change.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| last_change_ms | +uint32_t | +ms | +Time of last change of button state. | +
| state | +uint8_t | ++ | +Bitmap for state of buttons. | +
+ + (MAVLink 2) + Control vehicle tone generation (buzzer)
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
| tune | +char[30] | +tune in board specific format | +
| tune2 + ** + + | +char[200] | +tune extension (appended to tune) | +
+ + (MAVLink 2) + Information about a camera
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | ++ + + | +Timestamp (time since system boot). | +
| vendor_name | +uint8_t[32] | ++ | ++ + + | +Name of the camera vendor | +
| model_name | +uint8_t[32] | ++ | ++ + + | +Name of the camera model | +
| firmware_version | +uint32_t | ++ | ++ + + | +Version of the camera firmware (v << 24 & 0xff = Dev, v << 16 & 0xff = Patch, v << 8 & 0xff = Minor, v & 0xff = Major) | +
| focal_length | +float | +mm | ++ + + | +Focal length | +
| sensor_size_h | +float | +mm | ++ + + | +Image sensor size horizontal | +
| sensor_size_v | +float | +mm | ++ + + | +Image sensor size vertical | +
| resolution_h | +uint16_t | +pix | ++ + + | +Horizontal image resolution | +
| resolution_v | +uint16_t | +pix | ++ + + | +Vertical image resolution | +
| lens_id | +uint8_t | ++ | ++ + + | +Reserved for a lens ID | +
| flags | +uint32_t | ++ | ++ CAMERA_CAP_FLAGS + | +Bitmap of camera capability flags. | +
| cam_definition_version | +uint16_t | ++ | ++ + + | +Camera definition version (iteration) | +
| cam_definition_uri | +char[140] | ++ | ++ + + | +Camera definition URI (if any, otherwise only basic functions will be available). | +
+ + (MAVLink 2) + Settings of a camera, can be requested using MAV_CMD_REQUEST_CAMERA_SETTINGS.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | ++ + + | +Timestamp (time since system boot). | +
| mode_id | +uint8_t | ++ | ++ CAMERA_MODE + | +Camera mode | +
+ + (MAVLink 2) + Information about a storage medium.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| storage_id | +uint8_t | ++ | +Storage ID (1 for first, 2 for second, etc.) | +
| storage_count | +uint8_t | ++ | +Number of storage devices | +
| status | +uint8_t | ++ | +Status of storage (0 not available, 1 unformatted, 2 formatted) | +
| total_capacity | +float | +MiB | +Total capacity. | +
| used_capacity | +float | +MiB | +Used capacity. | +
| available_capacity | +float | +MiB | +Available storage capacity. | +
| read_speed | +float | +MiB/s | +Read speed. | +
| write_speed | +float | +MiB/s | +Write speed. | +
+ + (MAVLink 2) + Information about the status of a capture.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| image_status | +uint8_t | ++ | +Current status of image capturing (0: idle, 1: capture in progress, 2: interval set but idle, 3: interval set and capture in progress) | +
| video_status | +uint8_t | ++ | +Current status of video capturing (0: idle, 1: capture in progress) | +
| image_interval | +float | +s | +Image capture interval | +
| recording_time_ms | +uint32_t | +ms | +Time since recording started | +
| available_capacity | +float | +MiB | +Available storage capacity. | +
+ + (MAVLink 2) + Information about a captured image
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| time_utc | +uint64_t | +us | +Timestamp (time since UNIX epoch) in UTC. 0 for unknown. | +
| camera_id | +uint8_t | ++ | +Camera ID (1 for first, 2 for second, etc.) | +
| lat | +int32_t | +degE7 | +Latitude where image was taken | +
| lon | +int32_t | +degE7 | +Longitude where capture was taken | +
| alt | +int32_t | +mm | +Altitude (AMSL) where image was taken | +
| relative_alt | +int32_t | +mm | +Altitude above ground | +
| q | +float[4] | ++ | +Quaternion of camera orientation (w, x, y, z order, zero-rotation is 0, 0, 0, 0) | +
| image_index | +int32_t | ++ | +Zero based index of this image (image count since armed -1) | +
| capture_result | +int8_t | ++ | +Boolean indicating success (1) or failure (0) while capturing this image. | +
| file_url | +char[205] | ++ | +URL of image taken. Either local storage or http://foo.jpg if camera provides an HTTP interface. | +
+ + (MAVLink 2) + Information about flight since last arming.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| arming_time_utc | +uint64_t | +us | +Timestamp at arming (time since UNIX epoch) in UTC, 0 for unknown | +
| takeoff_time_utc | +uint64_t | +us | +Timestamp at takeoff (time since UNIX epoch) in UTC, 0 for unknown | +
| flight_uuid | +uint64_t | ++ | +Universally unique identifier (UUID) of flight, should correspond to name of log files | +
+ + (MAVLink 2) + Orientation of a mount
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_boot_ms | +uint32_t | +ms | +Timestamp (time since system boot). | +
| roll | +float | +deg | +Roll in global frame (set to NaN for invalid). | +
| pitch | +float | +deg | +Pitch in global frame (set to NaN for invalid). | +
| yaw | +float | +deg | +Yaw relative to vehicle(set to NaN for invalid). | +
| yaw_absolute + ** + + | +float | +deg | +Yaw in absolute frame, North is 0 (set to NaN for invalid). | +
+ + (MAVLink 2) + A message containing logged data (see also MAV_CMD_LOGGING_START)
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ | +system ID of the target | +
| target_component | +uint8_t | ++ | +component ID of the target | +
| sequence | +uint16_t | ++ | +sequence number (can wrap) | +
| length | +uint8_t | +bytes | +data length | +
| first_message_offset | +uint8_t | +bytes | +offset into data where first message starts. This can be used for recovery, when a previous message got lost (set to 255 if no start exists). | +
| data | +uint8_t[249] | ++ | +logged data | +
+ + (MAVLink 2) + A message containing logged data which requires a LOGGING_ACK to be sent back
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ | +system ID of the target | +
| target_component | +uint8_t | ++ | +component ID of the target | +
| sequence | +uint16_t | ++ | +sequence number (can wrap) | +
| length | +uint8_t | +bytes | +data length | +
| first_message_offset | +uint8_t | +bytes | +offset into data where first message starts. This can be used for recovery, when a previous message got lost (set to 255 if no start exists). | +
| data | +uint8_t[249] | ++ | +logged data | +
+ + (MAVLink 2) + An ack for a LOGGING_DATA_ACKED message
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +system ID of the target | +
| target_component | +uint8_t | +component ID of the target | +
| sequence | +uint16_t | +sequence number (must match the one in LOGGING_DATA_ACKED) | +
+ + (MAVLink 2) + Information about video stream
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| camera_id | +uint8_t | ++ | +Camera ID (1 for first, 2 for second, etc.) | +
| status | +uint8_t | ++ | +Current status of video streaming (0: not running, 1: in progress) | +
| framerate | +float | +Hz | +Frame rate | +
| resolution_h | +uint16_t | +pix | +Horizontal resolution | +
| resolution_v | +uint16_t | +pix | +Vertical resolution | +
| bitrate | +uint32_t | +bits/s | +Bit rate in bits per second | +
| rotation | +uint16_t | +deg | +Video image rotation clockwise | +
| uri | +char[230] | ++ | +Video stream URI | +
+ + (MAVLink 2) + Message that sets video stream settings
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ | +system ID of the target | +
| target_component | +uint8_t | ++ | +component ID of the target | +
| camera_id | +uint8_t | ++ | +Camera ID (1 for first, 2 for second, etc.) | +
| framerate | +float | +Hz | +Frame rate (set to -1 for highest framerate possible) | +
| resolution_h | +uint16_t | +pix | +Horizontal resolution (set to -1 for highest resolution possible) | +
| resolution_v | +uint16_t | +pix | +Vertical resolution (set to -1 for highest resolution possible) | +
| bitrate | +uint32_t | +bits/s | +Bit rate (set to -1 for auto) | +
| rotation | +uint16_t | +deg | +Video image rotation clockwise (0-359 degrees) | +
| uri | +char[230] | ++ | +Video stream URI | +
+ + (MAVLink 2) + Configure AP SSID and Password.
+| Field Name | +Type | +Description | +
|---|---|---|
| ssid | +char[32] | +Name of Wi-Fi network (SSID). Leave it blank to leave it unchanged. | +
| password | +char[64] | +Password. Leave it blank for an open AP. | +
+ + (MAVLink 2) + Version and capability of protocol version. This message is the response to REQUEST_PROTOCOL_VERSION and is used as part of the handshaking to establish which MAVLink version should be used on the network. Every node should respond to REQUEST_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 Name | +Type | +Description | +
|---|---|---|
| version | +uint16_t | +Currently active MAVLink version number * 100: v1.0 is 100, v2.0 is 200, etc. | +
| min_version | +uint16_t | +Minimum MAVLink version supported | +
| max_version | +uint16_t | +Maximum MAVLink version supported (set to the same value as version by default) | +
| spec_version_hash | +uint8_t[8] | +The first 8 bytes (not characters printed in hex!) of the git hash. | +
| library_version_hash | +uint8_t[8] | +The first 8 bytes (not characters printed in hex!) of the git hash. | +
+ + (MAVLink 2) + 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.
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_usec | +uint64_t | +us | ++ + + | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| uptime_sec | +uint32_t | +s | ++ + + | +Time since the start-up of the node. | +
| health | +uint8_t | ++ | ++ UAVCAN_NODE_HEALTH + | +Generalized node health status. | +
| mode | +uint8_t | ++ | ++ UAVCAN_NODE_MODE + | +Generalized operating mode. | +
| sub_mode | +uint8_t | ++ | ++ + + | +Not used currently. | +
| vendor_specific_status_code | +uint16_t | ++ | ++ + + | +Vendor-specific status information. | +
+ + (MAVLink 2) + 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.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| uptime_sec | +uint32_t | +s | +Time since the start-up of the node. | +
| name | +char[80] | ++ | +Node name string. For example, "sapog.px4.io". | +
| hw_version_major | +uint8_t | ++ | +Hardware major version number. | +
| hw_version_minor | +uint8_t | ++ | +Hardware minor version number. | +
| hw_unique_id | +uint8_t[16] | ++ | +Hardware unique 128-bit ID. | +
| sw_version_major | +uint8_t | ++ | +Software major version number. | +
| sw_version_minor | +uint8_t | ++ | +Software minor version number. | +
| sw_vcs_commit | +uint32_t | ++ | +Version control system (VCS) revision identifier (e.g. git short commit hash). Zero if unknown. | +
+ + (MAVLink 2) + Request to read the value of a parameter with the either the param_id string id or param_index.
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
| param_id | +char[16] | +Parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string | +
| param_index | +int16_t | +Parameter index. Set to -1 to use the Parameter ID field as identifier (else param_id will be ignored) | +
+ + (MAVLink 2) + Request all parameters of this component. After this request, all parameters are emitted.
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
+ + (MAVLink 2) + 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.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| param_id | +char[16] | ++ + + | +Parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string | +
| param_value | +char[128] | ++ + + | +Parameter value | +
| param_type | +uint8_t | ++ MAV_PARAM_EXT_TYPE + | +Parameter type. | +
| param_count | +uint16_t | ++ + + | +Total number of parameters | +
| param_index | +uint16_t | ++ + + | +Index of this parameter | +
+ + (MAVLink 2) + 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.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target_system | +uint8_t | ++ + + | +System ID | +
| target_component | +uint8_t | ++ + + | +Component ID | +
| param_id | +char[16] | ++ + + | +Parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string | +
| param_value | +char[128] | ++ + + | +Parameter value | +
| param_type | +uint8_t | ++ MAV_PARAM_EXT_TYPE + | +Parameter type. | +
+ + (MAVLink 2) + Response from a PARAM_EXT_SET message.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| param_id | +char[16] | ++ + + | +Parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string | +
| param_value | +char[128] | ++ + + | +Parameter value (new value if PARAM_ACK_ACCEPTED, current value otherwise) | +
| param_type | +uint8_t | ++ MAV_PARAM_EXT_TYPE + | +Parameter type. | +
| param_result | +uint8_t | ++ PARAM_ACK + | +Result code. | +
+ + (MAVLink 2) + Obstacle distances in front of the sensor, starting from the left in increment degrees to the right
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_usec | +uint64_t | +us | ++ + + | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| sensor_type | +uint8_t | ++ | ++ MAV_DISTANCE_SENSOR + | +Class id of the distance sensor type. | +
| distances | +uint16_t[72] | +cm | ++ + + | +Distance of obstacles around the UAV with index 0 corresponding to local North. A value of 0 means that the obstacle is right in front of the sensor. A value of max_distance +1 means no obstacle is present. A value of UINT16_MAX for unknown/not used. In a array element, one unit corresponds to 1cm. | +
| increment | +uint8_t | +deg | ++ + + | +Angular width in degrees of each array element. | +
| min_distance | +uint16_t | +cm | ++ + + | +Minimum distance the sensor can measure. | +
| max_distance | +uint16_t | +cm | ++ + + | +Maximum distance the sensor can measure. | +
+ + (MAVLink 2) + 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).
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| time_usec | +uint64_t | +us | ++ + + | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| frame_id | +uint8_t | ++ | ++ MAV_FRAME + | +Coordinate frame of reference for the pose data. | +
| child_frame_id | +uint8_t | ++ | ++ MAV_FRAME + | +Coordinate frame of reference for the velocity in free space (twist) data. | +
| x | +float | +m | ++ + + | +X Position | +
| y | +float | +m | ++ + + | +Y Position | +
| z | +float | +m | ++ + + | +Z Position | +
| q | +float[4] | ++ | ++ + + | +Quaternion components, w, x, y, z (1 0 0 0 is the null-rotation) | +
| vx | +float | +m/s | ++ + + | +X linear speed | +
| vy | +float | +m/s | ++ + + | +Y linear speed | +
| vz | +float | +m/s | ++ + + | +Z linear speed | +
| rollspeed | +float | +rad/s | ++ + + | +Roll angular speed | +
| pitchspeed | +float | +rad/s | ++ + + | +Pitch angular speed | +
| yawspeed | +float | +rad/s | ++ + + | +Yaw angular speed | +
| pose_covariance | +float[21] | ++ | ++ + + | +Pose (states: x, y, z, roll, pitch, yaw) covariance matrix upper right triangle (first six entries are the first ROW, next five entries are the second ROW, etc.) | +
| twist_covariance | +float[21] | ++ | ++ + + | +Twist (states: vx, vy, vz, rollspeed, pitchspeed, yawspeed) covariance matrix upper right triangle (first six entries are the first ROW, next five entries are the second ROW, etc.) | +
+ + (MAVLink 2) + Describe a trajectory using an array of up-to 5 waypoints in the local frame.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| valid_points | +uint8_t | ++ | +Number of valid points (up-to 5 waypoints are possible) | +
| pos_x | +float[5] | +m | +X-coordinate of waypoint, set to NaN if not being used | +
| pos_y | +float[5] | +m | +Y-coordinate of waypoint, set to NaN if not being used | +
| pos_z | +float[5] | +m | +Z-coordinate of waypoint, set to NaN if not being used | +
| vel_x | +float[5] | +m/s | +X-velocity of waypoint, set to NaN if not being used | +
| vel_y | +float[5] | +m/s | +Y-velocity of waypoint, set to NaN if not being used | +
| vel_z | +float[5] | +m/s | +Z-velocity of waypoint, set to NaN if not being used | +
| acc_x | +float[5] | +m/s/s | +X-acceleration of waypoint, set to NaN if not being used | +
| acc_y | +float[5] | +m/s/s | +Y-acceleration of waypoint, set to NaN if not being used | +
| acc_z | +float[5] | +m/s/s | +Z-acceleration of waypoint, set to NaN if not being used | +
| pos_yaw | +float[5] | +rad | +Yaw angle, set to NaN if not being used | +
| vel_yaw | +float[5] | +rad/s | +Yaw rate, set to NaN if not being used | +
+ + (MAVLink 2) + Describe a trajectory using an array of up-to 5 bezier points in the local frame.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| time_usec | +uint64_t | +us | +Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | +
| valid_points | +uint8_t | ++ | +Number of valid points (up-to 5 waypoints are possible) | +
| pos_x | +float[5] | +m | +X-coordinate of starting bezier point, set to NaN if not being used | +
| pos_y | +float[5] | +m | +Y-coordinate of starting bezier point, set to NaN if not being used | +
| pos_z | +float[5] | +m | +Z-coordinate of starting bezier point, set to NaN if not being used | +
| delta | +float[5] | +s | +Bezier time horizon, set to NaN if velocity/acceleration should not be incorporated | +
| pos_yaw | +float[5] | +rad | +Yaw, set to NaN for unchanged | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ ICAROUS_TRACK_BAND_TYPE_NONE + | ++ | +
| 1 | ++ ICAROUS_TRACK_BAND_TYPE_NEAR + | ++ | +
| 2 | ++ ICAROUS_TRACK_BAND_TYPE_RECOVERY + | ++ | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ ICAROUS_FMS_STATE_IDLE + | ++ | +
| 1 | ++ ICAROUS_FMS_STATE_TAKEOFF + | ++ | +
| 2 | ++ ICAROUS_FMS_STATE_CLIMB + | ++ | +
| 3 | ++ ICAROUS_FMS_STATE_CRUISE + | ++ | +
| 4 | ++ ICAROUS_FMS_STATE_APPROACH + | ++ | +
| 5 | ++ ICAROUS_FMS_STATE_LAND + | ++ | +
+ + (MAVLink 2) + ICAROUS heartbeat
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| status | +uint8_t | ++ ICAROUS_FMS_STATE + | +See the FMS_STATE enum. | +
+ + (MAVLink 2) + Kinematic multi bands (track) output from Daidalus
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| numBands | +int8_t | ++ | ++ + + | +Number of track bands | +
| type1 | +uint8_t | ++ | ++ ICAROUS_TRACK_BAND_TYPES + | +See the TRACK_BAND_TYPES enum. | +
| min1 | +float | +deg | ++ + + | +min angle (degrees) | +
| max1 | +float | +deg | ++ + + | +max angle (degrees) | +
| type2 | +uint8_t | ++ | ++ ICAROUS_TRACK_BAND_TYPES + | +See the TRACK_BAND_TYPES enum. | +
| min2 | +float | +deg | ++ + + | +min angle (degrees) | +
| max2 | +float | +deg | ++ + + | +max angle (degrees) | +
| type3 | +uint8_t | ++ | ++ ICAROUS_TRACK_BAND_TYPES + | +See the TRACK_BAND_TYPES enum. | +
| min3 | +float | +deg | ++ + + | +min angle (degrees) | +
| max3 | +float | +deg | ++ + + | +max angle (degrees) | +
| type4 | +uint8_t | ++ | ++ ICAROUS_TRACK_BAND_TYPES + | +See the TRACK_BAND_TYPES enum. | +
| min4 | +float | +deg | ++ + + | +min angle (degrees) | +
| max4 | +float | +deg | ++ + + | +max angle (degrees) | +
| type5 | +uint8_t | ++ | ++ ICAROUS_TRACK_BAND_TYPES + | +See the TRACK_BAND_TYPES enum. | +
| min5 | +float | +deg | ++ + + | +min angle (degrees) | +
| max5 | +float | +deg | ++ + + | +max angle (degrees) | +
+ MAVLink Include Files: + common.xml +
+Action required when performing CMD_PREFLIGHT_STORAGE
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_PFS_CMD_READ_ALL + | +Read all parameters from storage | +
| 1 | ++ MAV_PFS_CMD_WRITE_ALL + | +Write all parameters to storage | +
| 2 | ++ MAV_PFS_CMD_CLEAR_ALL + | +Clear all parameters in storage | +
| 3 | ++ MAV_PFS_CMD_READ_SPECIFIC + | +Read specific parameters from storage | +
| 4 | ++ MAV_PFS_CMD_WRITE_SPECIFIC + | +Write specific parameters to storage | +
| 5 | ++ MAV_PFS_CMD_CLEAR_SPECIFIC + | +Clear specific parameters in storage | +
| 6 | ++ MAV_PFS_CMD_DO_NOTHING + | +do nothing | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_CMD_PREFLIGHT_STORAGE_ADVANCED + | +Request storage of different parameter values and logs. This command will be only accepted if in pre-flight mode. | +
| + | +||
| + | +Mission Param #1 | +Storage action: Action defined by MAV_PREFLIGHT_STORAGE_ACTION_ADVANCED | +
| + | +Mission Param #2 | +Storage area as defined by parameter database | +
| + | +Mission Param #3 | +Storage flags as defined by parameter database | +
| + | +Mission Param #4 | +Empty | +
| + | +Mission Param #5 | +Empty | +
| + | +Mission Param #6 | +Empty | +
| + | +Mission Param #7 | +Empty | +
|
+ + |
+ ||
Depreciated but used as a compiler flag. Do not remove
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
Reqest reading of flexifunction data
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
| read_req_type | +int16_t | +Type of flexifunction data requested | +
| data_index | +int16_t | +index into data where needed | +
Flexifunction type and parameters for component at function index from buffer
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
| func_index | +uint16_t | +Function index | +
| func_count | +uint16_t | +Total count of functions | +
| data_address | +uint16_t | +Address in the flexifunction data, Set to 0xFFFF to use address in target memory | +
| data_size | +uint16_t | +Size of the | +
| data | +int8_t[48] | +Settings data | +
Flexifunction type and parameters for component at function index from buffer
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
| func_index | +uint16_t | +Function index | +
| result | +uint16_t | +result of acknowledge, 0=fail, 1=good | +
Acknowldge sucess or failure of a flexifunction command
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
| directory_type | +uint8_t | +0=inputs, 1=outputs | +
| start_index | +uint8_t | +index of first directory entry to write | +
| count | +uint8_t | +count of directory entries to write | +
| directory_data | +int8_t[48] | +Settings data | +
Acknowldge sucess or failure of a flexifunction command
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
| directory_type | +uint8_t | +0=inputs, 1=outputs | +
| start_index | +uint8_t | +index of first directory entry to write | +
| count | +uint8_t | +count of directory entries to write | +
| result | +uint16_t | +result of acknowledge, 0=fail, 1=good | +
Acknowldge sucess or failure of a flexifunction command
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
| command_type | +uint8_t | +Flexifunction command type | +
Acknowldge sucess or failure of a flexifunction command
+| Field Name | +Type | +Description | +
|---|---|---|
| command_type | +uint16_t | +Command acknowledged | +
| result | +uint16_t | +result of acknowledge | +
Backwards compatible MAVLink version of SERIAL_UDB_EXTRA - F2: Format Part A
+| Field Name | +Type | +Description | +
|---|---|---|
| sue_time | +uint32_t | +Serial UDB Extra Time | +
| sue_status | +uint8_t | +Serial UDB Extra Status | +
| sue_latitude | +int32_t | +Serial UDB Extra Latitude | +
| sue_longitude | +int32_t | +Serial UDB Extra Longitude | +
| sue_altitude | +int32_t | +Serial UDB Extra Altitude | +
| sue_waypoint_index | +uint16_t | +Serial UDB Extra Waypoint Index | +
| sue_rmat0 | +int16_t | +Serial UDB Extra Rmat 0 | +
| sue_rmat1 | +int16_t | +Serial UDB Extra Rmat 1 | +
| sue_rmat2 | +int16_t | +Serial UDB Extra Rmat 2 | +
| sue_rmat3 | +int16_t | +Serial UDB Extra Rmat 3 | +
| sue_rmat4 | +int16_t | +Serial UDB Extra Rmat 4 | +
| sue_rmat5 | +int16_t | +Serial UDB Extra Rmat 5 | +
| sue_rmat6 | +int16_t | +Serial UDB Extra Rmat 6 | +
| sue_rmat7 | +int16_t | +Serial UDB Extra Rmat 7 | +
| sue_rmat8 | +int16_t | +Serial UDB Extra Rmat 8 | +
| sue_cog | +uint16_t | +Serial UDB Extra GPS Course Over Ground | +
| sue_sog | +int16_t | +Serial UDB Extra Speed Over Ground | +
| sue_cpu_load | +uint16_t | +Serial UDB Extra CPU Load | +
| sue_air_speed_3DIMU | +uint16_t | +Serial UDB Extra 3D IMU Air Speed | +
| sue_estimated_wind_0 | +int16_t | +Serial UDB Extra Estimated Wind 0 | +
| sue_estimated_wind_1 | +int16_t | +Serial UDB Extra Estimated Wind 1 | +
| sue_estimated_wind_2 | +int16_t | +Serial UDB Extra Estimated Wind 2 | +
| sue_magFieldEarth0 | +int16_t | +Serial UDB Extra Magnetic Field Earth 0 | +
| sue_magFieldEarth1 | +int16_t | +Serial UDB Extra Magnetic Field Earth 1 | +
| sue_magFieldEarth2 | +int16_t | +Serial UDB Extra Magnetic Field Earth 2 | +
| sue_svs | +int16_t | +Serial UDB Extra Number of Sattelites in View | +
| sue_hdop | +int16_t | +Serial UDB Extra GPS Horizontal Dilution of Precision | +
Backwards compatible version of SERIAL_UDB_EXTRA - F2: Part B
+| Field Name | +Type | +Description | +
|---|---|---|
| sue_time | +uint32_t | +Serial UDB Extra Time | +
| sue_pwm_input_1 | +int16_t | +Serial UDB Extra PWM Input Channel 1 | +
| sue_pwm_input_2 | +int16_t | +Serial UDB Extra PWM Input Channel 2 | +
| sue_pwm_input_3 | +int16_t | +Serial UDB Extra PWM Input Channel 3 | +
| sue_pwm_input_4 | +int16_t | +Serial UDB Extra PWM Input Channel 4 | +
| sue_pwm_input_5 | +int16_t | +Serial UDB Extra PWM Input Channel 5 | +
| sue_pwm_input_6 | +int16_t | +Serial UDB Extra PWM Input Channel 6 | +
| sue_pwm_input_7 | +int16_t | +Serial UDB Extra PWM Input Channel 7 | +
| sue_pwm_input_8 | +int16_t | +Serial UDB Extra PWM Input Channel 8 | +
| sue_pwm_input_9 | +int16_t | +Serial UDB Extra PWM Input Channel 9 | +
| sue_pwm_input_10 | +int16_t | +Serial UDB Extra PWM Input Channel 10 | +
| sue_pwm_input_11 | +int16_t | +Serial UDB Extra PWM Input Channel 11 | +
| sue_pwm_input_12 | +int16_t | +Serial UDB Extra PWM Input Channel 12 | +
| sue_pwm_output_1 | +int16_t | +Serial UDB Extra PWM Output Channel 1 | +
| sue_pwm_output_2 | +int16_t | +Serial UDB Extra PWM Output Channel 2 | +
| sue_pwm_output_3 | +int16_t | +Serial UDB Extra PWM Output Channel 3 | +
| sue_pwm_output_4 | +int16_t | +Serial UDB Extra PWM Output Channel 4 | +
| sue_pwm_output_5 | +int16_t | +Serial UDB Extra PWM Output Channel 5 | +
| sue_pwm_output_6 | +int16_t | +Serial UDB Extra PWM Output Channel 6 | +
| sue_pwm_output_7 | +int16_t | +Serial UDB Extra PWM Output Channel 7 | +
| sue_pwm_output_8 | +int16_t | +Serial UDB Extra PWM Output Channel 8 | +
| sue_pwm_output_9 | +int16_t | +Serial UDB Extra PWM Output Channel 9 | +
| sue_pwm_output_10 | +int16_t | +Serial UDB Extra PWM Output Channel 10 | +
| sue_pwm_output_11 | +int16_t | +Serial UDB Extra PWM Output Channel 11 | +
| sue_pwm_output_12 | +int16_t | +Serial UDB Extra PWM Output Channel 12 | +
| sue_imu_location_x | +int16_t | +Serial UDB Extra IMU Location X | +
| sue_imu_location_y | +int16_t | +Serial UDB Extra IMU Location Y | +
| sue_imu_location_z | +int16_t | +Serial UDB Extra IMU Location Z | +
| sue_location_error_earth_x | +int16_t | +Serial UDB Location Error Earth X | +
| sue_location_error_earth_y | +int16_t | +Serial UDB Location Error Earth Y | +
| sue_location_error_earth_z | +int16_t | +Serial UDB Location Error Earth Z | +
| sue_flags | +uint32_t | +Serial UDB Extra Status Flags | +
| sue_osc_fails | +int16_t | +Serial UDB Extra Oscillator Failure Count | +
| sue_imu_velocity_x | +int16_t | +Serial UDB Extra IMU Velocity X | +
| sue_imu_velocity_y | +int16_t | +Serial UDB Extra IMU Velocity Y | +
| sue_imu_velocity_z | +int16_t | +Serial UDB Extra IMU Velocity Z | +
| sue_waypoint_goal_x | +int16_t | +Serial UDB Extra Current Waypoint Goal X | +
| sue_waypoint_goal_y | +int16_t | +Serial UDB Extra Current Waypoint Goal Y | +
| sue_waypoint_goal_z | +int16_t | +Serial UDB Extra Current Waypoint Goal Z | +
| sue_aero_x | +int16_t | +Aeroforce in UDB X Axis | +
| sue_aero_y | +int16_t | +Aeroforce in UDB Y Axis | +
| sue_aero_z | +int16_t | +Aeroforce in UDB Z axis | +
| sue_barom_temp | +int16_t | +SUE barometer temperature | +
| sue_barom_press | +int32_t | +SUE barometer pressure | +
| sue_barom_alt | +int32_t | +SUE barometer altitude | +
| sue_bat_volt | +int16_t | +SUE battery voltage | +
| sue_bat_amp | +int16_t | +SUE battery current | +
| sue_bat_amp_hours | +int16_t | +SUE battery milli amp hours used | +
| sue_desired_height | +int16_t | +Sue autopilot desired height | +
| sue_memory_stack_free | +int16_t | +Serial UDB Extra Stack Memory Free | +
Backwards compatible version of SERIAL_UDB_EXTRA F4: format
+| Field Name | +Type | +Description | +
|---|---|---|
| sue_ROLL_STABILIZATION_AILERONS | +uint8_t | +Serial UDB Extra Roll Stabilization with Ailerons Enabled | +
| sue_ROLL_STABILIZATION_RUDDER | +uint8_t | +Serial UDB Extra Roll Stabilization with Rudder Enabled | +
| sue_PITCH_STABILIZATION | +uint8_t | +Serial UDB Extra Pitch Stabilization Enabled | +
| sue_YAW_STABILIZATION_RUDDER | +uint8_t | +Serial UDB Extra Yaw Stabilization using Rudder Enabled | +
| sue_YAW_STABILIZATION_AILERON | +uint8_t | +Serial UDB Extra Yaw Stabilization using Ailerons Enabled | +
| sue_AILERON_NAVIGATION | +uint8_t | +Serial UDB Extra Navigation with Ailerons Enabled | +
| sue_RUDDER_NAVIGATION | +uint8_t | +Serial UDB Extra Navigation with Rudder Enabled | +
| sue_ALTITUDEHOLD_STABILIZED | +uint8_t | +Serial UDB Extra Type of Alitude Hold when in Stabilized Mode | +
| sue_ALTITUDEHOLD_WAYPOINT | +uint8_t | +Serial UDB Extra Type of Alitude Hold when in Waypoint Mode | +
| sue_RACING_MODE | +uint8_t | +Serial UDB Extra Firmware racing mode enabled | +
Backwards compatible version of SERIAL_UDB_EXTRA F5: format
+| Field Name | +Type | +Description | +
|---|---|---|
| sue_YAWKP_AILERON | +float | +Serial UDB YAWKP_AILERON Gain for Proporional control of navigation | +
| sue_YAWKD_AILERON | +float | +Serial UDB YAWKD_AILERON Gain for Rate control of navigation | +
| sue_ROLLKP | +float | +Serial UDB Extra ROLLKP Gain for Proportional control of roll stabilization | +
| sue_ROLLKD | +float | +Serial UDB Extra ROLLKD Gain for Rate control of roll stabilization | +
Backwards compatible version of SERIAL_UDB_EXTRA F6: format
+| Field Name | +Type | +Description | +
|---|---|---|
| sue_PITCHGAIN | +float | +Serial UDB Extra PITCHGAIN Proportional Control | +
| sue_PITCHKD | +float | +Serial UDB Extra Pitch Rate Control | +
| sue_RUDDER_ELEV_MIX | +float | +Serial UDB Extra Rudder to Elevator Mix | +
| sue_ROLL_ELEV_MIX | +float | +Serial UDB Extra Roll to Elevator Mix | +
| sue_ELEVATOR_BOOST | +float | +Gain For Boosting Manual Elevator control When Plane Stabilized | +
Backwards compatible version of SERIAL_UDB_EXTRA F7: format
+| Field Name | +Type | +Description | +
|---|---|---|
| sue_YAWKP_RUDDER | +float | +Serial UDB YAWKP_RUDDER Gain for Proporional control of navigation | +
| sue_YAWKD_RUDDER | +float | +Serial UDB YAWKD_RUDDER Gain for Rate control of navigation | +
| sue_ROLLKP_RUDDER | +float | +Serial UDB Extra ROLLKP_RUDDER Gain for Proportional control of roll stabilization | +
| sue_ROLLKD_RUDDER | +float | +Serial UDB Extra ROLLKD_RUDDER Gain for Rate control of roll stabilization | +
| sue_RUDDER_BOOST | +float | +SERIAL UDB EXTRA Rudder Boost Gain to Manual Control when stabilized | +
| sue_RTL_PITCH_DOWN | +float | +Serial UDB Extra Return To Landing - Angle to Pitch Plane Down | +
Backwards compatible version of SERIAL_UDB_EXTRA F8: format
+| Field Name | +Type | +Description | +
|---|---|---|
| sue_HEIGHT_TARGET_MAX | +float | +Serial UDB Extra HEIGHT_TARGET_MAX | +
| sue_HEIGHT_TARGET_MIN | +float | +Serial UDB Extra HEIGHT_TARGET_MIN | +
| sue_ALT_HOLD_THROTTLE_MIN | +float | +Serial UDB Extra ALT_HOLD_THROTTLE_MIN | +
| sue_ALT_HOLD_THROTTLE_MAX | +float | +Serial UDB Extra ALT_HOLD_THROTTLE_MAX | +
| sue_ALT_HOLD_PITCH_MIN | +float | +Serial UDB Extra ALT_HOLD_PITCH_MIN | +
| sue_ALT_HOLD_PITCH_MAX | +float | +Serial UDB Extra ALT_HOLD_PITCH_MAX | +
| sue_ALT_HOLD_PITCH_HIGH | +float | +Serial UDB Extra ALT_HOLD_PITCH_HIGH | +
Backwards compatible version of SERIAL_UDB_EXTRA F13: format
+| Field Name | +Type | +Description | +
|---|---|---|
| sue_week_no | +int16_t | +Serial UDB Extra GPS Week Number | +
| sue_lat_origin | +int32_t | +Serial UDB Extra MP Origin Latitude | +
| sue_lon_origin | +int32_t | +Serial UDB Extra MP Origin Longitude | +
| sue_alt_origin | +int32_t | +Serial UDB Extra MP Origin Altitude Above Sea Level | +
Backwards compatible version of SERIAL_UDB_EXTRA F14: format
+| Field Name | +Type | +Description | +
|---|---|---|
| sue_WIND_ESTIMATION | +uint8_t | +Serial UDB Extra Wind Estimation Enabled | +
| sue_GPS_TYPE | +uint8_t | +Serial UDB Extra Type of GPS Unit | +
| sue_DR | +uint8_t | +Serial UDB Extra Dead Reckoning Enabled | +
| sue_BOARD_TYPE | +uint8_t | +Serial UDB Extra Type of UDB Hardware | +
| sue_AIRFRAME | +uint8_t | +Serial UDB Extra Type of Airframe | +
| sue_RCON | +int16_t | +Serial UDB Extra Reboot Register of DSPIC | +
| sue_TRAP_FLAGS | +int16_t | +Serial UDB Extra Last dspic Trap Flags | +
| sue_TRAP_SOURCE | +uint32_t | +Serial UDB Extra Type Program Address of Last Trap | +
| sue_osc_fail_count | +int16_t | +Serial UDB Extra Number of Ocillator Failures | +
| sue_CLOCK_CONFIG | +uint8_t | +Serial UDB Extra UDB Internal Clock Configuration | +
| sue_FLIGHT_PLAN_TYPE | +uint8_t | +Serial UDB Extra Type of Flight Plan | +
Backwards compatible version of SERIAL_UDB_EXTRA F15 format
+| Field Name | +Type | +Description | +
|---|---|---|
| sue_ID_VEHICLE_MODEL_NAME | +uint8_t[40] | +Serial UDB Extra Model Name Of Vehicle | +
| sue_ID_VEHICLE_REGISTRATION | +uint8_t[20] | +Serial UDB Extra Registraton Number of Vehicle | +
Backwards compatible version of SERIAL_UDB_EXTRA F16 format
+| Field Name | +Type | +Description | +
|---|---|---|
| sue_ID_LEAD_PILOT | +uint8_t[40] | +Serial UDB Extra Name of Expected Lead Pilot | +
| sue_ID_DIY_DRONES_URL | +uint8_t[70] | +Serial UDB Extra URL of Lead Pilot or Team | +
The altitude measured by sensors and IMU
+| Field Name | +Type | +Description | +
|---|---|---|
| time_boot_ms | +uint32_t | +Timestamp (milliseconds since system boot) | +
| alt_gps | +int32_t | +GPS altitude in meters, expressed as * 1000 (millimeters), above MSL | +
| alt_imu | +int32_t | +IMU altitude above ground in meters, expressed as * 1000 (millimeters) | +
| alt_barometric | +int32_t | +barometeric altitude above ground in meters, expressed as * 1000 (millimeters) | +
| alt_optical_flow | +int32_t | +Optical flow altitude above ground in meters, expressed as * 1000 (millimeters) | +
| alt_range_finder | +int32_t | +Rangefinder Altitude above ground in meters, expressed as * 1000 (millimeters) | +
| alt_extra | +int32_t | +Extra altitude above ground in meters, expressed as * 1000 (millimeters) | +
The airspeed measured by sensors and IMU
+| Field Name | +Type | +Description | +
|---|---|---|
| time_boot_ms | +uint32_t | +Timestamp (milliseconds since system boot) | +
| airspeed_imu | +int16_t | +Airspeed estimate from IMU, cm/s | +
| airspeed_pitot | +int16_t | +Pitot measured forward airpseed, cm/s | +
| airspeed_hot_wire | +int16_t | +Hot wire anenometer measured airspeed, cm/s | +
| airspeed_ultrasonic | +int16_t | +Ultrasonic measured airspeed, cm/s | +
| aoa | +int16_t | +Angle of attack sensor, degrees * 10 | +
| aoy | +int16_t | +Yaw angle sensor, degrees * 10 | +
Backwards compatible version of SERIAL_UDB_EXTRA F17 format
+| Field Name | +Type | +Description | +
|---|---|---|
| sue_feed_forward | +float | +SUE Feed Forward Gain | +
| sue_turn_rate_nav | +float | +SUE Max Turn Rate when Navigating | +
| sue_turn_rate_fbw | +float | +SUE Max Turn Rate in Fly By Wire Mode | +
Backwards compatible version of SERIAL_UDB_EXTRA F18 format
+| Field Name | +Type | +Description | +
|---|---|---|
| angle_of_attack_normal | +float | +SUE Angle of Attack Normal | +
| angle_of_attack_inverted | +float | +SUE Angle of Attack Inverted | +
| elevator_trim_normal | +float | +SUE Elevator Trim Normal | +
| elevator_trim_inverted | +float | +SUE Elevator Trim Inverted | +
| reference_speed | +float | +SUE reference_speed | +
Backwards compatible version of SERIAL_UDB_EXTRA F19 format
+| Field Name | +Type | +Description | +
|---|---|---|
| sue_aileron_output_channel | +uint8_t | +SUE aileron output channel | +
| sue_aileron_reversed | +uint8_t | +SUE aileron reversed | +
| sue_elevator_output_channel | +uint8_t | +SUE elevator output channel | +
| sue_elevator_reversed | +uint8_t | +SUE elevator reversed | +
| sue_throttle_output_channel | +uint8_t | +SUE throttle output channel | +
| sue_throttle_reversed | +uint8_t | +SUE throttle reversed | +
| sue_rudder_output_channel | +uint8_t | +SUE rudder output channel | +
| sue_rudder_reversed | +uint8_t | +SUE rudder reversed | +
Backwards compatible version of SERIAL_UDB_EXTRA F20 format
+| Field Name | +Type | +Description | +
|---|---|---|
| sue_number_of_inputs | +uint8_t | +SUE Number of Input Channels | +
| sue_trim_value_input_1 | +int16_t | +SUE UDB PWM Trim Value on Input 1 | +
| sue_trim_value_input_2 | +int16_t | +SUE UDB PWM Trim Value on Input 2 | +
| sue_trim_value_input_3 | +int16_t | +SUE UDB PWM Trim Value on Input 3 | +
| sue_trim_value_input_4 | +int16_t | +SUE UDB PWM Trim Value on Input 4 | +
| sue_trim_value_input_5 | +int16_t | +SUE UDB PWM Trim Value on Input 5 | +
| sue_trim_value_input_6 | +int16_t | +SUE UDB PWM Trim Value on Input 6 | +
| sue_trim_value_input_7 | +int16_t | +SUE UDB PWM Trim Value on Input 7 | +
| sue_trim_value_input_8 | +int16_t | +SUE UDB PWM Trim Value on Input 8 | +
| sue_trim_value_input_9 | +int16_t | +SUE UDB PWM Trim Value on Input 9 | +
| sue_trim_value_input_10 | +int16_t | +SUE UDB PWM Trim Value on Input 10 | +
| sue_trim_value_input_11 | +int16_t | +SUE UDB PWM Trim Value on Input 11 | +
| sue_trim_value_input_12 | +int16_t | +SUE UDB PWM Trim Value on Input 12 | +
Backwards compatible version of SERIAL_UDB_EXTRA F21 format
+| Field Name | +Type | +Description | +
|---|---|---|
| sue_accel_x_offset | +int16_t | +SUE X accelerometer offset | +
| sue_accel_y_offset | +int16_t | +SUE Y accelerometer offset | +
| sue_accel_z_offset | +int16_t | +SUE Z accelerometer offset | +
| sue_gyro_x_offset | +int16_t | +SUE X gyro offset | +
| sue_gyro_y_offset | +int16_t | +SUE Y gyro offset | +
| sue_gyro_z_offset | +int16_t | +SUE Z gyro offset | +
Backwards compatible version of SERIAL_UDB_EXTRA F22 format
+| Field Name | +Type | +Description | +
|---|---|---|
| sue_accel_x_at_calibration | +int16_t | +SUE X accelerometer at calibration time | +
| sue_accel_y_at_calibration | +int16_t | +SUE Y accelerometer at calibration time | +
| sue_accel_z_at_calibration | +int16_t | +SUE Z accelerometer at calibration time | +
| sue_gyro_x_at_calibration | +int16_t | +SUE X gyro at calibration time | +
| sue_gyro_y_at_calibration | +int16_t | +SUE Y gyro at calibration time | +
| sue_gyro_z_at_calibration | +int16_t | +SUE Z gyro at calibration time | +
The current MAVLink version is 2.2. The minor version numbers (after the dot) range from 1-255.
+Micro air vehicle / autopilot classes. This identifies the individual model.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_AUTOPILOT_GENERIC + | +Generic autopilot, full support for everything | +
| 1 | ++ MAV_AUTOPILOT_PIXHAWK + | +PIXHAWK autopilot, http://pixhawk.ethz.ch | +
| 2 | ++ MAV_AUTOPILOT_SLUGS + | +SLUGS autopilot, http://slugsuav.soe.ucsc.edu | +
| 3 | ++ MAV_AUTOPILOT_ARDUPILOTMEGA + | +ArduPilotMega / ArduCopter, http://diydrones.com | +
| 4 | ++ MAV_AUTOPILOT_OPENPILOT + | +OpenPilot, http://openpilot.org | +
| 5 | ++ MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY + | +Generic autopilot only supporting simple waypoints | +
| 6 | ++ MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY + | +Generic autopilot supporting waypoints and other simple navigation commands | +
| 7 | ++ MAV_AUTOPILOT_GENERIC_MISSION_FULL + | +Generic autopilot supporting the full mission command set | +
| 8 | ++ MAV_AUTOPILOT_INVALID + | +No valid autopilot, e.g. a GCS or other MAVLink component | +
| 9 | ++ MAV_AUTOPILOT_PPZ + | +PPZ UAV - http://nongnu.org/paparazzi | +
| 10 | ++ MAV_AUTOPILOT_UDB + | +UAV Dev Board | +
| 11 | ++ MAV_AUTOPILOT_FP + | +FlexiPilot | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_TYPE_GENERIC + | +Generic micro air vehicle. | +
| 1 | ++ MAV_TYPE_FIXED_WING + | +Fixed wing aircraft. | +
| 2 | ++ MAV_TYPE_QUADROTOR + | +Quadrotor | +
| 3 | ++ MAV_TYPE_COAXIAL + | +Coaxial helicopter | +
| 4 | ++ MAV_TYPE_HELICOPTER + | +Normal helicopter with tail rotor. | +
| 5 | ++ MAV_TYPE_ANTENNA_TRACKER + | +Ground installation | +
| 6 | ++ MAV_TYPE_GCS + | +Operator control unit / ground control station | +
| 7 | ++ MAV_TYPE_AIRSHIP + | +Airship, controlled | +
| 8 | ++ MAV_TYPE_FREE_BALLOON + | +Free balloon, uncontrolled | +
| 9 | ++ MAV_TYPE_ROCKET + | +Rocket | +
| 10 | ++ MAV_TYPE_GROUND_ROVER + | +Ground rover | +
| 11 | ++ MAV_TYPE_SURFACE_BOAT + | +Surface vessel, boat, ship | +
| 12 | ++ MAV_TYPE_SUBMARINE + | +Submarine | +
| 13 | ++ MAV_TYPE_HEXAROTOR + | +Hexarotor | +
| 14 | ++ MAV_TYPE_OCTOROTOR + | +Octorotor | +
| 15 | ++ MAV_TYPE_TRICOPTER + | +Octorotor | +
| 16 | ++ MAV_TYPE_FLAPPING_WING + | +Flapping wing | +
These flags encode the MAV mode.
+| Value | +Field Name | +Description | +
|---|---|---|
| 128 | ++ MAV_MODE_FLAG_SAFETY_ARMED + | +0b10000000 MAV safety set to armed. Motors are enabled / running / can start. Ready to fly. | +
| 64 | ++ MAV_MODE_FLAG_MANUAL_INPUT_ENABLED + | +0b01000000 remote control input is enabled. | +
| 32 | ++ MAV_MODE_FLAG_HIL_ENABLED + | +0b00100000 hardware in the loop simulation. All motors / actuators are blocked, but internal software is full operational. | +
| 16 | ++ MAV_MODE_FLAG_STABILIZE_ENABLED + | +0b00010000 system stabilizes electronically its attitude (and optionally position). It needs however further control inputs to move around. | +
| 8 | ++ MAV_MODE_FLAG_GUIDED_ENABLED + | +0b00001000 guided mode enabled, system flies waypoints / mission items. | +
| 4 | ++ MAV_MODE_FLAG_AUTO_ENABLED + | +0b00000100 autonomous mode enabled, system finds its own goal positions. Guided flag can be set or not, depends on the actual implementation. | +
| 2 | ++ MAV_MODE_FLAG_TEST_ENABLED + | +0b00000010 system has a test mode enabled. This flag is intended for temporary system tests and should not be used for stable implementations. | +
| 1 | ++ MAV_MODE_FLAG_CUSTOM_MODE_ENABLED + | +0b00000001 Reserved for future use. | +
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.
+| Value | +Field Name | +Description | +
|---|---|---|
| 128 | ++ MAV_MODE_FLAG_DECODE_POSITION_SAFETY + | +First bit: 10000000 | +
| 64 | ++ MAV_MODE_FLAG_DECODE_POSITION_MANUAL + | +Second bit: 01000000 | +
| 32 | ++ MAV_MODE_FLAG_DECODE_POSITION_HIL + | +Third bit: 00100000 | +
| 16 | ++ MAV_MODE_FLAG_DECODE_POSITION_STABILIZE + | +Fourth bit: 00010000 | +
| 8 | ++ MAV_MODE_FLAG_DECODE_POSITION_GUIDED + | +Fifth bit: 00001000 | +
| 4 | ++ MAV_MODE_FLAG_DECODE_POSITION_AUTO + | +Sixt bit: 00000100 | +
| 2 | ++ MAV_MODE_FLAG_DECODE_POSITION_TEST + | +Seventh bit: 00000010 | +
| 1 | ++ MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODE + | +Eighth bit: 00000001 | +
+
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ MAV_STATE_UNINIT + | +Uninitialized system, state is unknown. | +
| + | ++ MAV_STATE_BOOT + | +System is booting up. | +
| + | ++ MAV_STATE_CALIBRATING + | +System is calibrating and not flight-ready. | +
| + | ++ MAV_STATE_STANDBY + | +System is grounded and on standby. It can be launched any time. | +
| + | ++ MAV_STATE_ACTIVE + | +System is active and might be already airborne. Motors are engaged. | +
| + | ++ MAV_STATE_CRITICAL + | +System is in a non-normal flight mode. It can however still navigate. | +
| + | ++ MAV_STATE_EMERGENCY + | +System 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_POWEROFF + | +System just initialized its power-down sequence, will shut down now. | +
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 Name | +Type | +Values | +Description | +
|---|---|---|---|
| type | +uint8_t | ++ MAV_TYPE + | +Type of the MAV (quadrotor, helicopter, etc., up to 15 types, defined in MAV_TYPE ENUM) | +
| autopilot | +uint8_t | ++ MAV_AUTOPILOT + | +Autopilot type / class. defined in MAV_AUTOPILOT ENUM | +
| base_mode | +uint8_t | ++ + + | +System mode bitfield, see MAV_MODE_FLAGS ENUM in mavlink/include/mavlink_types.h | +
| custom_mode | +uint32_t | ++ + + | +A bitfield for use for autopilot-specific flags. | +
| system_status | +uint8_t | ++ MAV_STATE + | +System status flag, see MAV_STATE ENUM | +
| mavlink_version | +uint8_t_mavlink_version | ++ + + | +MAVLink version | +
+ MAVLink Include Files: + common.xml +
+The current MAVLink version is 2.3. The minor version numbers (after the dot) range from 1-255.
+Message encoding a mission script item. This message is emitted upon a request for the next script item.
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
| seq | +uint16_t | +Sequence | +
| name | +char[50] | +The name of the mission script, NULL terminated. | +
Request script item with the sequence number seq. The response of the system to this message should be a SCRIPT_ITEM message.
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
| seq | +uint16_t | +Sequence | +
Request the overall list of mission items from the system/component.
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
This message is emitted as response to SCRIPT_REQUEST_LIST by the MAV to get the number of mission scripts.
+| Field Name | +Type | +Description | +
|---|---|---|
| target_system | +uint8_t | +System ID | +
| target_component | +uint8_t | +Component ID | +
| count | +uint16_t | +Number of script items in the sequence | +
This message informs about the currently active SCRIPT.
+| Field Name | +Type | +Description | +
|---|---|---|
| seq | +uint16_t | +Active Sequence | +
+ MAVLink Include Files: + common.xml +
+Array test #0.
+| Field Name | +Type | +Description | +
|---|---|---|
| v1 | +uint8_t | +Stub field | +
| ar_i8 | +int8_t[4] | +Value array | +
| ar_u8 | +uint8_t[4] | +Value array | +
| ar_u16 | +uint16_t[4] | +Value array | +
| ar_u32 | +uint32_t[4] | +Value array | +
Array test #1.
+| Field Name | +Type | +Description | +
|---|---|---|
| ar_u32 | +uint32_t[4] | +Value array | +
Array test #3.
+| Field Name | +Type | +Description | +
|---|---|---|
| v | +uint8_t | +Stub field | +
| ar_u32 | +uint32_t[4] | +Value array | +
Array test #4.
+| Field Name | +Type | +Description | +
|---|---|---|
| ar_u32 | +uint32_t[4] | +Value array | +
| v | +uint8_t | +Stub field | +
Array test #5.
+| Field Name | +Type | +Description | +
|---|---|---|
| c1 | +char[5] | +Value array | +
| c2 | +char[5] | +Value array | +
Array test #6.
+| Field Name | +Type | +Description | +
|---|---|---|
| v1 | +uint8_t | +Stub field | +
| v2 | +uint16_t | +Stub field | +
| v3 | +uint32_t | +Stub field | +
| ar_u32 | +uint32_t[2] | +Value array | +
| ar_i32 | +int32_t[2] | +Value array | +
| ar_u16 | +uint16_t[2] | +Value array | +
| ar_i16 | +int16_t[2] | +Value array | +
| ar_u8 | +uint8_t[2] | +Value array | +
| ar_i8 | +int8_t[2] | +Value array | +
| ar_c | +char[32] | +Value array | +
| ar_d | +double[2] | +Value array | +
| ar_f | +float[2] | +Value array | +
Array test #7.
+| Field Name | +Type | +Description | +
|---|---|---|
| ar_d | +double[2] | +Value array | +
| ar_f | +float[2] | +Value array | +
| ar_u32 | +uint32_t[2] | +Value array | +
| ar_i32 | +int32_t[2] | +Value array | +
| ar_u16 | +uint16_t[2] | +Value array | +
| ar_i16 | +int16_t[2] | +Value array | +
| ar_u8 | +uint8_t[2] | +Value array | +
| ar_i8 | +int8_t[2] | +Value array | +
| ar_c | +char[32] | +Value array | +
Array test #8.
+| Field Name | +Type | +Description | +
|---|---|---|
| v3 | +uint32_t | +Stub field | +
| ar_d | +double[2] | +Value array | +
| ar_u16 | +uint16_t[2] | +Value array | +
+ MAVLink Include Files: + common.xml +
++
+| Value | +Field Name | +Description | +
|---|---|---|
| 10001 | ++ MAV_CMD_DO_NOTHING + | +Does nothing. | +
| + | +||
| + | +Mission Param #1 | +1 to arm, 0 to disarm | +
|
+ + |
+ ||
| 10011 | ++ MAV_CMD_RETURN_TO_BASE + | +Return vehicle to base. | +
| + | +||
| + | +Mission Param #1 | +0: return to base, 1: track mobile base | +
|
+ + |
+ ||
| 10012 | ++ MAV_CMD_STOP_RETURN_TO_BASE + | +Stops the vehicle from returning to base and resumes flight. | +
| 10013 | ++ MAV_CMD_TURN_LIGHT + | +Turns the vehicle's visible or infrared lights on or off. | +
| + | +||
| + | +Mission Param #1 | +0: visible lights, 1: infrared lights | +
| + | +Mission Param #2 | +0: turn on, 1: turn off | +
|
+ + |
+ ||
| 10014 | ++ MAV_CMD_GET_MID_LEVEL_COMMANDS + | +Requests vehicle to send current mid-level commands to ground station. | +
| 10015 | ++ MAV_CMD_MIDLEVEL_STORAGE + | +Requests storage of mid-level commands. | +
| + | +||
| + | +Mission Param #1 | +Mid-level command storage: 0: read from flash/EEPROM, 1: write to flash/EEPROM | +
|
+ + |
+ ||
Slugs-specific navigation modes.
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ SLUGS_MODE_NONE + | +No change to SLUGS mode. | +
| 1 | ++ SLUGS_MODE_LIFTOFF + | +Vehicle is in liftoff mode. | +
| 2 | ++ SLUGS_MODE_PASSTHROUGH + | +Vehicle is in passthrough mode, being controlled by a pilot. | +
| 3 | ++ SLUGS_MODE_WAYPOINT + | +Vehicle is in waypoint mode, navigating to waypoints. | +
| 4 | ++ SLUGS_MODE_MID_LEVEL + | +Vehicle is executing mid-level commands. | +
| 5 | ++ SLUGS_MODE_RETURNING + | +Vehicle is returning to the home location. | +
| 6 | ++ SLUGS_MODE_LANDING + | +Vehicle is landing. | +
| 7 | ++ SLUGS_MODE_LOST + | +Lost connection with vehicle. | +
| 8 | ++ SLUGS_MODE_SELECTIVE_PASSTHROUGH + | +Vehicle is in selective passthrough mode, where selected surfaces are being manually controlled. | +
| 9 | ++ SLUGS_MODE_ISR + | +Vehicle is in ISR mode, performing reconaissance at a point specified by ISR_LOCATION message. | +
| 10 | ++ SLUGS_MODE_LINE_PATROL + | +Vehicle is patrolling along lines between waypoints. | +
| 11 | ++ SLUGS_MODE_GROUNDED + | +Vehicle is grounded or an error has occurred. | +
These flags encode the control surfaces for selective passthrough mode. If a bit is set then the pilot console + has control of the surface, and if not then the autopilot has control of the surface.
+| Value | +Field Name | +Description | +
|---|---|---|
| 128 | ++ CONTROL_SURFACE_FLAG_THROTTLE + | +0b10000000 Throttle control passes through to pilot console. | +
| 64 | ++ CONTROL_SURFACE_FLAG_LEFT_AILERON + | +0b01000000 Left aileron control passes through to pilot console. | +
| 32 | ++ CONTROL_SURFACE_FLAG_RIGHT_AILERON + | +0b00100000 Right aileron control passes through to pilot console. | +
| 16 | ++ CONTROL_SURFACE_FLAG_RUDDER + | +0b00010000 Rudder control passes through to pilot console. | +
| 8 | ++ CONTROL_SURFACE_FLAG_LEFT_ELEVATOR + | +0b00001000 Left elevator control passes through to pilot console. | +
| 4 | ++ CONTROL_SURFACE_FLAG_RIGHT_ELEVATOR + | +0b00000100 Right elevator control passes through to pilot console. | +
| 2 | ++ CONTROL_SURFACE_FLAG_LEFT_FLAP + | +0b00000010 Left flap control passes through to pilot console. | +
| 1 | ++ CONTROL_SURFACE_FLAG_RIGHT_FLAP + | +0b00000001 Right flap control passes through to pilot console. | +
Sensor and DSC control loads.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| sensLoad | +uint8_t | ++ | +Sensor DSC Load | +
| ctrlLoad | +uint8_t | ++ | +Control DSC Load | +
| batVolt | +uint16_t | +mV | +Battery Voltage | +
Accelerometer and gyro biases.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| axBias | +float | +m/s | +Accelerometer X bias | +
| ayBias | +float | +m/s | +Accelerometer Y bias | +
| azBias | +float | +m/s | +Accelerometer Z bias | +
| gxBias | +float | +rad/s | +Gyro X bias | +
| gyBias | +float | +rad/s | +Gyro Y bias | +
| gzBias | +float | +rad/s | +Gyro Z bias | +
Configurable diagnostic messages.
+| Field Name | +Type | +Description | +
|---|---|---|
| diagFl1 | +float | +Diagnostic float 1 | +
| diagFl2 | +float | +Diagnostic float 2 | +
| diagFl3 | +float | +Diagnostic float 3 | +
| diagSh1 | +int16_t | +Diagnostic short 1 | +
| diagSh2 | +int16_t | +Diagnostic short 2 | +
| diagSh3 | +int16_t | +Diagnostic short 3 | +
Data used in the navigation algorithm.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| u_m | +float | +m/s | +Measured Airspeed prior to the nav filter | +
| phi_c | +float | ++ | +Commanded Roll | +
| theta_c | +float | ++ | +Commanded Pitch | +
| psiDot_c | +float | ++ | +Commanded Turn rate | +
| ay_body | +float | ++ | +Y component of the body acceleration | +
| totalDist | +float | ++ | +Total Distance to Run on this leg of Navigation | +
| dist2Go | +float | ++ | +Remaining distance to Run on this leg of Navigation | +
| fromWP | +uint8_t | ++ | +Origin WP | +
| toWP | +uint8_t | ++ | +Destination WP | +
| h_c | +uint16_t | +dm | +Commanded altitude | +
Configurable data log probes to be used inside Simulink
+| Field Name | +Type | +Description | +
|---|---|---|
| fl_1 | +float | +Log value 1 | +
| fl_2 | +float | +Log value 2 | +
| fl_3 | +float | +Log value 3 | +
| fl_4 | +float | +Log value 4 | +
| fl_5 | +float | +Log value 5 | +
| fl_6 | +float | +Log value 6 | +
Pilot console PWM messges.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| year | +uint8_t | ++ | +Year reported by Gps | +
| month | +uint8_t | ++ | +Month reported by Gps | +
| day | +uint8_t | ++ | +Day reported by Gps | +
| hour | +uint8_t | ++ | +Hour reported by Gps | +
| min | +uint8_t | ++ | +Min reported by Gps | +
| sec | +uint8_t | ++ | +Sec reported by Gps | +
| clockStat | +uint8_t | ++ | +Clock Status. See table 47 page 211 OEMStar Manual | +
| visSat | +uint8_t | ++ | +Visible satellites reported by Gps | +
| useSat | +uint8_t | ++ | +Used satellites in Solution | +
| GppGl | +uint8_t | ++ | +GPS+GLONASS satellites in Solution | +
| sigUsedMask | +uint8_t | ++ | +GPS and GLONASS usage mask (bit 0 GPS_used? bit_4 GLONASS_used?) | +
| percentUsed | +uint8_t | ++ % + | +Percent used GPS | +
Mid Level commands sent from the GS to the autopilot. These are only sent when being operated in mid-level commands mode from the ground.
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| target | +uint8_t | ++ | +The system setting the commands | +
| hCommand | +float | +m | +Commanded Altitude | +
| uCommand | +float | +m/s | +Commanded Airspeed | +
| rCommand | +float | +rad/s | +Commanded Turnrate | +
This message sets the control surfaces for selective passthrough mode.
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| target | +uint8_t | ++ + + | +The system setting the commands | +
| bitfieldPt | +uint16_t | ++ CONTROL_SURFACE_FLAG + | +Bitfield containing the passthrough configuration, see CONTROL_SURFACE_FLAG ENUM. | +
Orders generated to the SLUGS camera mount.
+| Field Name | +Type | +Description | +
|---|---|---|
| target | +uint8_t | +The system reporting the action | +
| pan | +int8_t | +Order the mount to pan: -1 left, 0 No pan motion, +1 right | +
| tilt | +int8_t | +Order the mount to tilt: -1 down, 0 No tilt motion, +1 up | +
| zoom | +int8_t | +Order the zoom values 0 to 10 | +
| moveHome | +int8_t | +Orders the camera mount to move home. The other fields are ignored when this field is set. 1: move home, 0 ignored | +
Control for surface; pending and order to origin.
+| Field Name | +Type | +Description | +
|---|---|---|
| target | +uint8_t | +The system setting the commands | +
| idSurface | +uint8_t | +ID control surface send 0: throttle 1: aileron 2: elevator 3: rudder | +
| mControl | +float | +Pending | +
| bControl | +float | +Order to origin | +
Transmits the last known position of the mobile GS to the UAV. Very relevant when Track Mobile is enabled
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| target | +uint8_t | ++ | +The system reporting the action | +
| latitude | +float | +deg | +Mobile Latitude | +
| longitude | +float | +deg | +Mobile Longitude | +
Control for camara.
+| Field Name | +Type | +Description | +
|---|---|---|
| target | +uint8_t | +The system setting the commands | +
| idOrder | +uint8_t | +ID 0: brightness 1: aperture 2: iris 3: ICR 4: backlight | +
| order | +uint8_t | +1: up/on 2: down/off 3: auto/reset/no action | +
Transmits the position of watch
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| target | +uint8_t | ++ | +The system reporting the action | +
| latitude | +float | +deg | +ISR Latitude | +
| longitude | +float | +deg | +ISR Longitude | +
| height | +float | ++ | +ISR Height | +
| option1 | +uint8_t | ++ | +Option 1 | +
| option2 | +uint8_t | ++ | +Option 2 | +
| option3 | +uint8_t | ++ | +Option 3 | +
Transmits the readings from the voltage and current sensors
+| Field Name | +Type | +Description | +
|---|---|---|
| r2Type | +uint8_t | +It is the value of reading 2: 0 - Current, 1 - Foreward Sonar, 2 - Back Sonar, 3 - RPM | +
| voltage | +uint16_t | +Voltage in uS of PWM. 0 uS = 0V, 20 uS = 21.5V | +
| reading2 | +uint16_t | +Depends on the value of r2Type (0) Current consumption in uS of PWM, 20 uS = 90Amp (1) Distance in cm (2) Distance in cm (3) Absolute value | +
Transmits the actual Pan, Tilt and Zoom values of the camera unit
+| Field Name | +Type | +Description | +
|---|---|---|
| zoom | +uint8_t | +The actual Zoom Value | +
| pan | +int16_t | +The Pan value in 10ths of degree | +
| tilt | +int16_t | +The Tilt value in 10ths of degree | +
Transmits the actual status values UAV in flight
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| target | +uint8_t | ++ | +The ID system reporting the action | +
| latitude | +float | +deg | +Latitude UAV | +
| longitude | +float | +deg | +Longitude UAV | +
| altitude | +float | +m | +Altitude UAV | +
| speed | +float | +m/s | +Speed UAV | +
| course | +float | ++ | +Course UAV | +
This contains the status of the GPS readings
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| csFails | +uint16_t | ++ | +Number of times checksum has failed | +
| gpsQuality | +uint8_t | ++ | +The quality indicator, 0=fix not available or invalid, 1=GPS fix, 2=C/A differential GPS, 6=Dead reckoning mode, 7=Manual input mode (fixed position), 8=Simulator mode, 9= WAAS a | +
| msgsType | +uint8_t | ++ | +Indicates if GN, GL or GP messages are being received | +
| posStatus | +uint8_t | ++ | +A = data valid, V = data invalid | +
| magVar | +float | +deg | +Magnetic variation | +
| magDir | +int8_t | ++ | +Magnetic variation direction E/W. Easterly variation (E) subtracts from True course and Westerly variation (W) adds to True course | +
| modeInd | +uint8_t | ++ | +Positioning system mode indicator. A - Autonomous;D-Differential; E-Estimated (dead reckoning) mode;M-Manual input; N-Data not valid | +
Transmits the diagnostics data from the Novatel OEMStar GPS
+| Field Name | +Type | +Units | +Description | +
|---|---|---|---|
| timeStatus | +uint8_t | ++ | +The Time Status. See Table 8 page 27 Novatel OEMStar Manual | +
| receiverStatus | +uint32_t | ++ | +Status Bitfield. See table 69 page 350 Novatel OEMstar Manual | +
| solStatus | +uint8_t | ++ | +solution Status. See table 44 page 197 | +
| posType | +uint8_t | ++ | +position type. See table 43 page 196 | +
| velType | +uint8_t | ++ | +velocity type. See table 43 page 196 | +
| posSolAge | +float | +s | +Age of the position solution | +
| csFails | +uint16_t | ++ | +Times the CRC has failed since boot | +
Diagnostic data Sensor MCU
+| Field Name | +Type | +Description | +
|---|---|---|
| float1 | +float | +Float field 1 | +
| float2 | +float | +Float field 2 | +
| int1 | +int16_t | +Int 16 field 1 | +
| char1 | +int8_t | +Int 8 field 1 | +
The boot message indicates that a system is starting. The onboard software version allows to keep track of onboard soft/firmware revisions. This message allows the sensor and control MCUs to communicate version numbers on startup.
+| Field Name | +Type | +Description | +
|---|---|---|
| version | +uint32_t | +The onboard software version | +
+ MAVLink Include Files: + common.xml +
+This file has protocol dialect: 0.
+The current MAVLink version is 2.3. The minor version numbers (after the dot) range from 1-255.
+Test all field types
+| Field Name | +Type | +Description | +
|---|---|---|
| c | +char | +char | +
| s | +char[10] | +string | +
| u8 | +uint8_t | +uint8_t | +
| u16 | +uint16_t | +uint16_t | +
| u32 | +uint32_t | +uint32_t | +
| u64 | +uint64_t | +uint64_t | +
| s8 | +int8_t | +int8_t | +
| s16 | +int16_t | +int16_t | +
| s32 | +int32_t | +int32_t | +
| s64 | +int64_t | +int64_t | +
| f | +float | +float | +
| d | +double | +double | +
| u8_array | +uint8_t[3] | +uint8_t_array | +
| u16_array | +uint16_t[3] | +uint16_t_array | +
| u32_array | +uint32_t[3] | +uint32_t_array | +
| u64_array | +uint64_t[3] | +uint64_t_array | +
| s8_array | +int8_t[3] | +int8_t_array | +
| s16_array | +int16_t[3] | +int16_t_array | +
| s32_array | +int32_t[3] | +int32_t_array | +
| s64_array | +int64_t[3] | +int64_t_array | +
| f_array | +float[3] | +float_array | +
| d_array | +double[3] | +double_array | +
State flags for ADS-B transponder dynamic report
+| Value | +Field Name | +Description | +
|---|---|---|
| 1 | ++ UAVIONIX_ADSB_OUT_DYNAMIC_STATE_INTENT_CHANGE + | ++ | +
| 2 | ++ UAVIONIX_ADSB_OUT_DYNAMIC_STATE_AUTOPILOT_ENABLED + | ++ | +
| 4 | ++ UAVIONIX_ADSB_OUT_DYNAMIC_STATE_NICBARO_CROSSCHECKED + | ++ | +
| 8 | ++ UAVIONIX_ADSB_OUT_DYNAMIC_STATE_ON_GROUND + | ++ | +
| 16 | ++ UAVIONIX_ADSB_OUT_DYNAMIC_STATE_IDENT + | ++ | +
Transceiver RF control flags for ADS-B transponder dynamic reports
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ UAVIONIX_ADSB_OUT_RF_SELECT_STANDBY + | ++ | +
| 1 | ++ UAVIONIX_ADSB_OUT_RF_SELECT_RX_ENABLED + | ++ | +
| 2 | ++ UAVIONIX_ADSB_OUT_RF_SELECT_TX_ENABLED + | ++ | +
Status for ADS-B transponder dynamic input
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX_NONE_0 + | ++ | +
| 1 | ++ UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX_NONE_1 + | ++ | +
| 2 | ++ UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX_2D + | ++ | +
| 3 | ++ UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX_3D + | ++ | +
| 4 | ++ UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX_DGPS + | ++ | +
| 5 | ++ UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX_RTK + | ++ | +
Status flags for ADS-B transponder dynamic output
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ UAVIONIX_ADSB_RF_HEALTH_INITIALIZING + | ++ | +
| 1 | ++ UAVIONIX_ADSB_RF_HEALTH_OK + | ++ | +
| 2 | ++ UAVIONIX_ADSB_RF_HEALTH_FAIL_TX + | ++ | +
| 16 | ++ UAVIONIX_ADSB_RF_HEALTH_FAIL_RX + | ++ | +
Definitions for aircraft size
+GPS lataral offset encoding
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_NO_DATA + | ++ | +
| 1 | ++ UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_LEFT_2M + | ++ | +
| 2 | ++ UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_LEFT_4M + | ++ | +
| 3 | ++ UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_LEFT_6M + | ++ | +
| 4 | ++ UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_RIGHT_0M + | ++ | +
| 5 | ++ UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_RIGHT_2M + | ++ | +
| 6 | ++ UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_RIGHT_4M + | ++ | +
| 7 | ++ UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_RIGHT_6M + | ++ | +
GPS longitudinal offset encoding
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LON_NO_DATA + | ++ | +
| 1 | ++ UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LON_APPLIED_BY_SENSOR + | ++ | +
Emergency status encoding
+| Value | +Field Name | +Description | +
|---|---|---|
| 0 | ++ UAVIONIX_ADSB_OUT_NO_EMERGENCY + | ++ | +
| 1 | ++ UAVIONIX_ADSB_OUT_GENERAL_EMERGENCY + | ++ | +
| 2 | ++ UAVIONIX_ADSB_OUT_LIFEGUARD_EMERGENCY + | ++ | +
| 3 | ++ UAVIONIX_ADSB_OUT_MINIMUM_FUEL_EMERGENCY + | ++ | +
| 4 | ++ UAVIONIX_ADSB_OUT_NO_COMM_EMERGENCY + | ++ | +
| 5 | ++ UAVIONIX_ADSB_OUT_UNLAWFUL_INTERFERANCE_EMERGENCY + | ++ | +
| 6 | ++ UAVIONIX_ADSB_OUT_DOWNED_AIRCRAFT_EMERGENCY + | ++ | +
| 7 | ++ UAVIONIX_ADSB_OUT_RESERVED + | ++ | +
+ + (MAVLink 2) + Static data to configure the ADS-B transponder (send within 10 sec of a POR and every 10 sec thereafter)
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| ICAO | +uint32_t | ++ | ++ + + | +Vehicle address (24 bit) | +
| callsign | +char[9] | ++ | ++ + + | +Vehicle identifier (8 characters, null terminated, valid characters are A-Z, 0-9, " " only) | +
| emitterType | +uint8_t | ++ | ++ ADSB_EMITTER_TYPE + | +Transmitting vehicle type. See ADSB_EMITTER_TYPE enum | +
| aircraftSize | +uint8_t | ++ | ++ UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE + | +Aircraft length and width encoding (table 2-35 of DO-282B) | +
| gpsOffsetLat | +uint8_t | ++ | ++ UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT + | +GPS antenna lateral offset (table 2-36 of DO-282B) | +
| gpsOffsetLon | +uint8_t | ++ | ++ UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LON + | +GPS antenna longitudinal offset from nose [if non-zero, take position (in meters) divide by 2 and add one] (table 2-37 DO-282B) | +
| stallSpeed | +uint16_t | +cm/s | ++ + + | +Aircraft stall speed in cm/s | +
| rfSelect | +uint8_t | ++ | ++ UAVIONIX_ADSB_OUT_RF_SELECT + | +ADS-B transponder reciever and transmit enable flags | +
+ + (MAVLink 2) + Dynamic data used to generate ADS-B out transponder data (send at 5Hz)
+| Field Name | +Type | +Units | +Values | +Description | +
|---|---|---|---|---|
| utcTime | +uint32_t | +s | ++ + + | +UTC time in seconds since GPS epoch (Jan 6, 1980). If unknown set to UINT32_MAX | +
| gpsLat | +int32_t | +degE7 | ++ + + | +Latitude WGS84 (deg * 1E7). If unknown set to INT32_MAX | +
| gpsLon | +int32_t | +degE7 | ++ + + | +Longitude WGS84 (deg * 1E7). If unknown set to INT32_MAX | +
| gpsAlt | +int32_t | +mm | ++ + + | +Altitude in mm (m * 1E-3) UP +ve. WGS84 altitude. If unknown set to INT32_MAX | +
| gpsFix | +uint8_t | ++ | ++ UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX + | +0-1: no fix, 2: 2D fix, 3: 3D fix, 4: DGPS, 5: RTK | +
| numSats | +uint8_t | ++ | ++ + + | +Number of satellites visible. If unknown set to UINT8_MAX | +
| baroAltMSL | +int32_t | +mbar | ++ + + | +Barometric pressure altitude relative to a standard atmosphere of 1013.2 mBar and NOT bar corrected altitude (m * 1E-3). (up +ve). If unknown set to INT32_MAX | +
| accuracyHor | +uint32_t | +mm | ++ + + | +Horizontal accuracy in mm (m * 1E-3). If unknown set to UINT32_MAX | +
| accuracyVert | +uint16_t | +cm | ++ + + | +Vertical accuracy in cm. If unknown set to UINT16_MAX | +
| accuracyVel | +uint16_t | +mm/s | ++ + + | +Velocity accuracy in mm/s (m * 1E-3). If unknown set to UINT16_MAX | +
| velVert | +int16_t | +cm/s | ++ + + | +GPS vertical speed in cm/s. If unknown set to INT16_MAX | +
| velNS | +int16_t | +cm/s | ++ + + | +North-South velocity over ground in cm/s North +ve. If unknown set to INT16_MAX | +
| VelEW | +int16_t | +cm/s | ++ + + | +East-West velocity over ground in cm/s East +ve. If unknown set to INT16_MAX | +
| emergencyStatus | +uint8_t | ++ | ++ UAVIONIX_ADSB_EMERGENCY_STATUS + | +Emergency status | +
| state | +uint16_t | ++ | ++ UAVIONIX_ADSB_OUT_DYNAMIC_STATE + | +ADS-B transponder dynamic input state flags | +
| squawk | +uint16_t | ++ | ++ + + | +Mode A code (typically 1200 [0x04B0] for VFR) | +
+ + (MAVLink 2) + Transceiver heartbeat with health report (updated every 10s)
+| Field Name | +Type | +Values | +Description | +
|---|---|---|---|
| rfHealth | +uint8_t | ++ UAVIONIX_ADSB_RF_HEALTH + | +ADS-B transponder messages | +
+ MAVLink Include Files: + common.xml +
+Available autopilot modes for ualberta uav
+| Value | +Field Name | +Description | +
|---|---|---|
| + | ++ MODE_MANUAL_DIRECT + | +Raw input pulse widts sent to output | +
| + | ++ MODE_MANUAL_SCALED + | +Inputs are normalized using calibration, the converted back to raw pulse widths for output | +
| + | ++ MODE_AUTO_PID_ATT + | +dfsdfs | +
| + | ++ MODE_AUTO_PID_VEL + | +dfsfds | +
| + | ++ MODE_AUTO_PID_POS + | +dfsdfsdfs | +
Navigation filter mode
+| Value | +Field Name | +Description | +
|---|---|---|
| + | ++ NAV_AHRS_INIT + | ++ | +
| + | ++ NAV_AHRS + | +AHRS mode | +
| + | ++ NAV_INS_GPS_INIT + | +INS/GPS initialization mode | +
| + | ++ NAV_INS_GPS + | +INS/GPS mode | +
Mode currently commanded by pilot
+| Value | +Field Name | +Description | +
|---|---|---|
| + | ++ PILOT_MANUAL + | +sdf | +
| + | ++ PILOT_AUTO + | +dfs | +
| + | ++ PILOT_ROTO + | +Rotomotion mode | +
Accelerometer and Gyro biases from the navigation filter
+| Field Name | +Type | +Description | +
|---|---|---|
| usec | +uint64_t | +Timestamp (microseconds) | +
| accel_0 | +float | +b_f[0] | +
| accel_1 | +float | +b_f[1] | +
| accel_2 | +float | +b_f[2] | +
| gyro_0 | +float | +b_f[0] | +
| gyro_1 | +float | +b_f[1] | +
| gyro_2 | +float | +b_f[2] | +
Complete set of calibration parameters for the radio
+| Field Name | +Type | +Description | +
|---|---|---|
| aileron | +uint16_t[3] | +Aileron setpoints: left, center, right | +
| elevator | +uint16_t[3] | +Elevator setpoints: nose down, center, nose up | +
| rudder | +uint16_t[3] | +Rudder setpoints: nose left, center, nose right | +
| gyro | +uint16_t[2] | +Tail gyro mode/gain setpoints: heading hold, rate mode | +
| pitch | +uint16_t[5] | +Pitch curve setpoints (every 25%) | +
| throttle | +uint16_t[5] | +Throttle curve setpoints (every 25%) | +
System status specific to ualberta uav
+| Field Name | +Type | +Description | +
|---|---|---|
| mode | +uint8_t | +System mode, see UALBERTA_AUTOPILOT_MODE ENUM | +
| nav_mode | +uint8_t | +Navigation mode, see UALBERTA_NAV_MODE ENUM | +
| pilot | +uint8_t | +Pilot mode, see UALBERTA_PILOT_MODE | +
- MAVLink Include Files: - common.xml -
-- MAVLink Include Files: - uAvionix.xml -
-- MAVLink Include Files: - icarous.xml -
-This file has protocol dialect: 2.
--
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- ACCELCAL_VEHICLE_POS_LEVEL - | -- | -
| 2 | -- ACCELCAL_VEHICLE_POS_LEFT - | -- | -
| 3 | -- ACCELCAL_VEHICLE_POS_RIGHT - | -- | -
| 4 | -- ACCELCAL_VEHICLE_POS_NOSEDOWN - | -- | -
| 5 | -- ACCELCAL_VEHICLE_POS_NOSEUP - | -- | -
| 6 | -- ACCELCAL_VEHICLE_POS_BACK - | -- | -
| 16777215 | -- ACCELCAL_VEHICLE_POS_SUCCESS - | -- | -
| 16777216 | -- ACCELCAL_VEHICLE_POS_FAILED - | -- | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 211 | -- MAV_CMD_DO_GRIPPER - | -Mission command to operate EPM gripper. | -
| - | -||
| - | -Mission Param #1 | -Gripper number (a number from 1 to max number of grippers on the vehicle). | -
| - | -Mission Param #2 | -Gripper action (0=release, 1=grab. See GRIPPER_ACTIONS enum). | -
| - | -Mission Param #3 | -Empty. | -
| - | -Mission Param #4 | -Empty. | -
| - | -Mission Param #5 | -Empty. | -
| - | -Mission Param #6 | -Empty. | -
| - | -Mission Param #7 | -Empty. | -
|
- - |
- ||
| 212 | -- MAV_CMD_DO_AUTOTUNE_ENABLE - | -Enable/disable autotune. | -
| - | -||
| - | -Mission Param #1 | -Enable (1: enable, 0:disable). | -
| - | -Mission Param #2 | -Empty. | -
| - | -Mission Param #3 | -Empty. | -
| - | -Mission Param #4 | -Empty. | -
| - | -Mission Param #5 | -Empty. | -
| - | -Mission Param #6 | -Empty. | -
| - | -Mission Param #7 | -Empty. | -
|
- - |
- ||
| 83 | -- MAV_CMD_NAV_ALTITUDE_WAIT - | -Mission command to wait for an altitude or downwards vertical speed. This is meant for high altitude balloon launches, allowing the aircraft to be idle until either an altitude is reached or a negative vertical speed is reached (indicating early balloon burst). The wiggle time is how often to wiggle the control surfaces to prevent them seizing up. | -
| - | -||
| - | -Mission Param #1 | -Altitude (m). | -
| - | -Mission Param #2 | -Descent speed (m/s). | -
| - | -Mission Param #3 | -Wiggle Time (s). | -
| - | -Mission Param #4 | -Empty. | -
| - | -Mission Param #5 | -Empty. | -
| - | -Mission Param #6 | -Empty. | -
| - | -Mission Param #7 | -Empty. | -
|
- - |
- ||
| 42000 | -- MAV_CMD_POWER_OFF_INITIATED - | -A system wide power-off event has been initiated. | -
| - | -||
| - | -Mission Param #1 | -Empty. | -
| - | -Mission Param #2 | -Empty. | -
| - | -Mission Param #3 | -Empty. | -
| - | -Mission Param #4 | -Empty. | -
| - | -Mission Param #5 | -Empty. | -
| - | -Mission Param #6 | -Empty. | -
| - | -Mission Param #7 | -Empty. | -
|
- - |
- ||
| 42001 | -- MAV_CMD_SOLO_BTN_FLY_CLICK - | -FLY button has been clicked. | -
| - | -||
| - | -Mission Param #1 | -Empty. | -
| - | -Mission Param #2 | -Empty. | -
| - | -Mission Param #3 | -Empty. | -
| - | -Mission Param #4 | -Empty. | -
| - | -Mission Param #5 | -Empty. | -
| - | -Mission Param #6 | -Empty. | -
| - | -Mission Param #7 | -Empty. | -
|
- - |
- ||
| 42002 | -- MAV_CMD_SOLO_BTN_FLY_HOLD - | -FLY button has been held for 1.5 seconds. | -
| - | -||
| - | -Mission Param #1 | -Takeoff altitude. | -
| - | -Mission Param #2 | -Empty. | -
| - | -Mission Param #3 | -Empty. | -
| - | -Mission Param #4 | -Empty. | -
| - | -Mission Param #5 | -Empty. | -
| - | -Mission Param #6 | -Empty. | -
| - | -Mission Param #7 | -Empty. | -
|
- - |
- ||
| 42003 | -- MAV_CMD_SOLO_BTN_PAUSE_CLICK - | -PAUSE button has been clicked. | -
| - | -||
| - | -Mission Param #1 | -1 if Solo is in a shot mode, 0 otherwise. | -
| - | -Mission Param #2 | -Empty. | -
| - | -Mission Param #3 | -Empty. | -
| - | -Mission Param #4 | -Empty. | -
| - | -Mission Param #5 | -Empty. | -
| - | -Mission Param #6 | -Empty. | -
| - | -Mission Param #7 | -Empty. | -
|
- - |
- ||
| 42004 | -- MAV_CMD_FIXED_MAG_CAL - | -Magnetometer calibration based on fixed position - in earth field given by inclination, declination and intensity. | -
| - | -||
| - | -Mission Param #1 | -MagDeclinationDegrees. | -
| - | -Mission Param #2 | -MagInclinationDegrees. | -
| - | -Mission Param #3 | -MagIntensityMilliGauss. | -
| - | -Mission Param #4 | -YawDegrees. | -
| - | -Mission Param #5 | -Empty. | -
| - | -Mission Param #6 | -Empty. | -
| - | -Mission Param #7 | -Empty. | -
|
- - |
- ||
| 42005 | -- MAV_CMD_FIXED_MAG_CAL_FIELD - | -Magnetometer calibration based on fixed expected field values in milliGauss. | -
| - | -||
| - | -Mission Param #1 | -FieldX. | -
| - | -Mission Param #2 | -FieldY. | -
| - | -Mission Param #3 | -FieldZ. | -
| - | -Mission Param #4 | -Empty. | -
| - | -Mission Param #5 | -Empty. | -
| - | -Mission Param #6 | -Empty. | -
| - | -Mission Param #7 | -Empty. | -
|
- - |
- ||
| 42424 | -- MAV_CMD_DO_START_MAG_CAL - | -Initiate a magnetometer calibration. | -
| - | -||
| - | -Mission Param #1 | -uint8_t bitmask of magnetometers (0 means all). | -
| - | -Mission Param #2 | -Automatically retry on failure (0=no retry, 1=retry). | -
| - | -Mission Param #3 | -Save without user input (0=require input, 1=autosave). | -
| - | -Mission Param #4 | -Delay (seconds). | -
| - | -Mission Param #5 | -Autoreboot (0=user reboot, 1=autoreboot). | -
| - | -Mission Param #6 | -Empty. | -
| - | -Mission Param #7 | -Empty. | -
|
- - |
- ||
| 42425 | -- MAV_CMD_DO_ACCEPT_MAG_CAL - | -Initiate a magnetometer calibration. | -
| - | -||
| - | -Mission Param #1 | -uint8_t bitmask of magnetometers (0 means all). | -
| - | -Mission Param #2 | -Empty. | -
| - | -Mission Param #3 | -Empty. | -
| - | -Mission Param #4 | -Empty. | -
| - | -Mission Param #5 | -Empty. | -
| - | -Mission Param #6 | -Empty. | -
| - | -Mission Param #7 | -Empty. | -
|
- - |
- ||
| 42426 | -- MAV_CMD_DO_CANCEL_MAG_CAL - | -Cancel a running magnetometer calibration. | -
| - | -||
| - | -Mission Param #1 | -uint8_t bitmask of magnetometers (0 means all). | -
| - | -Mission Param #2 | -Empty. | -
| - | -Mission Param #3 | -Empty. | -
| - | -Mission Param #4 | -Empty. | -
| - | -Mission Param #5 | -Empty. | -
| - | -Mission Param #6 | -Empty. | -
| - | -Mission Param #7 | -Empty. | -
|
- - |
- ||
| 42429 | -- MAV_CMD_ACCELCAL_VEHICLE_POS - | -Used when doing accelerometer calibration. When sent to the GCS tells it what position to put the vehicle in. When sent to the vehicle says what position the vehicle is in. | -
| - | -||
| - | -Mission Param #1 | -Position, one of the ACCELCAL_VEHICLE_POS enum values. | -
| - | -Mission Param #2 | -Empty. | -
| - | -Mission Param #3 | -Empty. | -
| - | -Mission Param #4 | -Empty. | -
| - | -Mission Param #5 | -Empty. | -
| - | -Mission Param #6 | -Empty. | -
| - | -Mission Param #7 | -Empty. | -
|
- - |
- ||
| 42428 | -- MAV_CMD_DO_SEND_BANNER - | -Reply with the version banner. | -
| - | -||
| - | -Mission Param #1 | -Empty. | -
| - | -Mission Param #2 | -Empty. | -
| - | -Mission Param #3 | -Empty. | -
| - | -Mission Param #4 | -Empty. | -
| - | -Mission Param #5 | -Empty. | -
| - | -Mission Param #6 | -Empty. | -
| - | -Mission Param #7 | -Empty. | -
|
- - |
- ||
| 42427 | -- MAV_CMD_SET_FACTORY_TEST_MODE - | -Command autopilot to get into factory test/diagnostic mode. | -
| - | -||
| - | -Mission Param #1 | -0 means get out of test mode, 1 means get into test mode. | -
| - | -Mission Param #2 | -Empty. | -
| - | -Mission Param #3 | -Empty. | -
| - | -Mission Param #4 | -Empty. | -
| - | -Mission Param #5 | -Empty. | -
| - | -Mission Param #6 | -Empty. | -
| - | -Mission Param #7 | -Empty. | -
|
- - |
- ||
| 42501 | -- MAV_CMD_GIMBAL_RESET - | -Causes the gimbal to reset and boot as if it was just powered on. | -
| - | -||
| - | -Mission Param #1 | -Empty. | -
| - | -Mission Param #2 | -Empty. | -
| - | -Mission Param #3 | -Empty. | -
| - | -Mission Param #4 | -Empty. | -
| - | -Mission Param #5 | -Empty. | -
| - | -Mission Param #6 | -Empty. | -
| - | -Mission Param #7 | -Empty. | -
|
- - |
- ||
| 42502 | -- MAV_CMD_GIMBAL_AXIS_CALIBRATION_STATUS - | -Reports progress and success or failure of gimbal axis calibration procedure. | -
| - | -||
| - | -Mission Param #1 | -Gimbal axis we're reporting calibration progress for. | -
| - | -Mission Param #2 | -Current calibration progress for this axis, 0x64=100%. | -
| - | -Mission Param #3 | -Status of the calibration. | -
| - | -Mission Param #4 | -Empty. | -
| - | -Mission Param #5 | -Empty. | -
| - | -Mission Param #6 | -Empty. | -
| - | -Mission Param #7 | -Empty. | -
|
- - |
- ||
| 42503 | -- MAV_CMD_GIMBAL_REQUEST_AXIS_CALIBRATION - | -Starts commutation calibration on the gimbal. | -
| - | -||
| - | -Mission Param #1 | -Empty. | -
| - | -Mission Param #2 | -Empty. | -
| - | -Mission Param #3 | -Empty. | -
| - | -Mission Param #4 | -Empty. | -
| - | -Mission Param #5 | -Empty. | -
| - | -Mission Param #6 | -Empty. | -
| - | -Mission Param #7 | -Empty. | -
|
- - |
- ||
| 42505 | -- MAV_CMD_GIMBAL_FULL_RESET - | -Erases gimbal application and parameters. | -
| - | -||
| - | -Mission Param #1 | -Magic number. | -
| - | -Mission Param #2 | -Magic number. | -
| - | -Mission Param #3 | -Magic number. | -
| - | -Mission Param #4 | -Magic number. | -
| - | -Mission Param #5 | -Magic number. | -
| - | -Mission Param #6 | -Magic number. | -
| - | -Mission Param #7 | -Magic number. | -
|
- - |
- ||
| 42600 | -- MAV_CMD_DO_WINCH - | -Command to operate winch. | -
| - | -||
| - | -Mission Param #1 | -Winch number (0 for the default winch, otherwise a number from 1 to max number of winches on the vehicle). | -
| - | -Mission Param #2 | -Action (0=relax, 1=relative length control, 2=rate control. See WINCH_ACTIONS enum.). | -
| - | -Mission Param #3 | -Release length (cable distance to unwind in meters, negative numbers to wind in cable). | -
| - | -Mission Param #4 | -Release rate (meters/second). | -
| - | -Mission Param #5 | -Empty. | -
| - | -Mission Param #6 | -Empty. | -
| - | -Mission Param #7 | -Empty. | -
|
- - |
- ||
| 42650 | -- MAV_CMD_FLASH_BOOTLOADER - | -Update the bootloader | -
| - | -||
| - | -Mission Param #1 | -Empty | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Magic number - set to 290876 to actually flash | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- LIMITS_INIT - | -Pre-initialization. | -
| 1 | -- LIMITS_DISABLED - | -Disabled. | -
| 2 | -- LIMITS_ENABLED - | -Checking limits. | -
| 3 | -- LIMITS_TRIGGERED - | -A limit has been breached. | -
| 4 | -- LIMITS_RECOVERING - | -Taking action e.g. Return/RTL. | -
| 5 | -- LIMITS_RECOVERED - | -We're no longer in breach of a limit. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- LIMIT_GPSLOCK - | -Pre-initialization. | -
| 2 | -- LIMIT_GEOFENCE - | -Disabled. | -
| 4 | -- LIMIT_ALTITUDE - | -Checking limits. | -
Flags in RALLY_POINT message.
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- FAVORABLE_WIND - | -Flag set when requiring favorable winds for landing. | -
| 2 | -- LAND_IMMEDIATELY - | -Flag set when plane is to immediately descend to break altitude and land without GCS intervention. Flag not set when plane is to loiter at Rally point until commanded to land. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- PARACHUTE_DISABLE - | -Disable parachute release. | -
| 1 | -- PARACHUTE_ENABLE - | -Enable parachute release. | -
| 2 | -- PARACHUTE_RELEASE - | -Release parachute. | -
Gripper actions.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GRIPPER_ACTION_RELEASE - | -Gripper release cargo. | -
| 1 | -- GRIPPER_ACTION_GRAB - | -Gripper grab onto cargo. | -
Winch actions.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- WINCH_RELAXED - | -Relax winch. | -
| 1 | -- WINCH_RELATIVE_LENGTH_CONTROL - | -Winch unwinds or winds specified length of cable optionally using specified rate. | -
| 2 | -- WINCH_RATE_CONTROL - | -Winch unwinds or winds cable at specified rate in meters/seconds. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- CAMERA_STATUS_TYPE_HEARTBEAT - | -Camera heartbeat, announce camera component ID at 1Hz. | -
| 1 | -- CAMERA_STATUS_TYPE_TRIGGER - | -Camera image triggered. | -
| 2 | -- CAMERA_STATUS_TYPE_DISCONNECT - | -Camera connection lost. | -
| 3 | -- CAMERA_STATUS_TYPE_ERROR - | -Camera unknown error. | -
| 4 | -- CAMERA_STATUS_TYPE_LOWBATT - | -Camera battery low. Parameter p1 shows reported voltage. | -
| 5 | -- CAMERA_STATUS_TYPE_LOWSTORE - | -Camera storage low. Parameter p1 shows reported shots remaining. | -
| 6 | -- CAMERA_STATUS_TYPE_LOWSTOREV - | -Camera storage low. Parameter p1 shows reported video minutes remaining. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- CAMERA_FEEDBACK_PHOTO - | -Shooting photos, not video. | -
| 1 | -- CAMERA_FEEDBACK_VIDEO - | -Shooting video, not stills. | -
| 2 | -- CAMERA_FEEDBACK_BADEXPOSURE - | -Unable to achieve requested exposure (e.g. shutter speed too low). | -
| 3 | -- CAMERA_FEEDBACK_CLOSEDLOOP - | -Closed loop feedback from camera, we know for sure it has successfully taken a picture. | -
| 4 | -- CAMERA_FEEDBACK_OPENLOOP - | -Open loop camera, an image trigger has been requested but we can't know for sure it has successfully taken a picture. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_MODE_GIMBAL_UNINITIALIZED - | -Gimbal is powered on but has not started initializing yet. | -
| 1 | -- MAV_MODE_GIMBAL_CALIBRATING_PITCH - | -Gimbal is currently running calibration on the pitch axis. | -
| 2 | -- MAV_MODE_GIMBAL_CALIBRATING_ROLL - | -Gimbal is currently running calibration on the roll axis. | -
| 3 | -- MAV_MODE_GIMBAL_CALIBRATING_YAW - | -Gimbal is currently running calibration on the yaw axis. | -
| 4 | -- MAV_MODE_GIMBAL_INITIALIZED - | -Gimbal has finished calibrating and initializing, but is relaxed pending reception of first rate command from copter. | -
| 5 | -- MAV_MODE_GIMBAL_ACTIVE - | -Gimbal is actively stabilizing. | -
| 6 | -- MAV_MODE_GIMBAL_RATE_CMD_TIMEOUT - | -Gimbal is relaxed because it missed more than 10 expected rate command messages in a row. Gimbal will move back to active mode when it receives a new rate command. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GIMBAL_AXIS_YAW - | -Gimbal yaw axis. | -
| 1 | -- GIMBAL_AXIS_PITCH - | -Gimbal pitch axis. | -
| 2 | -- GIMBAL_AXIS_ROLL - | -Gimbal roll axis. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GIMBAL_AXIS_CALIBRATION_STATUS_IN_PROGRESS - | -Axis calibration is in progress. | -
| 1 | -- GIMBAL_AXIS_CALIBRATION_STATUS_SUCCEEDED - | -Axis calibration succeeded. | -
| 2 | -- GIMBAL_AXIS_CALIBRATION_STATUS_FAILED - | -Axis calibration failed. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GIMBAL_AXIS_CALIBRATION_REQUIRED_UNKNOWN - | -Whether or not this axis requires calibration is unknown at this time. | -
| 1 | -- GIMBAL_AXIS_CALIBRATION_REQUIRED_TRUE - | -This axis requires calibration. | -
| 2 | -- GIMBAL_AXIS_CALIBRATION_REQUIRED_FALSE - | -This axis does not require calibration. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GOPRO_HEARTBEAT_STATUS_DISCONNECTED - | -No GoPro connected. | -
| 1 | -- GOPRO_HEARTBEAT_STATUS_INCOMPATIBLE - | -The detected GoPro is not HeroBus compatible. | -
| 2 | -- GOPRO_HEARTBEAT_STATUS_CONNECTED - | -A HeroBus compatible GoPro is connected. | -
| 3 | -- GOPRO_HEARTBEAT_STATUS_ERROR - | -An unrecoverable error was encountered with the connected GoPro, it may require a power cycle. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- GOPRO_FLAG_RECORDING - | -GoPro is currently recording. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GOPRO_REQUEST_SUCCESS - | -The write message with ID indicated succeeded. | -
| 1 | -- GOPRO_REQUEST_FAILED - | -The write message with ID indicated failed. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GOPRO_COMMAND_POWER - | -- (Get/Set). - | -
| 1 | -- GOPRO_COMMAND_CAPTURE_MODE - | -- (Get/Set). - | -
| 2 | -- GOPRO_COMMAND_SHUTTER - | -- (___/Set). - | -
| 3 | -- GOPRO_COMMAND_BATTERY - | -- (Get/___). - | -
| 4 | -- GOPRO_COMMAND_MODEL - | -- (Get/___). - | -
| 5 | -- GOPRO_COMMAND_VIDEO_SETTINGS - | -- (Get/Set). - | -
| 6 | -- GOPRO_COMMAND_LOW_LIGHT - | -- (Get/Set). - | -
| 7 | -- GOPRO_COMMAND_PHOTO_RESOLUTION - | -- (Get/Set). - | -
| 8 | -- GOPRO_COMMAND_PHOTO_BURST_RATE - | -- (Get/Set). - | -
| 9 | -- GOPRO_COMMAND_PROTUNE - | -- (Get/Set). - | -
| 10 | -- GOPRO_COMMAND_PROTUNE_WHITE_BALANCE - | -- (Get/Set) Hero 3+ Only. - | -
| 11 | -- GOPRO_COMMAND_PROTUNE_COLOUR - | -- (Get/Set) Hero 3+ Only. - | -
| 12 | -- GOPRO_COMMAND_PROTUNE_GAIN - | -- (Get/Set) Hero 3+ Only. - | -
| 13 | -- GOPRO_COMMAND_PROTUNE_SHARPNESS - | -- (Get/Set) Hero 3+ Only. - | -
| 14 | -- GOPRO_COMMAND_PROTUNE_EXPOSURE - | -- (Get/Set) Hero 3+ Only. - | -
| 15 | -- GOPRO_COMMAND_TIME - | -- (Get/Set). - | -
| 16 | -- GOPRO_COMMAND_CHARGING - | -- (Get/Set). - | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GOPRO_CAPTURE_MODE_VIDEO - | -Video mode. | -
| 1 | -- GOPRO_CAPTURE_MODE_PHOTO - | -Photo mode. | -
| 2 | -- GOPRO_CAPTURE_MODE_BURST - | -Burst mode, Hero 3+ only. | -
| 3 | -- GOPRO_CAPTURE_MODE_TIME_LAPSE - | -Time lapse mode, Hero 3+ only. | -
| 4 | -- GOPRO_CAPTURE_MODE_MULTI_SHOT - | -Multi shot mode, Hero 4 only. | -
| 5 | -- GOPRO_CAPTURE_MODE_PLAYBACK - | -Playback mode, Hero 4 only, silver only except when LCD or HDMI is connected to black. | -
| 6 | -- GOPRO_CAPTURE_MODE_SETUP - | -Playback mode, Hero 4 only. | -
| 255 | -- GOPRO_CAPTURE_MODE_UNKNOWN - | -Mode not yet known. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GOPRO_RESOLUTION_480p - | -848 x 480 (480p). | -
| 1 | -- GOPRO_RESOLUTION_720p - | -1280 x 720 (720p). | -
| 2 | -- GOPRO_RESOLUTION_960p - | -1280 x 960 (960p). | -
| 3 | -- GOPRO_RESOLUTION_1080p - | -1920 x 1080 (1080p). | -
| 4 | -- GOPRO_RESOLUTION_1440p - | -1920 x 1440 (1440p). | -
| 5 | -- GOPRO_RESOLUTION_2_7k_17_9 - | -2704 x 1440 (2.7k-17:9). | -
| 6 | -- GOPRO_RESOLUTION_2_7k_16_9 - | -2704 x 1524 (2.7k-16:9). | -
| 7 | -- GOPRO_RESOLUTION_2_7k_4_3 - | -2704 x 2028 (2.7k-4:3). | -
| 8 | -- GOPRO_RESOLUTION_4k_16_9 - | -3840 x 2160 (4k-16:9). | -
| 9 | -- GOPRO_RESOLUTION_4k_17_9 - | -4096 x 2160 (4k-17:9). | -
| 10 | -- GOPRO_RESOLUTION_720p_SUPERVIEW - | -1280 x 720 (720p-SuperView). | -
| 11 | -- GOPRO_RESOLUTION_1080p_SUPERVIEW - | -1920 x 1080 (1080p-SuperView). | -
| 12 | -- GOPRO_RESOLUTION_2_7k_SUPERVIEW - | -2704 x 1520 (2.7k-SuperView). | -
| 13 | -- GOPRO_RESOLUTION_4k_SUPERVIEW - | -3840 x 2160 (4k-SuperView). | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GOPRO_FRAME_RATE_12 - | -12 FPS. | -
| 1 | -- GOPRO_FRAME_RATE_15 - | -15 FPS. | -
| 2 | -- GOPRO_FRAME_RATE_24 - | -24 FPS. | -
| 3 | -- GOPRO_FRAME_RATE_25 - | -25 FPS. | -
| 4 | -- GOPRO_FRAME_RATE_30 - | -30 FPS. | -
| 5 | -- GOPRO_FRAME_RATE_48 - | -48 FPS. | -
| 6 | -- GOPRO_FRAME_RATE_50 - | -50 FPS. | -
| 7 | -- GOPRO_FRAME_RATE_60 - | -60 FPS. | -
| 8 | -- GOPRO_FRAME_RATE_80 - | -80 FPS. | -
| 9 | -- GOPRO_FRAME_RATE_90 - | -90 FPS. | -
| 10 | -- GOPRO_FRAME_RATE_100 - | -100 FPS. | -
| 11 | -- GOPRO_FRAME_RATE_120 - | -120 FPS. | -
| 12 | -- GOPRO_FRAME_RATE_240 - | -240 FPS. | -
| 13 | -- GOPRO_FRAME_RATE_12_5 - | -12.5 FPS. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GOPRO_FIELD_OF_VIEW_WIDE - | -0x00: Wide. | -
| 1 | -- GOPRO_FIELD_OF_VIEW_MEDIUM - | -0x01: Medium. | -
| 2 | -- GOPRO_FIELD_OF_VIEW_NARROW - | -0x02: Narrow. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- GOPRO_VIDEO_SETTINGS_TV_MODE - | -0=NTSC, 1=PAL. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GOPRO_PHOTO_RESOLUTION_5MP_MEDIUM - | -5MP Medium. | -
| 1 | -- GOPRO_PHOTO_RESOLUTION_7MP_MEDIUM - | -7MP Medium. | -
| 2 | -- GOPRO_PHOTO_RESOLUTION_7MP_WIDE - | -7MP Wide. | -
| 3 | -- GOPRO_PHOTO_RESOLUTION_10MP_WIDE - | -10MP Wide. | -
| 4 | -- GOPRO_PHOTO_RESOLUTION_12MP_WIDE - | -12MP Wide. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GOPRO_PROTUNE_WHITE_BALANCE_AUTO - | -Auto. | -
| 1 | -- GOPRO_PROTUNE_WHITE_BALANCE_3000K - | -3000K. | -
| 2 | -- GOPRO_PROTUNE_WHITE_BALANCE_5500K - | -5500K. | -
| 3 | -- GOPRO_PROTUNE_WHITE_BALANCE_6500K - | -6500K. | -
| 4 | -- GOPRO_PROTUNE_WHITE_BALANCE_RAW - | -Camera Raw. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GOPRO_PROTUNE_COLOUR_STANDARD - | -Auto. | -
| 1 | -- GOPRO_PROTUNE_COLOUR_NEUTRAL - | -Neutral. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GOPRO_PROTUNE_GAIN_400 - | -ISO 400. | -
| 1 | -- GOPRO_PROTUNE_GAIN_800 - | -ISO 800 (Only Hero 4). | -
| 2 | -- GOPRO_PROTUNE_GAIN_1600 - | -ISO 1600. | -
| 3 | -- GOPRO_PROTUNE_GAIN_3200 - | -ISO 3200 (Only Hero 4). | -
| 4 | -- GOPRO_PROTUNE_GAIN_6400 - | -ISO 6400. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GOPRO_PROTUNE_SHARPNESS_LOW - | -Low Sharpness. | -
| 1 | -- GOPRO_PROTUNE_SHARPNESS_MEDIUM - | -Medium Sharpness. | -
| 2 | -- GOPRO_PROTUNE_SHARPNESS_HIGH - | -High Sharpness. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GOPRO_PROTUNE_EXPOSURE_NEG_5_0 - | -- -5.0 EV (Hero 3+ Only). - | -
| 1 | -- GOPRO_PROTUNE_EXPOSURE_NEG_4_5 - | -- -4.5 EV (Hero 3+ Only). - | -
| 2 | -- GOPRO_PROTUNE_EXPOSURE_NEG_4_0 - | -- -4.0 EV (Hero 3+ Only). - | -
| 3 | -- GOPRO_PROTUNE_EXPOSURE_NEG_3_5 - | -- -3.5 EV (Hero 3+ Only). - | -
| 4 | -- GOPRO_PROTUNE_EXPOSURE_NEG_3_0 - | -- -3.0 EV (Hero 3+ Only). - | -
| 5 | -- GOPRO_PROTUNE_EXPOSURE_NEG_2_5 - | -- -2.5 EV (Hero 3+ Only). - | -
| 6 | -- GOPRO_PROTUNE_EXPOSURE_NEG_2_0 - | -- -2.0 EV. - | -
| 7 | -- GOPRO_PROTUNE_EXPOSURE_NEG_1_5 - | -- -1.5 EV. - | -
| 8 | -- GOPRO_PROTUNE_EXPOSURE_NEG_1_0 - | -- -1.0 EV. - | -
| 9 | -- GOPRO_PROTUNE_EXPOSURE_NEG_0_5 - | -- -0.5 EV. - | -
| 10 | -- GOPRO_PROTUNE_EXPOSURE_ZERO - | -0.0 EV. | -
| 11 | -- GOPRO_PROTUNE_EXPOSURE_POS_0_5 - | -- +0.5 EV. - | -
| 12 | -- GOPRO_PROTUNE_EXPOSURE_POS_1_0 - | -- +1.0 EV. - | -
| 13 | -- GOPRO_PROTUNE_EXPOSURE_POS_1_5 - | -- +1.5 EV. - | -
| 14 | -- GOPRO_PROTUNE_EXPOSURE_POS_2_0 - | -- +2.0 EV. - | -
| 15 | -- GOPRO_PROTUNE_EXPOSURE_POS_2_5 - | -- +2.5 EV (Hero 3+ Only). - | -
| 16 | -- GOPRO_PROTUNE_EXPOSURE_POS_3_0 - | -- +3.0 EV (Hero 3+ Only). - | -
| 17 | -- GOPRO_PROTUNE_EXPOSURE_POS_3_5 - | -- +3.5 EV (Hero 3+ Only). - | -
| 18 | -- GOPRO_PROTUNE_EXPOSURE_POS_4_0 - | -- +4.0 EV (Hero 3+ Only). - | -
| 19 | -- GOPRO_PROTUNE_EXPOSURE_POS_4_5 - | -- +4.5 EV (Hero 3+ Only). - | -
| 20 | -- GOPRO_PROTUNE_EXPOSURE_POS_5_0 - | -- +5.0 EV (Hero 3+ Only). - | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GOPRO_CHARGING_DISABLED - | -Charging disabled. | -
| 1 | -- GOPRO_CHARGING_ENABLED - | -Charging enabled. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GOPRO_MODEL_UNKNOWN - | -Unknown gopro model. | -
| 1 | -- GOPRO_MODEL_HERO_3_PLUS_SILVER - | -Hero 3+ Silver (HeroBus not supported by GoPro). | -
| 2 | -- GOPRO_MODEL_HERO_3_PLUS_BLACK - | -Hero 3+ Black. | -
| 3 | -- GOPRO_MODEL_HERO_4_SILVER - | -Hero 4 Silver. | -
| 4 | -- GOPRO_MODEL_HERO_4_BLACK - | -Hero 4 Black. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GOPRO_BURST_RATE_3_IN_1_SECOND - | -3 Shots / 1 Second. | -
| 1 | -- GOPRO_BURST_RATE_5_IN_1_SECOND - | -5 Shots / 1 Second. | -
| 2 | -- GOPRO_BURST_RATE_10_IN_1_SECOND - | -10 Shots / 1 Second. | -
| 3 | -- GOPRO_BURST_RATE_10_IN_2_SECOND - | -10 Shots / 2 Second. | -
| 4 | -- GOPRO_BURST_RATE_10_IN_3_SECOND - | -10 Shots / 3 Second (Hero 4 Only). | -
| 5 | -- GOPRO_BURST_RATE_30_IN_1_SECOND - | -30 Shots / 1 Second. | -
| 6 | -- GOPRO_BURST_RATE_30_IN_2_SECOND - | -30 Shots / 2 Second. | -
| 7 | -- GOPRO_BURST_RATE_30_IN_3_SECOND - | -30 Shots / 3 Second. | -
| 8 | -- GOPRO_BURST_RATE_30_IN_6_SECOND - | -30 Shots / 6 Second. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- LED_CONTROL_PATTERN_OFF - | -LED patterns off (return control to regular vehicle control). | -
| 1 | -- LED_CONTROL_PATTERN_FIRMWAREUPDATE - | -LEDs show pattern during firmware update. | -
| 255 | -- LED_CONTROL_PATTERN_CUSTOM - | -Custom Pattern using custom bytes fields. | -
Flags in EKF_STATUS message.
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- EKF_ATTITUDE - | -Set if EKF's attitude estimate is good. | -
| 2 | -- EKF_VELOCITY_HORIZ - | -Set if EKF's horizontal velocity estimate is good. | -
| 4 | -- EKF_VELOCITY_VERT - | -Set if EKF's vertical velocity estimate is good. | -
| 8 | -- EKF_POS_HORIZ_REL - | -Set if EKF's horizontal position (relative) estimate is good. | -
| 16 | -- EKF_POS_HORIZ_ABS - | -Set if EKF's horizontal position (absolute) estimate is good. | -
| 32 | -- EKF_POS_VERT_ABS - | -Set if EKF's vertical position (absolute) estimate is good. | -
| 64 | -- EKF_POS_VERT_AGL - | -Set if EKF's vertical position (above ground) estimate is good. | -
| 128 | -- EKF_CONST_POS_MODE - | -EKF is in constant position mode and does not know it's absolute or relative position. | -
| 256 | -- EKF_PRED_POS_HORIZ_REL - | -Set if EKF's predicted horizontal position (relative) estimate is good. | -
| 512 | -- EKF_PRED_POS_HORIZ_ABS - | -Set if EKF's predicted horizontal position (absolute) estimate is good. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- PID_TUNING_ROLL - | -- | -
| 2 | -- PID_TUNING_PITCH - | -- | -
| 3 | -- PID_TUNING_YAW - | -- | -
| 4 | -- PID_TUNING_ACCZ - | -- | -
| 5 | -- PID_TUNING_STEER - | -- | -
| 6 | -- PID_TUNING_LANDING - | -- | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAG_CAL_NOT_STARTED - | -- | -
| 1 | -- MAG_CAL_WAITING_TO_START - | -- | -
| 2 | -- MAG_CAL_RUNNING_STEP_ONE - | -- | -
| 3 | -- MAG_CAL_RUNNING_STEP_TWO - | -- | -
| 4 | -- MAG_CAL_SUCCESS - | -- | -
| 5 | -- MAG_CAL_FAILED - | -- | -
| 6 | -- MAG_CAL_BAD_ORIENTATION - | -- | -
Special ACK block numbers control activation of dataflash log streaming.
-| Value | -Field Name | -Description | -
|---|---|---|
| 2147483645 | -- MAV_REMOTE_LOG_DATA_BLOCK_STOP - | -UAV to stop sending DataFlash blocks. | -
| 2147483646 | -- MAV_REMOTE_LOG_DATA_BLOCK_START - | -UAV to start sending DataFlash blocks. | -
Possible remote log data block statuses.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_REMOTE_LOG_DATA_BLOCK_NACK - | -This block has NOT been received. | -
| 1 | -- MAV_REMOTE_LOG_DATA_BLOCK_ACK - | -This block has been received. | -
Bus types for device operations.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- DEVICE_OP_BUSTYPE_I2C - | -I2C Device operation. | -
| 1 | -- DEVICE_OP_BUSTYPE_SPI - | -SPI Device operation. | -
Deepstall flight stage.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- DEEPSTALL_STAGE_FLY_TO_LANDING - | -Flying to the landing point. | -
| 1 | -- DEEPSTALL_STAGE_ESTIMATE_WIND - | -Building an estimate of the wind. | -
| 2 | -- DEEPSTALL_STAGE_WAIT_FOR_BREAKOUT - | -Waiting to breakout of the loiter to fly the approach. | -
| 3 | -- DEEPSTALL_STAGE_FLY_TO_ARC - | -Flying to the first arc point to turn around to the landing point. | -
| 4 | -- DEEPSTALL_STAGE_ARC - | -Turning around back to the deepstall landing point. | -
| 5 | -- DEEPSTALL_STAGE_APPROACH - | -Approaching the landing point. | -
| 6 | -- DEEPSTALL_STAGE_LAND - | -Stalling and steering towards the land point. | -
A mapping of plane flight modes for custom_mode field of heartbeat.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- PLANE_MODE_MANUAL - | -- | -
| 1 | -- PLANE_MODE_CIRCLE - | -- | -
| 2 | -- PLANE_MODE_STABILIZE - | -- | -
| 3 | -- PLANE_MODE_TRAINING - | -- | -
| 4 | -- PLANE_MODE_ACRO - | -- | -
| 5 | -- PLANE_MODE_FLY_BY_WIRE_A - | -- | -
| 6 | -- PLANE_MODE_FLY_BY_WIRE_B - | -- | -
| 7 | -- PLANE_MODE_CRUISE - | -- | -
| 8 | -- PLANE_MODE_AUTOTUNE - | -- | -
| 10 | -- PLANE_MODE_AUTO - | -- | -
| 11 | -- PLANE_MODE_RTL - | -- | -
| 12 | -- PLANE_MODE_LOITER - | -- | -
| 14 | -- PLANE_MODE_AVOID_ADSB - | -- | -
| 15 | -- PLANE_MODE_GUIDED - | -- | -
| 16 | -- PLANE_MODE_INITIALIZING - | -- | -
| 17 | -- PLANE_MODE_QSTABILIZE - | -- | -
| 18 | -- PLANE_MODE_QHOVER - | -- | -
| 19 | -- PLANE_MODE_QLOITER - | -- | -
| 20 | -- PLANE_MODE_QLAND - | -- | -
| 21 | -- PLANE_MODE_QRTL - | -- | -
A mapping of copter flight modes for custom_mode field of heartbeat.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- COPTER_MODE_STABILIZE - | -- | -
| 1 | -- COPTER_MODE_ACRO - | -- | -
| 2 | -- COPTER_MODE_ALT_HOLD - | -- | -
| 3 | -- COPTER_MODE_AUTO - | -- | -
| 4 | -- COPTER_MODE_GUIDED - | -- | -
| 5 | -- COPTER_MODE_LOITER - | -- | -
| 6 | -- COPTER_MODE_RTL - | -- | -
| 7 | -- COPTER_MODE_CIRCLE - | -- | -
| 9 | -- COPTER_MODE_LAND - | -- | -
| 11 | -- COPTER_MODE_DRIFT - | -- | -
| 13 | -- COPTER_MODE_SPORT - | -- | -
| 14 | -- COPTER_MODE_FLIP - | -- | -
| 15 | -- COPTER_MODE_AUTOTUNE - | -- | -
| 16 | -- COPTER_MODE_POSHOLD - | -- | -
| 17 | -- COPTER_MODE_BRAKE - | -- | -
| 18 | -- COPTER_MODE_THROW - | -- | -
| 19 | -- COPTER_MODE_AVOID_ADSB - | -- | -
| 20 | -- COPTER_MODE_GUIDED_NOGPS - | -- | -
| 21 | -- COPTER_MODE_SMART_RTL - | -- | -
A mapping of sub flight modes for custom_mode field of heartbeat.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- SUB_MODE_STABILIZE - | -- | -
| 1 | -- SUB_MODE_ACRO - | -- | -
| 2 | -- SUB_MODE_ALT_HOLD - | -- | -
| 3 | -- SUB_MODE_AUTO - | -- | -
| 4 | -- SUB_MODE_GUIDED - | -- | -
| 7 | -- SUB_MODE_CIRCLE - | -- | -
| 9 | -- SUB_MODE_SURFACE - | -- | -
| 16 | -- SUB_MODE_POSHOLD - | -- | -
| 19 | -- SUB_MODE_MANUAL - | -- | -
A mapping of rover flight modes for custom_mode field of heartbeat.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- ROVER_MODE_MANUAL - | -- | -
| 1 | -- ROVER_MODE_ACRO - | -- | -
| 3 | -- ROVER_MODE_STEERING - | -- | -
| 4 | -- ROVER_MODE_HOLD - | -- | -
| 5 | -- ROVER_MODE_LOITER - | -- | -
| 10 | -- ROVER_MODE_AUTO - | -- | -
| 11 | -- ROVER_MODE_RTL - | -- | -
| 12 | -- ROVER_MODE_SMART_RTL - | -- | -
| 15 | -- ROVER_MODE_GUIDED - | -- | -
| 16 | -- ROVER_MODE_INITIALIZING - | -- | -
A mapping of antenna tracker flight modes for custom_mode field of heartbeat.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- TRACKER_MODE_MANUAL - | -- | -
| 1 | -- TRACKER_MODE_STOP - | -- | -
| 2 | -- TRACKER_MODE_SCAN - | -- | -
| 3 | -- TRACKER_MODE_SERVO_TEST - | -- | -
| 10 | -- TRACKER_MODE_AUTO - | -- | -
| 16 | -- TRACKER_MODE_INITIALIZING - | -- | -
Offsets and calibrations values for hardware sensors. This makes it easier to debug the calibration process.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| mag_ofs_x | -int16_t | -- | -Magnetometer X offset. | -
| mag_ofs_y | -int16_t | -- | -Magnetometer Y offset. | -
| mag_ofs_z | -int16_t | -- | -Magnetometer Z offset. | -
| mag_declination | -float | -rad | -Magnetic declination. | -
| raw_press | -int32_t | -- | -Raw pressure from barometer. | -
| raw_temp | -int32_t | -- | -Raw temperature from barometer. | -
| gyro_cal_x | -float | -- | -Gyro X calibration. | -
| gyro_cal_y | -float | -- | -Gyro Y calibration. | -
| gyro_cal_z | -float | -- | -Gyro Z calibration. | -
| accel_cal_x | -float | -- | -Accel X calibration. | -
| accel_cal_y | -float | -- | -Accel Y calibration. | -
| accel_cal_z | -float | -- | -Accel Z calibration. | -
Set the magnetometer offsets
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID. | -
| target_component | -uint8_t | -Component ID. | -
| mag_ofs_x | -int16_t | -Magnetometer X offset. | -
| mag_ofs_y | -int16_t | -Magnetometer Y offset. | -
| mag_ofs_z | -int16_t | -Magnetometer Z offset. | -
State of APM memory.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| brkval | -uint16_t | -- | -Heap top. | -
| freemem | -uint16_t | -bytes | -Free memory. | -
| freemem32 - ** - - | -uint32_t | -bytes | -Free memory (32 bit). | -
Raw ADC output.
-| Field Name | -Type | -Description | -
|---|---|---|
| adc1 | -uint16_t | -ADC output 1. | -
| adc2 | -uint16_t | -ADC output 2. | -
| adc3 | -uint16_t | -ADC output 3. | -
| adc4 | -uint16_t | -ADC output 4. | -
| adc5 | -uint16_t | -ADC output 5. | -
| adc6 | -uint16_t | -ADC output 6. | -
Configure on-board Camera Control System.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- | -System ID. | -
| target_component | -uint8_t | -- | -Component ID. | -
| mode | -uint8_t | -- | -Mode enumeration from 1 to N //P, TV, AV, M, etc. (0 means ignore). | -
| shutter_speed | -uint16_t | -- | -Divisor number //e.g. 1000 means 1/1000 (0 means ignore). | -
| aperture | -uint8_t | -- | -F stop number x 10 //e.g. 28 means 2.8 (0 means ignore). | -
| iso | -uint8_t | -- | -ISO enumeration from 1 to N //e.g. 80, 100, 200, Etc (0 means ignore). | -
| exposure_type | -uint8_t | -- | -Exposure type enumeration from 1 to N (0 means ignore). | -
| command_id | -uint8_t | -- | -Command Identity (incremental loop: 0 to 255). //A command sent multiple times will be executed or pooled just once. | -
| engine_cut_off | -uint8_t | -ds | -Main engine cut-off time before camera trigger (0 means no cut-off). | -
| extra_param | -uint8_t | -- | -Extra parameters enumeration (0 means ignore). | -
| extra_value | -float | -- | -Correspondent value to given extra_param. | -
Control on-board Camera Control System to take shots.
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID. | -
| target_component | -uint8_t | -Component ID. | -
| session | -uint8_t | -0: stop, 1: start or keep it up //Session control e.g. show/hide lens. | -
| zoom_pos | -uint8_t | -1 to N //Zoom's absolute position (0 means ignore). | -
| zoom_step | -int8_t | -- -100 to 100 //Zooming step value to offset zoom from the current position. - | -
| focus_lock | -uint8_t | -0: unlock focus or keep unlocked, 1: lock focus or keep locked, 3: re-lock focus. | -
| shot | -uint8_t | -0: ignore, 1: shot or start filming. | -
| command_id | -uint8_t | -Command Identity (incremental loop: 0 to 255)//A command sent multiple times will be executed or pooled just once. | -
| extra_param | -uint8_t | -Extra parameters enumeration (0 means ignore). | -
| extra_value | -float | -Correspondent value to given extra_param. | -
Message to configure a camera mount, directional antenna, etc.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System ID. | -
| target_component | -uint8_t | -- - - | -Component ID. | -
| mount_mode | -uint8_t | -- MAV_MOUNT_MODE - | -Mount operating mode. | -
| stab_roll | -uint8_t | -- - - | -- (1 = yes, 0 = no). - | -
| stab_pitch | -uint8_t | -- - - | -- (1 = yes, 0 = no). - | -
| stab_yaw | -uint8_t | -- - - | -- (1 = yes, 0 = no). - | -
Message to control a camera mount, directional antenna, etc.
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID. | -
| target_component | -uint8_t | -Component ID. | -
| input_a | -int32_t | -Pitch (centi-degrees) or lat (degE7), depending on mount mode. | -
| input_b | -int32_t | -Roll (centi-degrees) or lon (degE7) depending on mount mode. | -
| input_c | -int32_t | -Yaw (centi-degrees) or alt (cm) depending on mount mode. | -
| save_position | -uint8_t | -If "1" it will save current trimmed position on EEPROM (just valid for NEUTRAL and LANDING). | -
Message with some status from APM to GCS about camera or antenna mount.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- | -System ID. | -
| target_component | -uint8_t | -- | -Component ID. | -
| pointing_a | -int32_t | -cdeg | -Pitch. | -
| pointing_b | -int32_t | -cdeg | -Roll. | -
| pointing_c | -int32_t | -cdeg | -Yaw. | -
A fence point. Used to set a point when from GCS -> MAV. Also used to return a point from MAV -> GCS.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- | -System ID. | -
| target_component | -uint8_t | -- | -Component ID. | -
| idx | -uint8_t | -- | -Point index (first point is 1, 0 is for return point). | -
| count | -uint8_t | -- | -Total number of points (for sanity checking). | -
| lat | -float | -deg | -Latitude of point. | -
| lng | -float | -deg | -Longitude of point. | -
Request a current fence point from MAV.
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID. | -
| target_component | -uint8_t | -Component ID. | -
| idx | -uint8_t | -Point index (first point is 1, 0 is for return point). | -
Status of geo-fencing. Sent in extended status stream when fencing enabled.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| breach_status | -uint8_t | -- | -- - - | -Breach status (0 if currently inside fence, 1 if outside). | -
| breach_count | -uint16_t | -- | -- - - | -Number of fence breaches. | -
| breach_type | -uint8_t | -- | -- FENCE_BREACH - | -Last breach type. | -
| breach_time | -uint32_t | -ms | -- - - | -Time (since boot) of last breach. | -
Status of DCM attitude estimator.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| omegaIx | -float | -rad/s | -X gyro drift estimate. | -
| omegaIy | -float | -rad/s | -Y gyro drift estimate. | -
| omegaIz | -float | -rad/s | -Z gyro drift estimate. | -
| accel_weight | -float | -- | -Average accel_weight. | -
| renorm_val | -float | -- | -Average renormalisation value. | -
| error_rp | -float | -- | -Average error_roll_pitch value. | -
| error_yaw | -float | -- | -Average error_yaw value. | -
Status of simulation environment, if used.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| roll | -float | -rad | -Roll angle. | -
| pitch | -float | -rad | -Pitch angle. | -
| yaw | -float | -rad | -Yaw angle. | -
| xacc | -float | -m/s/s | -X acceleration. | -
| yacc | -float | -m/s/s | -Y acceleration. | -
| zacc | -float | -m/s/s | -Z acceleration. | -
| xgyro | -float | -rad/s | -Angular speed around X axis. | -
| ygyro | -float | -rad/s | -Angular speed around Y axis. | -
| zgyro | -float | -rad/s | -Angular speed around Z axis. | -
| lat | -int32_t | -degE7 | -Latitude. | -
| lng | -int32_t | -degE7 | -Longitude. | -
Status of key hardware.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| Vcc | -uint16_t | -mV | -Board voltage. | -
| I2Cerr | -uint8_t | -- | -I2C error count. | -
Status generated by radio.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| rssi | -uint8_t | -- | -Local signal strength. | -
| remrssi | -uint8_t | -- | -Remote signal strength. | -
| txbuf | -uint8_t | -- % - | -How full the tx buffer is. | -
| noise | -uint8_t | -- | -Background noise level. | -
| remnoise | -uint8_t | -- | -Remote background noise level. | -
| rxerrors | -uint16_t | -- | -Receive errors. | -
| fixed | -uint16_t | -- | -Count of error corrected packets. | -
Status of AP_Limits. Sent in extended status stream when AP_Limits is enabled.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| limits_state | -uint8_t | -- | -- LIMITS_STATE - | -State of AP_Limits. | -
| last_trigger | -uint32_t | -ms | -- - - | -Time (since boot) of last breach. | -
| last_action | -uint32_t | -ms | -- - - | -Time (since boot) of last recovery action. | -
| last_recovery | -uint32_t | -ms | -- - - | -Time (since boot) of last successful recovery. | -
| last_clear | -uint32_t | -ms | -- - - | -Time (since boot) of last all-clear. | -
| breach_count | -uint16_t | -- | -- - - | -Number of fence breaches. | -
| mods_enabled | -uint8_t | -- | -- LIMIT_MODULE - | -AP_Limit_Module bitfield of enabled modules. | -
| mods_required | -uint8_t | -- | -- LIMIT_MODULE - | -AP_Limit_Module bitfield of required modules. | -
| mods_triggered | -uint8_t | -- | -- LIMIT_MODULE - | -AP_Limit_Module bitfield of triggered modules. | -
Wind estimation.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| direction | -float | -deg | -Wind direction (that wind is coming from). | -
| speed | -float | -m/s | -Wind speed in ground plane. | -
| speed_z | -float | -m/s | -Vertical wind speed. | -
Data packet, size 16.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| type | -uint8_t | -- | -Data type. | -
| len | -uint8_t | -bytes | -Data length. | -
| data | -uint8_t[16] | -- | -Raw data. | -
Data packet, size 32.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| type | -uint8_t | -- | -Data type. | -
| len | -uint8_t | -bytes | -Data length. | -
| data | -uint8_t[32] | -- | -Raw data. | -
Data packet, size 64.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| type | -uint8_t | -- | -Data type. | -
| len | -uint8_t | -bytes | -Data length. | -
| data | -uint8_t[64] | -- | -Raw data. | -
Data packet, size 96.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| type | -uint8_t | -- | -Data type. | -
| len | -uint8_t | -bytes | -Data length. | -
| data | -uint8_t[96] | -- | -Raw data. | -
Rangefinder reporting.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| distance | -float | -m | -Distance. | -
| voltage | -float | -V | -Raw voltage if available, zero otherwise. | -
Airspeed auto-calibration.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| vx | -float | -m/s | -GPS velocity north. | -
| vy | -float | -m/s | -GPS velocity east. | -
| vz | -float | -m/s | -GPS velocity down. | -
| diff_pressure | -float | -Pa | -Differential pressure. | -
| EAS2TAS | -float | -- | -Estimated to true airspeed ratio. | -
| ratio | -float | -- | -Airspeed ratio. | -
| state_x | -float | -- | -EKF state x. | -
| state_y | -float | -- | -EKF state y. | -
| state_z | -float | -- | -EKF state z. | -
| Pax | -float | -- | -EKF Pax. | -
| Pby | -float | -- | -EKF Pby. | -
| Pcz | -float | -- | -EKF Pcz. | -
A rally point. Used to set a point when from GCS -> MAV. Also used to return a point from MAV -> GCS.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| target_system | -uint8_t | -- | -- - - | -System ID. | -
| target_component | -uint8_t | -- | -- - - | -Component ID. | -
| idx | -uint8_t | -- | -- - - | -Point index (first point is 0). | -
| count | -uint8_t | -- | -- - - | -Total number of points (for sanity checking). | -
| lat | -int32_t | -degE7 | -- - - | -Latitude of point. | -
| lng | -int32_t | -degE7 | -- - - | -Longitude of point. | -
| alt | -int16_t | -m | -- - - | -Transit / loiter altitude relative to home. | -
| break_alt | -int16_t | -m | -- - - | -Break altitude relative to home. | -
| land_dir | -uint16_t | -cdeg | -- - - | -Heading to aim for when landing. | -
| flags | -uint8_t | -- | -- RALLY_FLAGS - | -Configuration flags. | -
Request a current rally point from MAV. MAV should respond with a RALLY_POINT message. MAV should not respond if the request is invalid.
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID. | -
| target_component | -uint8_t | -Component ID. | -
| idx | -uint8_t | -Point index (first point is 0). | -
Status of compassmot calibration.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| throttle | -uint16_t | -d% | -Throttle. | -
| current | -float | -A | -Current. | -
| interference | -uint16_t | -- % - | -Interference. | -
| CompensationX | -float | -- | -Motor Compensation X. | -
| CompensationY | -float | -- | -Motor Compensation Y. | -
| CompensationZ | -float | -- | -Motor Compensation Z. | -
Status of secondary AHRS filter if available.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| roll | -float | -rad | -Roll angle. | -
| pitch | -float | -rad | -Pitch angle. | -
| yaw | -float | -rad | -Yaw angle. | -
| altitude | -float | -m | -Altitude (MSL). | -
| lat | -int32_t | -degE7 | -Latitude. | -
| lng | -int32_t | -degE7 | -Longitude. | -
Camera Event.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_usec | -uint64_t | -us | -- - - | -Image timestamp (since UNIX epoch, according to camera clock). | -
| target_system | -uint8_t | -- | -- - - | -System ID. | -
| cam_idx | -uint8_t | -- | -- - - | -Camera ID. | -
| img_idx | -uint16_t | -- | -- - - | -Image index. | -
| event_id | -uint8_t | -- | -- CAMERA_STATUS_TYPES - | -Event type. | -
| p1 | -float | -- | -- - - | -Parameter 1 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum). | -
| p2 | -float | -- | -- - - | -Parameter 2 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum). | -
| p3 | -float | -- | -- - - | -Parameter 3 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum). | -
| p4 | -float | -- | -- - - | -Parameter 4 (meaning depends on event_id, see CAMERA_STATUS_TYPES enum). | -
Camera Capture Feedback.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_usec | -uint64_t | -us | -- - - | -Image timestamp (since UNIX epoch), as passed in by CAMERA_STATUS message (or autopilot if no CCB). | -
| target_system | -uint8_t | -- | -- - - | -System ID. | -
| cam_idx | -uint8_t | -- | -- - - | -Camera ID. | -
| img_idx | -uint16_t | -- | -- - - | -Image index. | -
| lat | -int32_t | -degE7 | -- - - | -Latitude. | -
| lng | -int32_t | -degE7 | -- - - | -Longitude. | -
| alt_msl | -float | -m | -- - - | -Altitude Absolute (AMSL). | -
| alt_rel | -float | -m | -- - - | -Altitude Relative (above HOME location). | -
| roll | -float | -deg | -- - - | -Camera Roll angle (earth frame, +-180). | -
| pitch | -float | -deg | -- - - | -Camera Pitch angle (earth frame, +-180). | -
| yaw | -float | -deg | -- - - | -Camera Yaw (earth frame, 0-360, true). | -
| foc_len | -float | -mm | -- - - | -Focal Length. | -
| flags | -uint8_t | -- | -- CAMERA_FEEDBACK_FLAGS - | -Feedback flags. | -
| completed_captures - ** - - | -uint16_t | -- | -- - - | -Completed image captures. | -
2nd Battery status
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| voltage | -uint16_t | -mV | -Voltage. | -
| current_battery | -int16_t | -cA | -Battery current, -1: autopilot does not measure the current. | -
Status of third AHRS filter if available. This is for ANU research group (Ali and Sean).
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| roll | -float | -rad | -Roll angle. | -
| pitch | -float | -rad | -Pitch angle. | -
| yaw | -float | -rad | -Yaw angle. | -
| altitude | -float | -m | -Altitude (MSL). | -
| lat | -int32_t | -degE7 | -Latitude. | -
| lng | -int32_t | -degE7 | -Longitude. | -
| v1 | -float | -- | -Test variable1. | -
| v2 | -float | -- | -Test variable2. | -
| v3 | -float | -- | -Test variable3. | -
| v4 | -float | -- | -Test variable4. | -
Request the autopilot version from the system/component.
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID. | -
| target_component | -uint8_t | -Component ID. | -
Send a block of log data to remote location.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System ID. | -
| target_component | -uint8_t | -- - - | -Component ID. | -
| seqno | -uint32_t | -- MAV_REMOTE_LOG_DATA_BLOCK_COMMANDS - | -Log data block sequence number. | -
| data | -uint8_t[200] | -- - - | -Log data block. | -
Send Status of each log block that autopilot board might have sent.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System ID. | -
| target_component | -uint8_t | -- - - | -Component ID. | -
| seqno | -uint32_t | -- - - | -Log data block sequence number. | -
| status | -uint8_t | -- MAV_REMOTE_LOG_DATA_BLOCK_STATUSES - | -Log data block status. | -
Control vehicle LEDs.
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID. | -
| target_component | -uint8_t | -Component ID. | -
| instance | -uint8_t | -Instance (LED instance to control or 255 for all LEDs). | -
| pattern | -uint8_t | -Pattern (see LED_PATTERN_ENUM). | -
| custom_len | -uint8_t | -Custom Byte Length. | -
| custom_bytes | -uint8_t[24] | -Custom Bytes. | -
Reports progress of compass calibration.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| compass_id | -uint8_t | -- | -- - - | -Compass being calibrated. | -
| cal_mask | -uint8_t | -- | -- - - | -Bitmask of compasses being calibrated. | -
| cal_status | -uint8_t | -- | -- MAG_CAL_STATUS - | -Calibration Status. | -
| attempt | -uint8_t | -- | -- - - | -Attempt number. | -
| completion_pct | -uint8_t | -- % - | -- - - | -Completion percentage. | -
| completion_mask | -uint8_t[10] | -- | -- - - | -Bitmask of sphere sections (see http://en.wikipedia.org/wiki/Geodesic_grid). | -
| direction_x | -float | -- | -- - - | -Body frame direction vector for display. | -
| direction_y | -float | -- | -- - - | -Body frame direction vector for display. | -
| direction_z | -float | -- | -- - - | -Body frame direction vector for display. | -
Reports results of completed compass calibration. Sent until MAG_CAL_ACK received.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| compass_id | -uint8_t | -- | -- - - | -Compass being calibrated. | -
| cal_mask | -uint8_t | -- | -- - - | -Bitmask of compasses being calibrated. | -
| cal_status | -uint8_t | -- | -- MAG_CAL_STATUS - | -Calibration Status. | -
| autosaved | -uint8_t | -- | -- - - | -0=requires a MAV_CMD_DO_ACCEPT_MAG_CAL, 1=saved to parameters. | -
| fitness | -float | -mgauss | -- - - | -RMS milligauss residuals. | -
| ofs_x | -float | -- | -- - - | -X offset. | -
| ofs_y | -float | -- | -- - - | -Y offset. | -
| ofs_z | -float | -- | -- - - | -Z offset. | -
| diag_x | -float | -- | -- - - | -X diagonal (matrix 11). | -
| diag_y | -float | -- | -- - - | -Y diagonal (matrix 22). | -
| diag_z | -float | -- | -- - - | -Z diagonal (matrix 33). | -
| offdiag_x | -float | -- | -- - - | -X off-diagonal (matrix 12 and 21). | -
| offdiag_y | -float | -- | -- - - | -Y off-diagonal (matrix 13 and 31). | -
| offdiag_z | -float | -- | -- - - | -Z off-diagonal (matrix 32 and 23). | -
| orientation_confidence - ** - - | -float | -- | -- - - | -Confidence in orientation (higher is better). | -
| old_orientation - ** - - | -uint8_t | -- | -- MAV_SENSOR_ORIENTATION - | -orientation before calibration. | -
| new_orientation - ** - - | -uint8_t | -- | -- MAV_SENSOR_ORIENTATION - | -orientation after calibration. | -
EKF Status message including flags and variances.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| flags | -uint16_t | -- EKF_STATUS_FLAGS - | -Flags. | -
| velocity_variance | -float | -- - - | -Velocity variance. | -
| pos_horiz_variance | -float | -- - - | -Horizontal Position variance. | -
| pos_vert_variance | -float | -- - - | -Vertical Position variance. | -
| compass_variance | -float | -- - - | -Compass variance. | -
| terrain_alt_variance | -float | -- - - | -Terrain Altitude variance. | -
| airspeed_variance - ** - - | -float | -- - - | -Airspeed variance. | -
PID tuning information.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| axis | -uint8_t | -- | -- PID_TUNING_AXIS - | -Axis. | -
| desired | -float | -deg/s | -- - - | -Desired rate. | -
| achieved | -float | -deg/s | -- - - | -Achieved rate. | -
| FF | -float | -- | -- - - | -FF component. | -
| P | -float | -- | -- - - | -P component. | -
| I | -float | -- | -- - - | -I component. | -
| D | -float | -- | -- - - | -D component. | -
Deepstall path planning.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| landing_lat | -int32_t | -degE7 | -- - - | -Landing latitude. | -
| landing_lon | -int32_t | -degE7 | -- - - | -Landing longitude. | -
| path_lat | -int32_t | -degE7 | -- - - | -Final heading start point, latitude. | -
| path_lon | -int32_t | -degE7 | -- - - | -Final heading start point, longitude. | -
| arc_entry_lat | -int32_t | -degE7 | -- - - | -Arc entry point, latitude. | -
| arc_entry_lon | -int32_t | -degE7 | -- - - | -Arc entry point, longitude. | -
| altitude | -float | -m | -- - - | -Altitude. | -
| expected_travel_distance | -float | -m | -- - - | -Distance the aircraft expects to travel during the deepstall. | -
| cross_track_error | -float | -m | -- - - | -Deepstall cross track error (only valid when in DEEPSTALL_STAGE_LAND). | -
| stage | -uint8_t | -- | -- DEEPSTALL_STAGE - | -Deepstall stage. | -
3 axis gimbal measurements.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- | -System ID. | -
| target_component | -uint8_t | -- | -Component ID. | -
| delta_time | -float | -s | -Time since last update. | -
| delta_angle_x | -float | -rad | -Delta angle X. | -
| delta_angle_y | -float | -rad | -Delta angle Y. | -
| delta_angle_z | -float | -rad | -Delta angle X. | -
| delta_velocity_x | -float | -m/s | -Delta velocity X. | -
| delta_velocity_y | -float | -m/s | -Delta velocity Y. | -
| delta_velocity_z | -float | -m/s | -Delta velocity Z. | -
| joint_roll | -float | -rad | -Joint ROLL. | -
| joint_el | -float | -rad | -Joint EL. | -
| joint_az | -float | -rad | -Joint AZ. | -
Control message for rate gimbal.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- | -System ID. | -
| target_component | -uint8_t | -- | -Component ID. | -
| demanded_rate_x | -float | -rad/s | -Demanded angular rate X. | -
| demanded_rate_y | -float | -rad/s | -Demanded angular rate Y. | -
| demanded_rate_z | -float | -rad/s | -Demanded angular rate Z. | -
100 Hz gimbal torque command telemetry.
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID. | -
| target_component | -uint8_t | -Component ID. | -
| rl_torque_cmd | -int16_t | -Roll Torque Command. | -
| el_torque_cmd | -int16_t | -Elevation Torque Command. | -
| az_torque_cmd | -int16_t | -Azimuth Torque Command. | -
Heartbeat from a HeroBus attached GoPro.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| status | -uint8_t | -- GOPRO_HEARTBEAT_STATUS - | -Status. | -
| capture_mode | -uint8_t | -- GOPRO_CAPTURE_MODE - | -Current capture mode. | -
| flags | -uint8_t | -- GOPRO_HEARTBEAT_FLAGS - | -Additional status bits. | -
Request a GOPRO_COMMAND response from the GoPro.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System ID. | -
| target_component | -uint8_t | -- - - | -Component ID. | -
| cmd_id | -uint8_t | -- GOPRO_COMMAND - | -Command ID. | -
Response from a GOPRO_COMMAND get request.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| cmd_id | -uint8_t | -- GOPRO_COMMAND - | -Command ID. | -
| status | -uint8_t | -- GOPRO_REQUEST_STATUS - | -Status. | -
| value | -uint8_t[4] | -- - - | -Value. | -
Request to set a GOPRO_COMMAND with a desired.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System ID. | -
| target_component | -uint8_t | -- - - | -Component ID. | -
| cmd_id | -uint8_t | -- GOPRO_COMMAND - | -Command ID. | -
| value | -uint8_t[4] | -- - - | -Value. | -
Response from a GOPRO_COMMAND set request.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| cmd_id | -uint8_t | -- GOPRO_COMMAND - | -Command ID. | -
| status | -uint8_t | -- GOPRO_REQUEST_STATUS - | -Status. | -
RPM sensor output.
-| Field Name | -Type | -Description | -
|---|---|---|
| rpm1 | -float | -RPM Sensor1. | -
| rpm2 | -float | -RPM Sensor2. | -
- - (MAVLink 2) - Read registers for a device.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System ID. | -
| target_component | -uint8_t | -- - - | -Component ID. | -
| request_id | -uint32_t | -- - - | -Request ID - copied to reply. | -
| bustype | -uint8_t | -- DEVICE_OP_BUSTYPE - | -The bus type. | -
| bus | -uint8_t | -- - - | -Bus number. | -
| address | -uint8_t | -- - - | -Bus address. | -
| busname | -char[40] | -- - - | -Name of device on bus (for SPI). | -
| regstart | -uint8_t | -- - - | -First register to read. | -
| count | -uint8_t | -- - - | -Count of registers to read. | -
- - (MAVLink 2) - Read registers reply.
-| Field Name | -Type | -Description | -
|---|---|---|
| request_id | -uint32_t | -Request ID - copied from request. | -
| result | -uint8_t | -0 for success, anything else is failure code. | -
| regstart | -uint8_t | -Starting register. | -
| count | -uint8_t | -Count of bytes read. | -
| data | -uint8_t[128] | -Reply data. | -
- - (MAVLink 2) - Write registers for a device.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System ID. | -
| target_component | -uint8_t | -- - - | -Component ID. | -
| request_id | -uint32_t | -- - - | -Request ID - copied to reply. | -
| bustype | -uint8_t | -- DEVICE_OP_BUSTYPE - | -The bus type. | -
| bus | -uint8_t | -- - - | -Bus number. | -
| address | -uint8_t | -- - - | -Bus address. | -
| busname | -char[40] | -- - - | -Name of device on bus (for SPI). | -
| regstart | -uint8_t | -- - - | -First register to write. | -
| count | -uint8_t | -- - - | -Count of registers to write. | -
| data | -uint8_t[128] | -- - - | -Write data. | -
- - (MAVLink 2) - Write registers reply.
-| Field Name | -Type | -Description | -
|---|---|---|
| request_id | -uint32_t | -Request ID - copied from request. | -
| result | -uint8_t | -0 for success, anything else is failure code. | -
- - (MAVLink 2) - Adaptive Controller tuning information.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| axis | -uint8_t | -- | -- PID_TUNING_AXIS - | -Axis. | -
| desired | -float | -deg/s | -- - - | -Desired rate. | -
| achieved | -float | -deg/s | -- - - | -Achieved rate. | -
| error | -float | -- | -- - - | -Error between model and vehicle. | -
| theta | -float | -- | -- - - | -Theta estimated state predictor. | -
| omega | -float | -- | -- - - | -Omega estimated state predictor. | -
| sigma | -float | -- | -- - - | -Sigma estimated state predictor. | -
| theta_dot | -float | -- | -- - - | -Theta derivative. | -
| omega_dot | -float | -- | -- - - | -Omega derivative. | -
| sigma_dot | -float | -- | -- - - | -Sigma derivative. | -
| f | -float | -- | -- - - | -Projection operator value. | -
| f_dot | -float | -- | -- - - | -Projection operator derivative. | -
| u | -float | -- | -- - - | -u adaptive controlled output command. | -
- - (MAVLink 2) - Camera vision based attitude and position deltas.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (synced to UNIX time or since system boot). | -
| time_delta_usec | -uint64_t | -us | -Time since the last reported camera frame. | -
| angle_delta | -float[3] | -- | -Defines a rotation vector in body frame that rotates the vehicle from the previous to the current orientation. | -
| position_delta | -float[3] | -m | -Change in position from previous to current frame rotated into body frame (0=forward, 1=right, 2=down). | -
| confidence | -float | -- % - | -Normalised confidence value from 0 to 100. | -
- - (MAVLink 2) - Angle of Attack and Side Slip Angle.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (since boot or Unix epoch). | -
| AOA | -float | -deg | -Angle of Attack. | -
| SSA | -float | -deg | -Side Slip Angle. | -
- - (MAVLink 2) - ESC Telemetry Data for ESCs 1 to 4, matching data sent by BLHeli ESCs
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| temperature | -uint8_t[4] | -degC | -Temperature | -
| voltage | -uint16_t[4] | -cV | -Voltage | -
| current | -uint16_t[4] | -cA | -Current | -
| totalcurrent | -uint16_t[4] | -mAh | -Total current | -
| rpm | -uint16_t[4] | -rpm | -RPM (eRPM) | -
| count | -uint16_t[4] | -- | -count of telemetry packets received (wraps at 65535) | -
- - (MAVLink 2) - ESC Telemetry Data for ESCs 5 to 8, matching data sent by BLHeli ESCs
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| temperature | -uint8_t[4] | -degC | -Temperature | -
| voltage | -uint16_t[4] | -cV | -Voltage | -
| current | -uint16_t[4] | -cA | -Current | -
| totalcurrent | -uint16_t[4] | -mAh | -Total current | -
| rpm | -uint16_t[4] | -rpm | -RPM (eRPM) | -
| count | -uint16_t[4] | -- | -count of telemetry packets received (wraps at 65535) | -
- - (MAVLink 2) - ESC Telemetry Data for ESCs 9 to 12, matching data sent by BLHeli ESCs
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| temperature | -uint8_t[4] | -degC | -Temperature | -
| voltage | -uint16_t[4] | -cV | -Voltage | -
| current | -uint16_t[4] | -cA | -Current | -
| totalcurrent | -uint16_t[4] | -mAh | -Total current | -
| rpm | -uint16_t[4] | -rpm | -RPM (eRPM) | -
| count | -uint16_t[4] | -- | -count of telemetry packets received (wraps at 65535) | -
- MAVLink Include Files: - common.xml -
-The current MAVLink version is 2.3. The minor version numbers (after the dot) range from 1-255.
-Track current version of these definitions (can be used by checking value of AUTOQUAD_MAVLINK_DEFS_VERSION_ENUM_END). Append a new entry for each published change.
-| Value | -Field Name | -Description | -
|---|---|---|
| - | -- AQ_MAVLINK_DEFS_VERSION_1 - | -- | -
Available operating modes/statuses for AutoQuad flight controller. - Bitmask up to 32 bits. Low side bits for base modes, high side for - additional active features/modifiers/constraints.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- AQ_NAV_STATUS_INIT - | -System is initializing | -
| 0x00000001 | -- AQ_NAV_STATUS_STANDBY - | -System is *armed* and standing by, with no throttle input and no autonomous mode | -
| 0x00000002 | -- AQ_NAV_STATUS_MANUAL - | -Flying (throttle input detected), assumed under manual control unless other mode bits are set | -
| 0x00000004 | -- AQ_NAV_STATUS_ALTHOLD - | -Altitude hold engaged | -
| 0x00000008 | -- AQ_NAV_STATUS_POSHOLD - | -Position hold engaged | -
| 0x00000010 | -- AQ_NAV_STATUS_GUIDED - | -Externally-guided (eg. GCS) navigation mode | -
| 0x00000020 | -- AQ_NAV_STATUS_MISSION - | -Autonomous mission execution mode | -
| 0x00000100 | -- AQ_NAV_STATUS_READY - | -Ready but *not armed* | -
| 0x00000200 | -- AQ_NAV_STATUS_CALIBRATING - | -Calibration mode active | -
| 0x00001000 | -- AQ_NAV_STATUS_NO_RC - | -No valid control input (eg. no radio link) | -
| 0x00002000 | -- AQ_NAV_STATUS_FUEL_LOW - | -Battery is low (stage 1 warning) | -
| 0x00004000 | -- AQ_NAV_STATUS_FUEL_CRITICAL - | -Battery is depleted (stage 2 warning) | -
| 0x01000000 | -- AQ_NAV_STATUS_DVH - | -Dynamic Velocity Hold is active (PH with proportional manual direction override) | -
| 0x02000000 | -- AQ_NAV_STATUS_DAO - | -ynamic Altitude Override is active (AH with proportional manual adjustment) | -
| 0x04000000 | -- AQ_NAV_STATUS_CEILING_REACHED - | -Craft is at ceiling altitude | -
| 0x08000000 | -- AQ_NAV_STATUS_CEILING - | -Ceiling altitude is set | -
| 0x10000000 | -- AQ_NAV_STATUS_HF_DYNAMIC - | -Heading-Free dynamic mode active | -
| 0x20000000 | -- AQ_NAV_STATUS_HF_LOCKED - | -Heading-Free locked mode active | -
| 0x40000000 | -- AQ_NAV_STATUS_RTH - | -Automatic Return to Home is active | -
| 0x80000000 | -- AQ_NAV_STATUS_FAILSAFE - | -System is in failsafe recovery mode | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- MAV_CMD_AQ_NAV_LEG_ORBIT - | -Orbit a waypoint. | -
| - | -||
| - | -Mission Param #1 | -Orbit radius in meters | -
| - | -Mission Param #2 | -Loiter time in decimal seconds | -
| - | -Mission Param #3 | -Maximum horizontal speed in m/s | -
| - | -Mission Param #4 | -Desired yaw angle at waypoint | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Altitude | -
|
- - |
- ||
| 2 | -- MAV_CMD_AQ_TELEMETRY - | -Start/stop AutoQuad telemetry values stream. | -
| - | -||
| - | -Mission Param #1 | -Start or stop (1 or 0) | -
| - | -Mission Param #2 | -Stream frequency in us | -
| - | -Mission Param #3 | -Dataset ID (refer to aq_mavlink.h::mavlinkCustomDataSets enum in AQ flight controller code) | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 4 | -- MAV_CMD_AQ_REQUEST_VERSION - | -Request AutoQuad firmware version number. | -
| - | -||
| - | -Mission Param #1 | -Empty | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
-
-| Value | -Field Name | -Description | -
|---|---|---|
| - | -- MAV_DATA_STREAM_PROPULSION - | -Motor/ESC telemetry data. | -
Sends up to 20 raw float values.
-| Field Name | -Type | -Description | -
|---|---|---|
| Index | -uint16_t | -Index of message | -
| value1 | -float | -value1 | -
| value2 | -float | -value2 | -
| value3 | -float | -value3 | -
| value4 | -float | -value4 | -
| value5 | -float | -value5 | -
| value6 | -float | -value6 | -
| value7 | -float | -value7 | -
| value8 | -float | -value8 | -
| value9 | -float | -value9 | -
| value10 | -float | -value10 | -
| value11 | -float | -value11 | -
| value12 | -float | -value12 | -
| value13 | -float | -value13 | -
| value14 | -float | -value14 | -
| value15 | -float | -value15 | -
| value16 | -float | -value16 | -
| value17 | -float | -value17 | -
| value18 | -float | -value18 | -
| value19 | -float | -value19 | -
| value20 | -float | -value20 | -
Sends ESC32 telemetry data for up to 4 motors. Multiple messages may be sent in sequence when system has > 4 motors. Data is described as follows: - // unsigned int state : 3; - // unsigned int vin : 12; // x 100 - // unsigned int amps : 14; // x 100 - // unsigned int rpm : 15; - // unsigned int duty : 8; // x (255/100) - // - Data Version 2 - - // unsigned int errors : 9; // Bad detects error count - // - Data Version 3 - - // unsigned int temp : 9; // (Deg C + 32) * 4 - // unsigned int errCode : 3;
-| Field Name | -Type | -Description | -
|---|---|---|
| time_boot_ms | -uint32_t | -Timestamp of the component clock since boot time in ms. | -
| seq | -uint8_t | -Sequence number of message (first set of 4 motors is #1, next 4 is #2, etc). | -
| num_motors | -uint8_t | -Total number of active ESCs/motors on the system. | -
| num_in_seq | -uint8_t | -Number of active ESCs in this sequence (1 through this many array members will be populated with data) | -
| escid | -uint8_t[4] | -ESC/Motor ID | -
| status_age | -uint16_t[4] | -Age of each ESC telemetry reading in ms compared to boot time. A value of 0xFFFF means timeout/no data. | -
| data_version | -uint8_t[4] | -Version of data structure (determines contents). | -
| data0 | -uint32_t[4] | -Data bits 1-32 for each ESC. | -
| data1 | -uint32_t[4] | -Data bits 33-64 for each ESC. | -
The current MAVLink version is 2.3. The minor version numbers (after the dot) range from 1-255.
-This file has protocol dialect: 0.
-Micro air vehicle / autopilot classes. This identifies the individual model.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_AUTOPILOT_GENERIC - | -Generic autopilot, full support for everything | -
| 1 | -- MAV_AUTOPILOT_RESERVED - | -Reserved for future use. | -
| 2 | -- MAV_AUTOPILOT_SLUGS - | -SLUGS autopilot, http://slugsuav.soe.ucsc.edu | -
| 3 | -- MAV_AUTOPILOT_ARDUPILOTMEGA - | -ArduPilotMega / ArduCopter, http://diydrones.com | -
| 4 | -- MAV_AUTOPILOT_OPENPILOT - | -OpenPilot, http://openpilot.org | -
| 5 | -- MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY - | -Generic autopilot only supporting simple waypoints | -
| 6 | -- MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY - | -Generic autopilot supporting waypoints and other simple navigation commands | -
| 7 | -- MAV_AUTOPILOT_GENERIC_MISSION_FULL - | -Generic autopilot supporting the full mission command set | -
| 8 | -- MAV_AUTOPILOT_INVALID - | -No valid autopilot, e.g. a GCS or other MAVLink component | -
| 9 | -- MAV_AUTOPILOT_PPZ - | -PPZ UAV - http://nongnu.org/paparazzi | -
| 10 | -- MAV_AUTOPILOT_UDB - | -UAV Dev Board | -
| 11 | -- MAV_AUTOPILOT_FP - | -FlexiPilot | -
| 12 | -- MAV_AUTOPILOT_PX4 - | -PX4 Autopilot - http://pixhawk.ethz.ch/px4/ | -
| 13 | -- MAV_AUTOPILOT_SMACCMPILOT - | -SMACCMPilot - http://smaccmpilot.org | -
| 14 | -- MAV_AUTOPILOT_AUTOQUAD - | -AutoQuad -- http://autoquad.org | -
| 15 | -- MAV_AUTOPILOT_ARMAZILA - | -Armazila -- http://armazila.com | -
| 16 | -- MAV_AUTOPILOT_AEROB - | -Aerob -- http://aerob.ru | -
| 17 | -- MAV_AUTOPILOT_ASLUAV - | -ASLUAV autopilot -- http://www.asl.ethz.ch | -
| 18 | -- MAV_AUTOPILOT_SMARTAP - | -SmartAP Autopilot - http://sky-drones.com | -
| 19 | -- MAV_AUTOPILOT_AIRRAILS - | -AirRails - http://uaventure.com | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_TYPE_GENERIC - | -Generic micro air vehicle. | -
| 1 | -- MAV_TYPE_FIXED_WING - | -Fixed wing aircraft. | -
| 2 | -- MAV_TYPE_QUADROTOR - | -Quadrotor | -
| 3 | -- MAV_TYPE_COAXIAL - | -Coaxial helicopter | -
| 4 | -- MAV_TYPE_HELICOPTER - | -Normal helicopter with tail rotor. | -
| 5 | -- MAV_TYPE_ANTENNA_TRACKER - | -Ground installation | -
| 6 | -- MAV_TYPE_GCS - | -Operator control unit / ground control station | -
| 7 | -- MAV_TYPE_AIRSHIP - | -Airship, controlled | -
| 8 | -- MAV_TYPE_FREE_BALLOON - | -Free balloon, uncontrolled | -
| 9 | -- MAV_TYPE_ROCKET - | -Rocket | -
| 10 | -- MAV_TYPE_GROUND_ROVER - | -Ground rover | -
| 11 | -- MAV_TYPE_SURFACE_BOAT - | -Surface vessel, boat, ship | -
| 12 | -- MAV_TYPE_SUBMARINE - | -Submarine | -
| 13 | -- MAV_TYPE_HEXAROTOR - | -Hexarotor | -
| 14 | -- MAV_TYPE_OCTOROTOR - | -Octorotor | -
| 15 | -- MAV_TYPE_TRICOPTER - | -Tricopter | -
| 16 | -- MAV_TYPE_FLAPPING_WING - | -Flapping wing | -
| 17 | -- MAV_TYPE_KITE - | -Kite | -
| 18 | -- MAV_TYPE_ONBOARD_CONTROLLER - | -Onboard companion controller | -
| 19 | -- MAV_TYPE_VTOL_DUOROTOR - | -Two-rotor VTOL using control surfaces in vertical operation in addition. Tailsitter. | -
| 20 | -- MAV_TYPE_VTOL_QUADROTOR - | -Quad-rotor VTOL using a V-shaped quad config in vertical operation. Tailsitter. | -
| 21 | -- MAV_TYPE_VTOL_TILTROTOR - | -Tiltrotor VTOL | -
| 22 | -- MAV_TYPE_VTOL_RESERVED2 - | -VTOL reserved 2 | -
| 23 | -- MAV_TYPE_VTOL_RESERVED3 - | -VTOL reserved 3 | -
| 24 | -- MAV_TYPE_VTOL_RESERVED4 - | -VTOL reserved 4 | -
| 25 | -- MAV_TYPE_VTOL_RESERVED5 - | -VTOL reserved 5 | -
| 26 | -- MAV_TYPE_GIMBAL - | -Onboard gimbal | -
| 27 | -- MAV_TYPE_ADSB - | -Onboard ADSB peripheral | -
| 28 | -- MAV_TYPE_PARAFOIL - | -Steerable, nonrigid airfoil | -
| 29 | -- MAV_TYPE_DODECAROTOR - | -Dodecarotor | -
| 30 | -- MAV_TYPE_CAMERA - | -Camera | -
| 31 | -- MAV_TYPE_CHARGING_STATION - | -Charging station | -
| 32 | -- MAV_TYPE_FLARM - | -Onboard FLARM collision avoidance system | -
These values define the type of firmware release. These values indicate the first version or release of this type. For example the first alpha release would be 64, the second would be 65.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- FIRMWARE_VERSION_TYPE_DEV - | -development release | -
| 64 | -- FIRMWARE_VERSION_TYPE_ALPHA - | -alpha release | -
| 128 | -- FIRMWARE_VERSION_TYPE_BETA - | -beta release | -
| 192 | -- FIRMWARE_VERSION_TYPE_RC - | -release candidate | -
| 255 | -- FIRMWARE_VERSION_TYPE_OFFICIAL - | -official stable release | -
Flags to report failure cases over the high latency telemtry.
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- HL_FAILURE_FLAG_GPS - | -GPS failure. | -
| 2 | -- HL_FAILURE_FLAG_DIFFERENTIAL_PRESSURE - | -Differential pressure sensor failure. | -
| 4 | -- HL_FAILURE_FLAG_ABSOLUTE_PRESSURE - | -Absolute pressure sensor failure. | -
| 8 | -- HL_FAILURE_FLAG_3D_ACCEL - | -Accelerometer sensor failure. | -
| 16 | -- HL_FAILURE_FLAG_3D_GYRO - | -Gyroscope sensor failure. | -
| 32 | -- HL_FAILURE_FLAG_3D_MAG - | -Magnetometer sensor failure. | -
| 64 | -- HL_FAILURE_FLAG_TERRAIN - | -Terrain subsystem failure. | -
| 128 | -- HL_FAILURE_FLAG_BATTERY - | -Battery failure/critical low battery. | -
| 256 | -- HL_FAILURE_FLAG_RC_RECEIVER - | -RC receiver failure/no rc connection. | -
| 512 | -- HL_FAILURE_FLAG_OFFBOARD_LINK - | -Offboard link failure. | -
| 1024 | -- HL_FAILURE_FLAG_ENGINE - | -Engine failure. | -
| 2048 | -- HL_FAILURE_FLAG_GEOFENCE - | -Geofence violation. | -
| 4096 | -- HL_FAILURE_FLAG_ESTIMATOR - | -Estimator failure, for example measurement rejection or large variances. | -
| 8192 | -- HL_FAILURE_FLAG_MISSION - | -Mission failure. | -
These flags encode the MAV mode.
-| Value | -Field Name | -Description | -
|---|---|---|
| 128 | -- MAV_MODE_FLAG_SAFETY_ARMED - | -0b10000000 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. | -
| 64 | -- MAV_MODE_FLAG_MANUAL_INPUT_ENABLED - | -0b01000000 remote control input is enabled. | -
| 32 | -- MAV_MODE_FLAG_HIL_ENABLED - | -0b00100000 hardware in the loop simulation. All motors / actuators are blocked, but internal software is full operational. | -
| 16 | -- MAV_MODE_FLAG_STABILIZE_ENABLED - | -0b00010000 system stabilizes electronically its attitude (and optionally position). It needs however further control inputs to move around. | -
| 8 | -- MAV_MODE_FLAG_GUIDED_ENABLED - | -0b00001000 guided mode enabled, system flies waypoints / mission items. | -
| 4 | -- MAV_MODE_FLAG_AUTO_ENABLED - | -0b00000100 autonomous mode enabled, system finds its own goal positions. Guided flag can be set or not, depends on the actual implementation. | -
| 2 | -- MAV_MODE_FLAG_TEST_ENABLED - | -0b00000010 system has a test mode enabled. This flag is intended for temporary system tests and should not be used for stable implementations. | -
| 1 | -- MAV_MODE_FLAG_CUSTOM_MODE_ENABLED - | -0b00000001 Reserved for future use. | -
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.
-| Value | -Field Name | -Description | -
|---|---|---|
| 128 | -- MAV_MODE_FLAG_DECODE_POSITION_SAFETY - | -First bit: 10000000 | -
| 64 | -- MAV_MODE_FLAG_DECODE_POSITION_MANUAL - | -Second bit: 01000000 | -
| 32 | -- MAV_MODE_FLAG_DECODE_POSITION_HIL - | -Third bit: 00100000 | -
| 16 | -- MAV_MODE_FLAG_DECODE_POSITION_STABILIZE - | -Fourth bit: 00010000 | -
| 8 | -- MAV_MODE_FLAG_DECODE_POSITION_GUIDED - | -Fifth bit: 00001000 | -
| 4 | -- MAV_MODE_FLAG_DECODE_POSITION_AUTO - | -Sixt bit: 00000100 | -
| 2 | -- MAV_MODE_FLAG_DECODE_POSITION_TEST - | -Seventh bit: 00000010 | -
| 1 | -- MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODE - | -Eighth bit: 00000001 | -
Override command, pauses current mission execution and moves immediately to a position
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_GOTO_DO_HOLD - | -Hold at the current position. | -
| 1 | -- MAV_GOTO_DO_CONTINUE - | -Continue with the next item in mission execution. | -
| 2 | -- MAV_GOTO_HOLD_AT_CURRENT_POSITION - | -Hold at the current position of the system | -
| 3 | -- MAV_GOTO_HOLD_AT_SPECIFIED_POSITION - | -Hold at the position specified in the parameters of the DO_HOLD action | -
These defines are predefined OR-combined mode flags. There is no need to use values from this enum, but it - simplifies the use of the mode flags. Note that manual input is enabled in all modes as a safety override.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_MODE_PREFLIGHT - | -System is not ready to fly, booting, calibrating, etc. No flag is set. | -
| 80 | -- MAV_MODE_STABILIZE_DISARMED - | -System is allowed to be active, under assisted RC control. | -
| 208 | -- MAV_MODE_STABILIZE_ARMED - | -System is allowed to be active, under assisted RC control. | -
| 64 | -- MAV_MODE_MANUAL_DISARMED - | -System is allowed to be active, under manual (RC) control, no stabilization | -
| 192 | -- MAV_MODE_MANUAL_ARMED - | -System is allowed to be active, under manual (RC) control, no stabilization | -
| 88 | -- MAV_MODE_GUIDED_DISARMED - | -System is allowed to be active, under autonomous control, manual setpoint | -
| 216 | -- MAV_MODE_GUIDED_ARMED - | -System is allowed to be active, under autonomous control, manual setpoint | -
| 92 | -- MAV_MODE_AUTO_DISARMED - | -System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by waypoints) | -
| 220 | -- MAV_MODE_AUTO_ARMED - | -System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by waypoints) | -
| 66 | -- MAV_MODE_TEST_DISARMED - | -UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only. | -
| 194 | -- MAV_MODE_TEST_ARMED - | -UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_STATE_UNINIT - | -Uninitialized system, state is unknown. | -
| - | -- MAV_STATE_BOOT - | -System is booting up. | -
| - | -- MAV_STATE_CALIBRATING - | -System is calibrating and not flight-ready. | -
| - | -- MAV_STATE_STANDBY - | -System is grounded and on standby. It can be launched any time. | -
| - | -- MAV_STATE_ACTIVE - | -System is active and might be already airborne. Motors are engaged. | -
| - | -- MAV_STATE_CRITICAL - | -System is in a non-normal flight mode. It can however still navigate. | -
| - | -- MAV_STATE_EMERGENCY - | -System 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_POWEROFF - | -System just initialized its power-down sequence, will shut down now. | -
| - | -- MAV_STATE_FLIGHT_TERMINATION - | -System is terminating itself. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_COMP_ID_ALL - | -- | -
| 1 | -- MAV_COMP_ID_AUTOPILOT1 - | -- | -
| 100 | -- MAV_COMP_ID_CAMERA - | -- | -
| 101 | -- MAV_COMP_ID_CAMERA2 - | -- | -
| 102 | -- MAV_COMP_ID_CAMERA3 - | -- | -
| 103 | -- MAV_COMP_ID_CAMERA4 - | -- | -
| 104 | -- MAV_COMP_ID_CAMERA5 - | -- | -
| 105 | -- MAV_COMP_ID_CAMERA6 - | -- | -
| 140 | -- MAV_COMP_ID_SERVO1 - | -- | -
| 141 | -- MAV_COMP_ID_SERVO2 - | -- | -
| 142 | -- MAV_COMP_ID_SERVO3 - | -- | -
| 143 | -- MAV_COMP_ID_SERVO4 - | -- | -
| 144 | -- MAV_COMP_ID_SERVO5 - | -- | -
| 145 | -- MAV_COMP_ID_SERVO6 - | -- | -
| 146 | -- MAV_COMP_ID_SERVO7 - | -- | -
| 147 | -- MAV_COMP_ID_SERVO8 - | -- | -
| 148 | -- MAV_COMP_ID_SERVO9 - | -- | -
| 149 | -- MAV_COMP_ID_SERVO10 - | -- | -
| 150 | -- MAV_COMP_ID_SERVO11 - | -- | -
| 151 | -- MAV_COMP_ID_SERVO12 - | -- | -
| 152 | -- MAV_COMP_ID_SERVO13 - | -- | -
| 153 | -- MAV_COMP_ID_SERVO14 - | -- | -
| 154 | -- MAV_COMP_ID_GIMBAL - | -- | -
| 155 | -- MAV_COMP_ID_LOG - | -- | -
| 156 | -- MAV_COMP_ID_ADSB - | -- | -
| 157 | -- MAV_COMP_ID_OSD - | -On Screen Display (OSD) devices for video links | -
| 158 | -- MAV_COMP_ID_PERIPHERAL - | -Generic autopilot peripheral component ID. Meant for devices that do not implement the parameter sub-protocol | -
| 159 | -- MAV_COMP_ID_QX1_GIMBAL - | -- | -
| 160 | -- MAV_COMP_ID_FLARM - | -- | -
| 180 | -- MAV_COMP_ID_MAPPER - | -- | -
| 190 | -- MAV_COMP_ID_MISSIONPLANNER - | -- | -
| 195 | -- MAV_COMP_ID_PATHPLANNER - | -- | -
| 200 | -- MAV_COMP_ID_IMU - | -- | -
| 201 | -- MAV_COMP_ID_IMU_2 - | -- | -
| 202 | -- MAV_COMP_ID_IMU_3 - | -- | -
| 220 | -- MAV_COMP_ID_GPS - | -- | -
| 221 | -- MAV_COMP_ID_GPS2 - | -- | -
| 240 | -- MAV_COMP_ID_UDP_BRIDGE - | -- | -
| 241 | -- MAV_COMP_ID_UART_BRIDGE - | -- | -
| 250 | -- MAV_COMP_ID_SYSTEM_CONTROL - | -- | -
These encode the sensors whose status is sent as part of the SYS_STATUS message.
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- MAV_SYS_STATUS_SENSOR_3D_GYRO - | -0x01 3D gyro | -
| 2 | -- MAV_SYS_STATUS_SENSOR_3D_ACCEL - | -0x02 3D accelerometer | -
| 4 | -- MAV_SYS_STATUS_SENSOR_3D_MAG - | -0x04 3D magnetometer | -
| 8 | -- MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE - | -0x08 absolute pressure | -
| 16 | -- MAV_SYS_STATUS_SENSOR_DIFFERENTIAL_PRESSURE - | -0x10 differential pressure | -
| 32 | -- MAV_SYS_STATUS_SENSOR_GPS - | -0x20 GPS | -
| 64 | -- MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW - | -0x40 optical flow | -
| 128 | -- MAV_SYS_STATUS_SENSOR_VISION_POSITION - | -0x80 computer vision position | -
| 256 | -- MAV_SYS_STATUS_SENSOR_LASER_POSITION - | -0x100 laser based position | -
| 512 | -- MAV_SYS_STATUS_SENSOR_EXTERNAL_GROUND_TRUTH - | -0x200 external ground truth (Vicon or Leica) | -
| 1024 | -- MAV_SYS_STATUS_SENSOR_ANGULAR_RATE_CONTROL - | -0x400 3D angular rate control | -
| 2048 | -- MAV_SYS_STATUS_SENSOR_ATTITUDE_STABILIZATION - | -0x800 attitude stabilization | -
| 4096 | -- MAV_SYS_STATUS_SENSOR_YAW_POSITION - | -0x1000 yaw position | -
| 8192 | -- MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL - | -0x2000 z/altitude control | -
| 16384 | -- MAV_SYS_STATUS_SENSOR_XY_POSITION_CONTROL - | -0x4000 x/y position control | -
| 32768 | -- MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS - | -0x8000 motor outputs / control | -
| 65536 | -- MAV_SYS_STATUS_SENSOR_RC_RECEIVER - | -0x10000 rc receiver | -
| 131072 | -- MAV_SYS_STATUS_SENSOR_3D_GYRO2 - | -0x20000 2nd 3D gyro | -
| 262144 | -- MAV_SYS_STATUS_SENSOR_3D_ACCEL2 - | -0x40000 2nd 3D accelerometer | -
| 524288 | -- MAV_SYS_STATUS_SENSOR_3D_MAG2 - | -0x80000 2nd 3D magnetometer | -
| 1048576 | -- MAV_SYS_STATUS_GEOFENCE - | -0x100000 geofence | -
| 2097152 | -- MAV_SYS_STATUS_AHRS - | -0x200000 AHRS subsystem health | -
| 4194304 | -- MAV_SYS_STATUS_TERRAIN - | -0x400000 Terrain subsystem health | -
| 8388608 | -- MAV_SYS_STATUS_REVERSE_MOTOR - | -0x800000 Motors are reversed | -
| 16777216 | -- MAV_SYS_STATUS_LOGGING - | -0x1000000 Logging | -
| 33554432 | -- MAV_SYS_STATUS_SENSOR_BATTERY - | -0x2000000 Battery | -
| 67108864 | -- MAV_SYS_STATUS_SENSOR_PROXIMITY - | -0x4000000 Proximity | -
| 134217728 | -- MAV_SYS_STATUS_SENSOR_SATCOM - | -0x8000000 Satellite Communication | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_FRAME_GLOBAL - | -Global coordinate frame, WGS84 coordinate system. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL). | -
| 1 | -- MAV_FRAME_LOCAL_NED - | -Local coordinate frame, Z-down (x: north, y: east, z: down). | -
| 2 | -- MAV_FRAME_MISSION - | -NOT a coordinate frame, indicates a mission command. | -
| 3 | -- MAV_FRAME_GLOBAL_RELATIVE_ALT - | -Global coordinate frame, WGS84 coordinate system, relative altitude over ground with respect to the home position. First value / x: latitude, second value / y: longitude, third value / z: positive altitude with 0 being at the altitude of the home location. | -
| 4 | -- MAV_FRAME_LOCAL_ENU - | -Local coordinate frame, Z-up (x: east, y: north, z: up). | -
| 5 | -- MAV_FRAME_GLOBAL_INT - | -Global coordinate frame, WGS84 coordinate system. First value / x: latitude in degrees*1.0e-7, second value / y: longitude in degrees*1.0e-7, third value / z: positive altitude over mean sea level (MSL). | -
| 6 | -- MAV_FRAME_GLOBAL_RELATIVE_ALT_INT - | -Global coordinate frame, WGS84 coordinate system, relative altitude over ground with respect to the home position. First value / x: latitude in degrees*10e-7, second value / y: longitude in degrees*10e-7, third value / z: positive altitude with 0 being at the altitude of the home location. | -
| 7 | -- MAV_FRAME_LOCAL_OFFSET_NED - | -Offset to the current local frame. Anything expressed in this frame should be added to the current local frame position. | -
| 8 | -- MAV_FRAME_BODY_NED - | -Setpoint in body NED frame. This makes sense if all position control is externalized - e.g. useful to command 2 m/s^2 acceleration to the right. | -
| 9 | -- MAV_FRAME_BODY_OFFSET_NED - | -Offset in body NED frame. This makes sense if adding setpoints to the current flight path, to avoid an obstacle - e.g. useful to command 2 m/s^2 acceleration to the east. | -
| 10 | -- MAV_FRAME_GLOBAL_TERRAIN_ALT - | -Global coordinate frame with above terrain level altitude. WGS84 coordinate system, relative altitude over terrain with respect to the waypoint coordinate. First value / x: latitude in degrees, second value / y: longitude in degrees, third value / z: positive altitude in meters with 0 being at ground level in terrain model. | -
| 11 | -- MAV_FRAME_GLOBAL_TERRAIN_ALT_INT - | -Global coordinate frame with above terrain level altitude. WGS84 coordinate system, relative altitude over terrain with respect to the waypoint coordinate. First value / x: latitude in degrees*10e-7, second value / y: longitude in degrees*10e-7, third value / z: positive altitude in meters with 0 being at ground level in terrain model. | -
| 12 | -- MAV_FRAME_BODY_FRD - | -Body fixed frame of reference, Z-down (x: forward, y: right, z: down). | -
| 13 | -- MAV_FRAME_BODY_FLU - | -Body fixed frame of reference, Z-up (x: forward, y: left, z: up). | -
| 14 | -- MAV_FRAME_MOCAP_NED - | -Odometry local coordinate frame of data given by a motion capture system, Z-down (x: north, y: east, z: down). | -
| 15 | -- MAV_FRAME_MOCAP_ENU - | -Odometry local coordinate frame of data given by a motion capture system, Z-up (x: east, y: north, z: up). | -
| 16 | -- MAV_FRAME_VISION_NED - | -Odometry local coordinate frame of data given by a vision estimation system, Z-down (x: north, y: east, z: down). | -
| 17 | -- MAV_FRAME_VISION_ENU - | -Odometry local coordinate frame of data given by a vision estimation system, Z-up (x: east, y: north, z: up). | -
| 18 | -- MAV_FRAME_ESTIM_NED - | -Odometry local coordinate frame of data given by an estimator running onboard the vehicle, Z-down (x: north, y: east, z: down). | -
| 19 | -- MAV_FRAME_ESTIM_ENU - | -Odometry local coordinate frame of data given by an estimator running onboard the vehicle, Z-up (x: east, y: noth, z: up). | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| - | -- MAVLINK_DATA_STREAM_IMG_JPEG - | -- | -
| - | -- MAVLINK_DATA_STREAM_IMG_BMP - | -- | -
| - | -- MAVLINK_DATA_STREAM_IMG_RAW8U - | -- | -
| - | -- MAVLINK_DATA_STREAM_IMG_RAW32U - | -- | -
| - | -- MAVLINK_DATA_STREAM_IMG_PGM - | -- | -
| - | -- MAVLINK_DATA_STREAM_IMG_PNG - | -- | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- FENCE_ACTION_NONE - | -Disable fenced mode | -
| 1 | -- FENCE_ACTION_GUIDED - | -Switched to guided mode to return point (fence point 0) | -
| 2 | -- FENCE_ACTION_REPORT - | -Report fence breach, but don't take action | -
| 3 | -- FENCE_ACTION_GUIDED_THR_PASS - | -Switched to guided mode to return point (fence point 0) with manual throttle control | -
| 4 | -- FENCE_ACTION_RTL - | -Switch to RTL (return to launch) mode and head for the return point. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- FENCE_BREACH_NONE - | -No last fence breach | -
| 1 | -- FENCE_BREACH_MINALT - | -Breached minimum altitude | -
| 2 | -- FENCE_BREACH_MAXALT - | -Breached maximum altitude | -
| 3 | -- FENCE_BREACH_BOUNDARY - | -Breached fence boundary | -
Enumeration of possible mount operation modes
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_MOUNT_MODE_RETRACT - | -Load and keep safe position (Roll,Pitch,Yaw) from permant memory and stop stabilization | -
| 1 | -- MAV_MOUNT_MODE_NEUTRAL - | -Load and keep neutral position (Roll,Pitch,Yaw) from permanent memory. | -
| 2 | -- MAV_MOUNT_MODE_MAVLINK_TARGETING - | -Load neutral position and start MAVLink Roll,Pitch,Yaw control with stabilization | -
| 3 | -- MAV_MOUNT_MODE_RC_TARGETING - | -Load neutral position and start RC Roll,Pitch,Yaw control with stabilization | -
| 4 | -- MAV_MOUNT_MODE_GPS_POINT - | -Load neutral position and start to point to Lat,Lon,Alt | -
Generalized UAVCAN node health
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- UAVCAN_NODE_HEALTH_OK - | -The node is functioning properly. | -
| 1 | -- UAVCAN_NODE_HEALTH_WARNING - | -A critical parameter went out of range or the node has encountered a minor failure. | -
| 2 | -- UAVCAN_NODE_HEALTH_ERROR - | -The node has encountered a major failure. | -
| 3 | -- UAVCAN_NODE_HEALTH_CRITICAL - | -The node has suffered a fatal malfunction. | -
Generalized UAVCAN node mode
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- UAVCAN_NODE_MODE_OPERATIONAL - | -The node is performing its primary functions. | -
| 1 | -- UAVCAN_NODE_MODE_INITIALIZATION - | -The node is initializing; this mode is entered immediately after startup. | -
| 2 | -- UAVCAN_NODE_MODE_MAINTENANCE - | -The node is under maintenance. | -
| 3 | -- UAVCAN_NODE_MODE_SOFTWARE_UPDATE - | -The node is in the process of updating its software. | -
| 7 | -- UAVCAN_NODE_MODE_OFFLINE - | -The node is no longer available online. | -
Commands to be executed by the MAV. They can be executed on user request, or as part of a mission script. If the action is used in a mission, the parameter mapping to the waypoint/mission message is as follows: Param 1, Param 2, Param 3, Param 4, X: Param 5, Y:Param 6, Z:Param 7. This command list is similar what ARINC 424 is for commercial aircraft: A data format how to interpret waypoint/mission data.
-| Value | -Field Name | -Description | -
|---|---|---|
| 16 | -- MAV_CMD_NAV_WAYPOINT - | -Navigate to waypoint. | -
| - | -||
| - | -Mission Param #1 | -Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing) | -
| - | -Mission Param #2 | -Acceptance radius in meters (if the sphere with this radius is hit, the waypoint counts as reached) | -
| - | -Mission Param #3 | -0 to pass through the WP, if > 0 radius in meters to pass by WP. Positive value for clockwise orbit, negative value for counter-clockwise orbit. Allows trajectory control. | -
| - | -Mission Param #4 | -Desired yaw angle at waypoint (rotary wing). NaN for unchanged. | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Altitude | -
|
- - |
- ||
| 17 | -- MAV_CMD_NAV_LOITER_UNLIM - | -Loiter around this waypoint an unlimited amount of time | -
| - | -||
| - | -Mission Param #1 | -Empty | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise | -
| - | -Mission Param #4 | -Desired yaw angle. | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Altitude | -
|
- - |
- ||
| 18 | -- MAV_CMD_NAV_LOITER_TURNS - | -Loiter around this waypoint for X turns | -
| - | -||
| - | -Mission Param #1 | -Turns | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise | -
| - | -Mission Param #4 | -Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Altitude | -
|
- - |
- ||
| 19 | -- MAV_CMD_NAV_LOITER_TIME - | -Loiter around this waypoint for X seconds | -
| - | -||
| - | -Mission Param #1 | -Seconds (decimal) | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise | -
| - | -Mission Param #4 | -Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Altitude | -
|
- - |
- ||
| 20 | -- MAV_CMD_NAV_RETURN_TO_LAUNCH - | -Return to launch location | -
| - | -||
| - | -Mission Param #1 | -Empty | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 21 | -- MAV_CMD_NAV_LAND - | -Land at location | -
| - | -||
| - | -Mission Param #1 | -Abort Alt | -
| - | -Mission Param #2 | -Precision land mode. (0 = normal landing, 1 = opportunistic precision landing, 2 = required precsion landing) | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Desired yaw angle. NaN for unchanged. | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Altitude (ground level) | -
|
- - |
- ||
| 22 | -- MAV_CMD_NAV_TAKEOFF - | -Takeoff from ground / hand | -
| - | -||
| - | -Mission Param #1 | -Minimum pitch (if airspeed sensor present), desired pitch without sensor | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Yaw angle (if magnetometer present), ignored without magnetometer. NaN for unchanged. | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Altitude | -
|
- - |
- ||
| 23 | -- MAV_CMD_NAV_LAND_LOCAL - | -Land at local position (local frame only) | -
| - | -||
| - | -Mission Param #1 | -Landing target number (if available) | -
| - | -Mission Param #2 | -Maximum accepted offset from desired landing position [m] - computed magnitude from spherical coordinates: d = sqrt(x^2 + y^2 + z^2), which gives the maximum accepted distance between the desired landing position and the position where the vehicle is about to land | -
| - | -Mission Param #3 | -Landing descend rate [ms^-1] | -
| - | -Mission Param #4 | -Desired yaw angle [rad] | -
| - | -Mission Param #5 | -Y-axis position [m] | -
| - | -Mission Param #6 | -X-axis position [m] | -
| - | -Mission Param #7 | -Z-axis / ground level position [m] | -
|
- - |
- ||
| 24 | -- MAV_CMD_NAV_TAKEOFF_LOCAL - | -Takeoff from local position (local frame only) | -
| - | -||
| - | -Mission Param #1 | -Minimum pitch (if airspeed sensor present), desired pitch without sensor [rad] | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Takeoff ascend rate [ms^-1] | -
| - | -Mission Param #4 | -Yaw angle [rad] (if magnetometer or another yaw estimation source present), ignored without one of these | -
| - | -Mission Param #5 | -Y-axis position [m] | -
| - | -Mission Param #6 | -X-axis position [m] | -
| - | -Mission Param #7 | -Z-axis position [m] | -
|
- - |
- ||
| 25 | -- MAV_CMD_NAV_FOLLOW - | -Vehicle following, i.e. this waypoint represents the position of a moving vehicle | -
| - | -||
| - | -Mission Param #1 | -Following logic to use (e.g. loitering or sinusoidal following) - depends on specific autopilot implementation | -
| - | -Mission Param #2 | -Ground speed of vehicle to be followed | -
| - | -Mission Param #3 | -Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise | -
| - | -Mission Param #4 | -Desired yaw angle. | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Altitude | -
|
- - |
- ||
| 30 | -- MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT - | -Continue on the current course and climb/descend to specified altitude. When the altitude is reached continue to the next command (i.e., don't proceed to the next command until the desired altitude is reached. | -
| - | -||
| - | -Mission Param #1 | -Climb or Descend (0 = Neutral, command completes when within 5m of this command's altitude, 1 = Climbing, command completes when at or above this command's altitude, 2 = Descending, command completes when at or below this command's altitude. | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Desired altitude in meters | -
|
- - |
- ||
| 31 | -- MAV_CMD_NAV_LOITER_TO_ALT - | -Begin loiter at the specified Latitude and Longitude. If Lat=Lon=0, then loiter at the current position. Don't consider the navigation command complete (don't leave loiter) until the altitude has been reached. Additionally, if the Heading Required parameter is non-zero the aircraft will not leave the loiter until heading toward the next waypoint. | -
| - | -||
| - | -Mission Param #1 | -Heading Required (0 = False) | -
| - | -Mission Param #2 | -Radius in meters. If positive loiter clockwise, negative counter-clockwise, 0 means no change to standard loiter. | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Altitude | -
|
- - |
- ||
| 32 | -- MAV_CMD_DO_FOLLOW - | -Being following a target | -
| - | -||
| - | -Mission Param #1 | -System ID (the system ID of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode | -
| - | -Mission Param #2 | -RESERVED | -
| - | -Mission Param #3 | -RESERVED | -
| - | -Mission Param #4 | -altitude flag: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home | -
| - | -Mission Param #5 | -altitude | -
| - | -Mission Param #6 | -RESERVED | -
| - | -Mission Param #7 | -TTL in seconds in which the MAV should go to the default position hold mode after a message rx timeout | -
|
- - |
- ||
| 33 | -- MAV_CMD_DO_FOLLOW_REPOSITION - | -Reposition the MAV after a follow target command has been sent | -
| - | -||
| - | -Mission Param #1 | -Camera q1 (where 0 is on the ray from the camera to the tracking device) | -
| - | -Mission Param #2 | -Camera q2 | -
| - | -Mission Param #3 | -Camera q3 | -
| - | -Mission Param #4 | -Camera q4 | -
| - | -Mission Param #5 | -altitude offset from target (m) | -
| - | -Mission Param #6 | -X offset from target (m) | -
| - | -Mission Param #7 | -Y offset from target (m) | -
|
- - |
- ||
| 34 | -- MAV_CMD_DO_ORBIT - | -Start orbiting on the circumference of a circle defined by the parameters. Setting any value NaN results in using defaults. | -
| - | -||
| - | -Mission Param #1 | -Radius of the circle in meters. positive: Orbit clockwise. negative: Orbit counter-clockwise. | -
| - | -Mission Param #2 | -Velocity tangential in m/s. NaN: Vehicle configuration default. | -
| - | -Mission Param #3 | -Yaw behavior of the vehicle. 0: vehicle front points to the center (default). 1: Hold last heading. 2: Leave yaw uncontrolled. | -
| - | -Mission Param #4 | -Reserved (e.g. for dynamic center beacon options) | -
| - | -Mission Param #5 | -Center point latitude (if no MAV_FRAME specified) / X coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting. | -
| - | -Mission Param #6 | -Center point longitude (if no MAV_FRAME specified) / Y coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting. | -
| - | -Mission Param #7 | -Center point altitude (AMSL) (if no MAV_FRAME specified) / Z coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting. | -
|
- - |
- ||
| 80 | -- MAV_CMD_NAV_ROI - | -Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. | -
| - | -||
| - | -Mission Param #1 | -Region of interest mode. (see MAV_ROI enum) | -
| - | -Mission Param #2 | -Waypoint index/ target ID. (see MAV_ROI enum) | -
| - | -Mission Param #3 | -ROI index (allows a vehicle to manage multiple ROI's) | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -x the location of the fixed ROI (see MAV_FRAME) | -
| - | -Mission Param #6 | -y | -
| - | -Mission Param #7 | -z | -
|
- - |
- ||
| 81 | -- MAV_CMD_NAV_PATHPLANNING - | -Control autonomous path planning on the MAV. | -
| - | -||
| - | -Mission Param #1 | -0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning | -
| - | -Mission Param #2 | -0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Yaw angle at goal, in compass degrees, [0..360] | -
| - | -Mission Param #5 | -Latitude/X of goal | -
| - | -Mission Param #6 | -Longitude/Y of goal | -
| - | -Mission Param #7 | -Altitude/Z of goal | -
|
- - |
- ||
| 82 | -- MAV_CMD_NAV_SPLINE_WAYPOINT - | -Navigate to waypoint using a spline path. | -
| - | -||
| - | -Mission Param #1 | -Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing) | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Latitude/X of goal | -
| - | -Mission Param #6 | -Longitude/Y of goal | -
| - | -Mission Param #7 | -Altitude/Z of goal | -
|
- - |
- ||
| 84 | -- MAV_CMD_NAV_VTOL_TAKEOFF - | -Takeoff from ground using VTOL mode | -
| - | -||
| - | -Mission Param #1 | -Empty | -
| - | -Mission Param #2 | -Front transition heading, see VTOL_TRANSITION_HEADING enum. | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Yaw angle in degrees. NaN for unchanged. | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Altitude | -
|
- - |
- ||
| 85 | -- MAV_CMD_NAV_VTOL_LAND - | -Land using VTOL mode | -
| - | -||
| - | -Mission Param #1 | -Empty | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Approach altitude (with the same reference as the Altitude field). NaN if unspecified. | -
| - | -Mission Param #4 | -Yaw angle in degrees. NaN for unchanged. | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Altitude (ground level) | -
|
- - |
- ||
| 92 | -- MAV_CMD_NAV_GUIDED_ENABLE - | -hand control over to an external controller | -
| - | -||
| - | -Mission Param #1 | -On / Off (> 0.5f on) | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 93 | -- MAV_CMD_NAV_DELAY - | -Delay the next navigation command a number of seconds or until a specified time | -
| - | -||
| - | -Mission Param #1 | -Delay in seconds (decimal, -1 to enable time-of-day fields) | -
| - | -Mission Param #2 | -hour (24h format, UTC, -1 to ignore) | -
| - | -Mission Param #3 | -minute (24h format, UTC, -1 to ignore) | -
| - | -Mission Param #4 | -second (24h format, UTC) | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 94 | -- MAV_CMD_NAV_PAYLOAD_PLACE - | -Descend and place payload. Vehicle descends until it detects a hanging payload has reached the ground, the gripper is opened to release the payload | -
| - | -||
| - | -Mission Param #1 | -Maximum distance to descend (meters) | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Latitude (deg * 1E7) | -
| - | -Mission Param #6 | -Longitude (deg * 1E7) | -
| - | -Mission Param #7 | -Altitude (meters) | -
|
- - |
- ||
| 95 | -- MAV_CMD_NAV_LAST - | -NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration | -
| - | -||
| - | -Mission Param #1 | -Empty | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 112 | -- MAV_CMD_CONDITION_DELAY - | -Delay mission state machine. | -
| - | -||
| - | -Mission Param #1 | -Delay in seconds (decimal) | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 113 | -- MAV_CMD_CONDITION_CHANGE_ALT - | -Ascend/descend at rate. Delay mission state machine until desired altitude reached. | -
| - | -||
| - | -Mission Param #1 | -Descent / Ascend rate (m/s) | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Finish Altitude | -
|
- - |
- ||
| 114 | -- MAV_CMD_CONDITION_DISTANCE - | -Delay mission state machine until within desired distance of next NAV point. | -
| - | -||
| - | -Mission Param #1 | -Distance (meters) | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 115 | -- MAV_CMD_CONDITION_YAW - | -Reach a certain target angle. | -
| - | -||
| - | -Mission Param #1 | -target angle: [0-360], 0 is north | -
| - | -Mission Param #2 | -speed during yaw change:[deg per second] | -
| - | -Mission Param #3 | -direction: negative: counter clockwise, positive: clockwise [-1,1] | -
| - | -Mission Param #4 | -relative offset or absolute angle: [ 1,0] | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 159 | -- MAV_CMD_CONDITION_LAST - | -NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration | -
| - | -||
| - | -Mission Param #1 | -Empty | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 176 | -- MAV_CMD_DO_SET_MODE - | -Set system mode. | -
| - | -||
| - | -Mission Param #1 | -Mode, as defined by ENUM MAV_MODE | -
| - | -Mission Param #2 | -Custom mode - this is system specific, please refer to the individual autopilot specifications for details. | -
| - | -Mission Param #3 | -Custom sub mode - this is system specific, please refer to the individual autopilot specifications for details. | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 177 | -- MAV_CMD_DO_JUMP - | -Jump to the desired command in the mission list. Repeat this action only the specified number of times | -
| - | -||
| - | -Mission Param #1 | -Sequence number | -
| - | -Mission Param #2 | -Repeat count | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 178 | -- MAV_CMD_DO_CHANGE_SPEED - | -Change speed and/or throttle set points. | -
| - | -||
| - | -Mission Param #1 | -Speed type (0=Airspeed, 1=Ground Speed) | -
| - | -Mission Param #2 | -Speed (m/s, -1 indicates no change) | -
| - | -Mission Param #3 | -Throttle ( Percent, -1 indicates no change) | -
| - | -Mission Param #4 | -absolute or relative [0,1] | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 179 | -- MAV_CMD_DO_SET_HOME - | -Changes the home location either to the current location or a specified location. | -
| - | -||
| - | -Mission Param #1 | -Use current (1=use current location, 0=use specified location) | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Altitude | -
|
- - |
- ||
| 180 | -- MAV_CMD_DO_SET_PARAMETER - | -Set a system parameter. Caution! Use of this command requires knowledge of the numeric enumeration value of the parameter. | -
| - | -||
| - | -Mission Param #1 | -Parameter number | -
| - | -Mission Param #2 | -Parameter value | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 181 | -- MAV_CMD_DO_SET_RELAY - | -Set a relay to a condition. | -
| - | -||
| - | -Mission Param #1 | -Relay number | -
| - | -Mission Param #2 | -Setting (1=on, 0=off, others possible depending on system hardware) | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 182 | -- MAV_CMD_DO_REPEAT_RELAY - | -Cycle a relay on and off for a desired number of cycles with a desired period. | -
| - | -||
| - | -Mission Param #1 | -Relay number | -
| - | -Mission Param #2 | -Cycle count | -
| - | -Mission Param #3 | -Cycle time (seconds, decimal) | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 183 | -- MAV_CMD_DO_SET_SERVO - | -Set a servo to a desired PWM value. | -
| - | -||
| - | -Mission Param #1 | -Servo number | -
| - | -Mission Param #2 | -PWM (microseconds, 1000 to 2000 typical) | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 184 | -- MAV_CMD_DO_REPEAT_SERVO - | -Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period. | -
| - | -||
| - | -Mission Param #1 | -Servo number | -
| - | -Mission Param #2 | -PWM (microseconds, 1000 to 2000 typical) | -
| - | -Mission Param #3 | -Cycle count | -
| - | -Mission Param #4 | -Cycle time (seconds) | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 185 | -- MAV_CMD_DO_FLIGHTTERMINATION - | -Terminate flight immediately | -
| - | -||
| - | -Mission Param #1 | -Flight termination activated if > 0.5 | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 186 | -- MAV_CMD_DO_CHANGE_ALTITUDE - | -Change altitude set point. | -
| - | -||
| - | -Mission Param #1 | -Altitude in meters | -
| - | -Mission Param #2 | -Mav frame of new altitude (see MAV_FRAME) | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 189 | -- MAV_CMD_DO_LAND_START - | -Mission command to perform a landing. This is used as a marker in a mission to tell the autopilot where a sequence of mission items that represents a landing starts. It may also be sent via a COMMAND_LONG to trigger a landing, in which case the nearest (geographically) landing sequence in the mission will be used. The Latitude/Longitude is optional, and may be set to 0 if not needed. If specified then it will be used to help find the closest landing sequence. | -
| - | -||
| - | -Mission Param #1 | -Empty | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 190 | -- MAV_CMD_DO_RALLY_LAND - | -Mission command to perform a landing from a rally point. | -
| - | -||
| - | -Mission Param #1 | -Break altitude (meters) | -
| - | -Mission Param #2 | -Landing speed (m/s) | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 191 | -- MAV_CMD_DO_GO_AROUND - | -Mission command to safely abort an autonomous landing. | -
| - | -||
| - | -Mission Param #1 | -Altitude (meters) | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 192 | -- MAV_CMD_DO_REPOSITION - | -Reposition the vehicle to a specific WGS84 global position. | -
| - | -||
| - | -Mission Param #1 | -Ground speed, less than 0 (-1) for default | -
| - | -Mission Param #2 | -Bitmask of option flags, see the MAV_DO_REPOSITION_FLAGS enum. | -
| - | -Mission Param #3 | -Reserved | -
| - | -Mission Param #4 | -Yaw heading, NaN for unchanged. For planes indicates loiter direction (0: clockwise, 1: counter clockwise) | -
| - | -Mission Param #5 | -Latitude (deg * 1E7) | -
| - | -Mission Param #6 | -Longitude (deg * 1E7) | -
| - | -Mission Param #7 | -Altitude (meters) | -
|
- - |
- ||
| 193 | -- MAV_CMD_DO_PAUSE_CONTINUE - | -If in a GPS controlled position mode, hold the current position or continue. | -
| - | -||
| - | -Mission Param #1 | -0: Pause current mission or reposition command, hold current position. 1: Continue mission. A VTOL capable vehicle should enter hover mode (multicopter and VTOL planes). A plane should loiter with the default loiter radius. | -
| - | -Mission Param #2 | -Reserved | -
| - | -Mission Param #3 | -Reserved | -
| - | -Mission Param #4 | -Reserved | -
| - | -Mission Param #5 | -Reserved | -
| - | -Mission Param #6 | -Reserved | -
| - | -Mission Param #7 | -Reserved | -
|
- - |
- ||
| 194 | -- MAV_CMD_DO_SET_REVERSE - | -Set moving direction to forward or reverse. | -
| - | -||
| - | -Mission Param #1 | -Direction (0=Forward, 1=Reverse) | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 195 | -- MAV_CMD_DO_SET_ROI_LOCATION - | -Sets the region of interest (ROI) to a location. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. | -
| - | -||
| - | -Mission Param #1 | -Empty | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Altitude | -
|
- - |
- ||
| 196 | -- MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET - | -Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. | -
| - | -||
| - | -Mission Param #1 | -Empty | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -pitch offset from next waypoint | -
| - | -Mission Param #6 | -roll offset from next waypoint | -
| - | -Mission Param #7 | -yaw offset from next waypoint | -
|
- - |
- ||
| 197 | -- MAV_CMD_DO_SET_ROI_NONE - | -Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. | -
| - | -||
| - | -Mission Param #1 | -Empty | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 200 | -- MAV_CMD_DO_CONTROL_VIDEO - | -Control onboard camera system. | -
| - | -||
| - | -Mission Param #1 | -Camera ID (-1 for all) | -
| - | -Mission Param #2 | -Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw | -
| - | -Mission Param #3 | -Transmission mode: 0: video stream, >0: single images every n seconds (decimal) | -
| - | -Mission Param #4 | -Recording: 0: disabled, 1: enabled compressed, 2: enabled raw | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 201 | -- MAV_CMD_DO_SET_ROI - | -Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. | -
| - | -||
| - | -Mission Param #1 | -Region of interest mode. (see MAV_ROI enum) | -
| - | -Mission Param #2 | -Waypoint index/ target ID. (see MAV_ROI enum) | -
| - | -Mission Param #3 | -ROI index (allows a vehicle to manage multiple ROI's) | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude | -
| - | -Mission Param #6 | -MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude | -
| - | -Mission Param #7 | -MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude | -
|
- - |
- ||
| 202 | -- MAV_CMD_DO_DIGICAM_CONFIGURE - | -THIS INTERFACE IS DEPRECATED since 2018-01. Please use PARAM_EXT_XXX messages and the camera definition format described in https://mavlink.io/en/protocol/camera_def.html. | -
| - | -||
| - | -Mission Param #1 | -Modes: P, TV, AV, M, Etc | -
| - | -Mission Param #2 | -Shutter speed: Divisor number for one second | -
| - | -Mission Param #3 | -Aperture: F stop number | -
| - | -Mission Param #4 | -ISO number e.g. 80, 100, 200, Etc | -
| - | -Mission Param #5 | -Exposure type enumerator | -
| - | -Mission Param #6 | -Command Identity | -
| - | -Mission Param #7 | -Main engine cut-off time before camera trigger in seconds/10 (0 means no cut-off) | -
|
- - |
- ||
| 203 | -- MAV_CMD_DO_DIGICAM_CONTROL - | -THIS INTERFACE IS DEPRECATED since 2018-01. Please use PARAM_EXT_XXX messages and the camera definition format described in https://mavlink.io/en/protocol/camera_def.html. | -
| - | -||
| - | -Mission Param #1 | -Session control e.g. show/hide lens | -
| - | -Mission Param #2 | -Zoom's absolute position | -
| - | -Mission Param #3 | -Zooming step value to offset zoom from the current position | -
| - | -Mission Param #4 | -Focus Locking, Unlocking or Re-locking | -
| - | -Mission Param #5 | -Shooting Command | -
| - | -Mission Param #6 | -Command Identity | -
| - | -Mission Param #7 | -Test shot identifier. If set to 1, image will only be captured, but not counted towards internal frame count. | -
|
- - |
- ||
| 204 | -- MAV_CMD_DO_MOUNT_CONFIGURE - | -Mission command to configure a camera or antenna mount | -
| - | -||
| - | -Mission Param #1 | -Mount operation mode (see MAV_MOUNT_MODE enum) | -
| - | -Mission Param #2 | -stabilize roll? (1 = yes, 0 = no) | -
| - | -Mission Param #3 | -stabilize pitch? (1 = yes, 0 = no) | -
| - | -Mission Param #4 | -stabilize yaw? (1 = yes, 0 = no) | -
| - | -Mission Param #5 | -roll input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame) | -
| - | -Mission Param #6 | -pitch input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame) | -
| - | -Mission Param #7 | -yaw input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame) | -
|
- - |
- ||
| 205 | -- MAV_CMD_DO_MOUNT_CONTROL - | -Mission command to control a camera or antenna mount | -
| - | -||
| - | -Mission Param #1 | -pitch depending on mount mode (degrees or degrees/second depending on pitch input). | -
| - | -Mission Param #2 | -roll depending on mount mode (degrees or degrees/second depending on roll input). | -
| - | -Mission Param #3 | -yaw depending on mount mode (degrees or degrees/second depending on yaw input). | -
| - | -Mission Param #4 | -alt in meters depending on mount mode. | -
| - | -Mission Param #5 | -latitude in degrees * 1E7, set if appropriate mount mode. | -
| - | -Mission Param #6 | -longitude in degrees * 1E7, set if appropriate mount mode. | -
| - | -Mission Param #7 | -MAV_MOUNT_MODE enum value | -
|
- - |
- ||
| 206 | -- MAV_CMD_DO_SET_CAM_TRIGG_DIST - | -Mission command to set camera trigger distance for this flight. The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera. | -
| - | -||
| - | -Mission Param #1 | -Camera trigger distance (meters). 0 to stop triggering. | -
| - | -Mission Param #2 | -Camera shutter integration time (milliseconds). -1 or 0 to ignore | -
| - | -Mission Param #3 | -Trigger camera once immediately. (0 = no trigger, 1 = trigger) | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 207 | -- MAV_CMD_DO_FENCE_ENABLE - | -Mission command to enable the geofence | -
| - | -||
| - | -Mission Param #1 | -enable? (0=disable, 1=enable, 2=disable_floor_only) | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 208 | -- MAV_CMD_DO_PARACHUTE - | -Mission command to trigger a parachute | -
| - | -||
| - | -Mission Param #1 | -action (0=disable, 1=enable, 2=release, for some systems see PARACHUTE_ACTION enum, not in general message set.) | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 209 | -- MAV_CMD_DO_MOTOR_TEST - | -Mission command to perform motor test | -
| - | -||
| - | -Mission Param #1 | -motor number (a number from 1 to max number of motors on the vehicle) | -
| - | -Mission Param #2 | -throttle type (0=throttle percentage, 1=PWM, 2=pilot throttle channel pass-through. See MOTOR_TEST_THROTTLE_TYPE enum) | -
| - | -Mission Param #3 | -throttle | -
| - | -Mission Param #4 | -timeout (in seconds) | -
| - | -Mission Param #5 | -motor count (number of motors to test to test in sequence, waiting for the timeout above between them; 0=1 motor, 1=1 motor, 2=2 motors...) | -
| - | -Mission Param #6 | -motor test order (See MOTOR_TEST_ORDER enum) | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 210 | -- MAV_CMD_DO_INVERTED_FLIGHT - | -Change to/from inverted flight | -
| - | -||
| - | -Mission Param #1 | -inverted (0=normal, 1=inverted) | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 213 | -- MAV_CMD_NAV_SET_YAW_SPEED - | -Sets a desired vehicle turn angle and speed change | -
| - | -||
| - | -Mission Param #1 | -yaw angle to adjust steering by in centidegress | -
| - | -Mission Param #2 | -speed - normalized to 0 .. 1 | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 214 | -- MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL - | -Mission command to set camera trigger interval for this flight. If triggering is enabled, the camera is triggered each time this interval expires. This command can also be used to set the shutter integration time for the camera. | -
| - | -||
| - | -Mission Param #1 | -Camera trigger cycle time (milliseconds). -1 or 0 to ignore. | -
| - | -Mission Param #2 | -Camera shutter integration time (milliseconds). Should be less than trigger cycle time. -1 or 0 to ignore. | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 220 | -- MAV_CMD_DO_MOUNT_CONTROL_QUAT - | -Mission command to control a camera or antenna mount, using a quaternion as reference. | -
| - | -||
| - | -Mission Param #1 | -q1 - quaternion param #1, w (1 in null-rotation) | -
| - | -Mission Param #2 | -q2 - quaternion param #2, x (0 in null-rotation) | -
| - | -Mission Param #3 | -q3 - quaternion param #3, y (0 in null-rotation) | -
| - | -Mission Param #4 | -q4 - quaternion param #4, z (0 in null-rotation) | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 221 | -- MAV_CMD_DO_GUIDED_MASTER - | -set id of master controller | -
| - | -||
| - | -Mission Param #1 | -System ID | -
| - | -Mission Param #2 | -Component ID | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 222 | -- MAV_CMD_DO_GUIDED_LIMITS - | -set limits for external control | -
| - | -||
| - | -Mission Param #1 | -timeout - maximum time (in seconds) that external controller will be allowed to control vehicle. 0 means no timeout | -
| - | -Mission Param #2 | -Absolute altitude (AMSL) min, in meters - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit | -
| - | -Mission Param #3 | -Absolute altitude (AMSL) max, in meters - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit | -
| - | -Mission Param #4 | -Horizontal move limit (AMSL), in meters - if vehicle moves more than this distance from its location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal altitude limit | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 223 | -- MAV_CMD_DO_ENGINE_CONTROL - | -Control vehicle engine. This is interpreted by the vehicles engine controller to change the target engine state. It is intended for vehicles with internal combustion engines | -
| - | -||
| - | -Mission Param #1 | -0: Stop engine, 1:Start Engine | -
| - | -Mission Param #2 | -0: Warm start, 1:Cold start. Controls use of choke where applicable | -
| - | -Mission Param #3 | -Height delay (meters). This is for commanding engine start only after the vehicle has gained the specified height. Used in VTOL vehicles during takeoff to start engine after the aircraft is off the ground. Zero for no delay. | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 224 | -- MAV_CMD_DO_SET_MISSION_CURRENT - | -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 Param #1 | -Mission sequence value to set | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 240 | -- MAV_CMD_DO_LAST - | -NOP - This command is only used to mark the upper limit of the DO commands in the enumeration | -
| - | -||
| - | -Mission Param #1 | -Empty | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 241 | -- MAV_CMD_PREFLIGHT_CALIBRATION - | -Trigger calibration. This command will be only accepted if in pre-flight mode. Except for Temperature Calibration, only one sensor should be set in a single message and all others should be zero. | -
| - | -||
| - | -Mission Param #1 | -1: gyro calibration, 3: gyro temperature calibration | -
| - | -Mission Param #2 | -1: magnetometer calibration | -
| - | -Mission Param #3 | -1: ground pressure calibration | -
| - | -Mission Param #4 | -1: radio RC calibration, 2: RC trim calibration | -
| - | -Mission Param #5 | -1: accelerometer calibration, 2: board level calibration, 3: accelerometer temperature calibration, 4: simple accelerometer calibration | -
| - | -Mission Param #6 | -1: APM: compass/motor interference calibration (PX4: airspeed calibration, deprecated), 2: airspeed calibration | -
| - | -Mission Param #7 | -1: ESC calibration, 3: barometer temperature calibration | -
|
- - |
- ||
| 242 | -- MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS - | -Set sensor offsets. This command will be only accepted if in pre-flight mode. | -
| - | -||
| - | -Mission Param #1 | -Sensor to adjust the offsets for: 0: gyros, 1: accelerometer, 2: magnetometer, 3: barometer, 4: optical flow, 5: second magnetometer, 6: third magnetometer | -
| - | -Mission Param #2 | -X axis offset (or generic dimension 1), in the sensor's raw units | -
| - | -Mission Param #3 | -Y axis offset (or generic dimension 2), in the sensor's raw units | -
| - | -Mission Param #4 | -Z axis offset (or generic dimension 3), in the sensor's raw units | -
| - | -Mission Param #5 | -Generic dimension 4, in the sensor's raw units | -
| - | -Mission Param #6 | -Generic dimension 5, in the sensor's raw units | -
| - | -Mission Param #7 | -Generic dimension 6, in the sensor's raw units | -
|
- - |
- ||
| 243 | -- MAV_CMD_PREFLIGHT_UAVCAN - | -Trigger UAVCAN config. This command will be only accepted if in pre-flight mode. | -
| - | -||
| - | -Mission Param #1 | -1: Trigger actuator ID assignment and direction mapping. | -
| - | -Mission Param #2 | -Reserved | -
| - | -Mission Param #3 | -Reserved | -
| - | -Mission Param #4 | -Reserved | -
| - | -Mission Param #5 | -Reserved | -
| - | -Mission Param #6 | -Reserved | -
| - | -Mission Param #7 | -Reserved | -
|
- - |
- ||
| 245 | -- MAV_CMD_PREFLIGHT_STORAGE - | -Request storage of different parameter values and logs. This command will be only accepted if in pre-flight mode. | -
| - | -||
| - | -Mission Param #1 | -Parameter storage: 0: READ FROM FLASH/EEPROM, 1: WRITE CURRENT TO FLASH/EEPROM, 2: Reset to defaults | -
| - | -Mission Param #2 | -Mission storage: 0: READ FROM FLASH/EEPROM, 1: WRITE CURRENT TO FLASH/EEPROM, 2: Reset to defaults | -
| - | -Mission Param #3 | -Onboard logging: 0: Ignore, 1: Start default rate logging, -1: Stop logging, > 1: start logging with rate of param 3 in Hz (e.g. set to 1000 for 1000 Hz logging) | -
| - | -Mission Param #4 | -Reserved | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 246 | -- MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN - | -Request the reboot or shutdown of system components. | -
| - | -||
| - | -Mission Param #1 | -0: Do nothing for autopilot, 1: Reboot autopilot, 2: Shutdown autopilot, 3: Reboot autopilot and keep it in the bootloader until upgraded. | -
| - | -Mission Param #2 | -0: Do nothing for onboard computer, 1: Reboot onboard computer, 2: Shutdown onboard computer, 3: Reboot onboard computer and keep it in the bootloader until upgraded. | -
| - | -Mission Param #3 | -WIP: 0: Do nothing for camera, 1: Reboot onboard camera, 2: Shutdown onboard camera, 3: Reboot onboard camera and keep it in the bootloader until upgraded | -
| - | -Mission Param #4 | -WIP: 0: Do nothing for mount (e.g. gimbal), 1: Reboot mount, 2: Shutdown mount, 3: Reboot mount and keep it in the bootloader until upgraded | -
| - | -Mission Param #5 | -Reserved, send 0 | -
| - | -Mission Param #6 | -Reserved, send 0 | -
| - | -Mission Param #7 | -WIP: ID (e.g. camera ID -1 for all IDs) | -
|
- - |
- ||
| 252 | -- MAV_CMD_OVERRIDE_GOTO - | -Hold / continue the current action | -
| - | -||
| - | -Mission Param #1 | -MAV_GOTO_DO_HOLD: hold MAV_GOTO_DO_CONTINUE: continue with next item in mission plan | -
| - | -Mission Param #2 | -MAV_GOTO_HOLD_AT_CURRENT_POSITION: Hold at current position MAV_GOTO_HOLD_AT_SPECIFIED_POSITION: hold at specified position | -
| - | -Mission Param #3 | -MAV_FRAME coordinate frame of hold point | -
| - | -Mission Param #4 | -Desired yaw angle in degrees | -
| - | -Mission Param #5 | -Latitude / X position | -
| - | -Mission Param #6 | -Longitude / Y position | -
| - | -Mission Param #7 | -Altitude / Z position | -
|
- - |
- ||
| 300 | -- MAV_CMD_MISSION_START - | -start running a mission | -
| - | -||
| - | -Mission Param #1 | -first_item: the first mission item to run | -
| - | -Mission Param #2 | -last_item: the last mission item to run (after this item is run, the mission ends) | -
|
- - |
- ||
| 400 | -- MAV_CMD_COMPONENT_ARM_DISARM - | -Arms / Disarms a component | -
| - | -||
| - | -Mission Param #1 | -1 to arm, 0 to disarm | -
|
- - |
- ||
| 410 | -- MAV_CMD_GET_HOME_POSITION - | -Request the home position from the vehicle. | -
| - | -||
| - | -Mission Param #1 | -Reserved | -
| - | -Mission Param #2 | -Reserved | -
| - | -Mission Param #3 | -Reserved | -
| - | -Mission Param #4 | -Reserved | -
| - | -Mission Param #5 | -Reserved | -
| - | -Mission Param #6 | -Reserved | -
| - | -Mission Param #7 | -Reserved | -
|
- - |
- ||
| 500 | -- MAV_CMD_START_RX_PAIR - | -Starts receiver pairing | -
| - | -||
| - | -Mission Param #1 | -0:Spektrum | -
| - | -Mission Param #2 | -RC type (see RC_TYPE enum) | -
|
- - |
- ||
| 510 | -- MAV_CMD_GET_MESSAGE_INTERVAL - | -Request the interval between messages for a particular MAVLink message ID | -
| - | -||
| - | -Mission Param #1 | -The MAVLink message ID | -
|
- - |
- ||
| 511 | -- MAV_CMD_SET_MESSAGE_INTERVAL - | -Set the interval between messages for a particular MAVLink message ID. This interface replaces REQUEST_DATA_STREAM | -
| - | -||
| - | -Mission Param #1 | -The MAVLink message ID | -
| - | -Mission Param #2 | -The interval between two messages, in microseconds. Set to -1 to disable and 0 to request default rate. | -
|
- - |
- ||
| 519 | -- MAV_CMD_REQUEST_PROTOCOL_VERSION - | -Request MAVLink protocol version compatibility | -
| - | -||
| - | -Mission Param #1 | -1: Request supported protocol versions by all nodes on the network | -
| - | -Mission Param #2 | -Reserved (all remaining params) | -
|
- - |
- ||
| 520 | -- MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES - | -Request autopilot capabilities | -
| - | -||
| - | -Mission Param #1 | -1: Request autopilot version | -
| - | -Mission Param #2 | -Reserved (all remaining params) | -
|
- - |
- ||
| 521 | -- MAV_CMD_REQUEST_CAMERA_INFORMATION - | -Request camera information (CAMERA_INFORMATION). | -
| - | -||
| - | -Mission Param #1 | -0: No action 1: Request camera capabilities | -
| - | -Mission Param #2 | -Reserved (all remaining params) | -
|
- - |
- ||
| 522 | -- MAV_CMD_REQUEST_CAMERA_SETTINGS - | -Request camera settings (CAMERA_SETTINGS). | -
| - | -||
| - | -Mission Param #1 | -0: No Action 1: Request camera settings | -
| - | -Mission Param #2 | -Reserved (all remaining params) | -
|
- - |
- ||
| 525 | -- MAV_CMD_REQUEST_STORAGE_INFORMATION - | -Request storage information (STORAGE_INFORMATION). Use the command's target_component to target a specific component's storage. | -
| - | -||
| - | -Mission Param #1 | -Storage ID (0 for all, 1 for first, 2 for second, etc.) | -
| - | -Mission Param #2 | -0: No Action 1: Request storage information | -
| - | -Mission Param #3 | -Reserved (all remaining params) | -
|
- - |
- ||
| 526 | -- MAV_CMD_STORAGE_FORMAT - | -Format a storage medium. Once format is complete, a STORAGE_INFORMATION message is sent. Use the command's target_component to target a specific component's storage. | -
| - | -||
| - | -Mission Param #1 | -Storage ID (1 for first, 2 for second, etc.) | -
| - | -Mission Param #2 | -0: No action 1: Format storage | -
| - | -Mission Param #3 | -Reserved (all remaining params) | -
|
- - |
- ||
| 527 | -- MAV_CMD_REQUEST_CAMERA_CAPTURE_STATUS - | -Request camera capture status (CAMERA_CAPTURE_STATUS) | -
| - | -||
| - | -Mission Param #1 | -0: No Action 1: Request camera capture status | -
| - | -Mission Param #2 | -Reserved (all remaining params) | -
|
- - |
- ||
| 528 | -- MAV_CMD_REQUEST_FLIGHT_INFORMATION - | -Request flight information (FLIGHT_INFORMATION) | -
| - | -||
| - | -Mission Param #1 | -1: Request flight information | -
| - | -Mission Param #2 | -Reserved (all remaining params) | -
|
- - |
- ||
| 529 | -- MAV_CMD_RESET_CAMERA_SETTINGS - | -Reset all camera settings to Factory Default | -
| - | -||
| - | -Mission Param #1 | -0: No Action 1: Reset all settings | -
| - | -Mission Param #2 | -Reserved (all remaining params) | -
|
- - |
- ||
| 530 | -- MAV_CMD_SET_CAMERA_MODE - | -Set camera running mode. Use NAN for reserved values. | -
| - | -||
| - | -Mission Param #1 | -Reserved (Set to 0) | -
| - | -Mission Param #2 | -Camera mode (see CAMERA_MODE enum) | -
| - | -Mission Param #3 | -Reserved (all remaining params) | -
|
- - |
- ||
| 2000 | -- MAV_CMD_IMAGE_START_CAPTURE - | -Start image capture sequence. Sends CAMERA_IMAGE_CAPTURED after each capture. Use NAN for reserved values. | -
| - | -||
| - | -Mission Param #1 | -Reserved (Set to 0) | -
| - | -Mission Param #2 | -Duration between two consecutive pictures (in seconds) | -
| - | -Mission Param #3 | -Number of images to capture total - 0 for unlimited capture | -
| - | -Mission Param #4 | -Capture sequence (ID to prevent double captures when a command is retransmitted, 0: unused, >= 1: used) | -
| - | -Mission Param #5 | -Reserved (all remaining params) | -
|
- - |
- ||
| 2001 | -- MAV_CMD_IMAGE_STOP_CAPTURE - | -Stop image capture sequence Use NAN for reserved values. | -
| - | -||
| - | -Mission Param #1 | -Reserved (Set to 0) | -
| - | -Mission Param #2 | -Reserved (all remaining params) | -
|
- - |
- ||
| 2002 | -- MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE - | -Re-request a CAMERA_IMAGE_CAPTURE packet. Use NAN for reserved values. | -
| - | -||
| - | -Mission Param #1 | -Sequence number for missing CAMERA_IMAGE_CAPTURE packet | -
| - | -Mission Param #2 | -Reserved (all remaining params) | -
|
- - |
- ||
| 2003 | -- MAV_CMD_DO_TRIGGER_CONTROL - | -Enable or disable on-board camera triggering system. | -
| - | -||
| - | -Mission Param #1 | -Trigger enable/disable (0 for disable, 1 for start), -1 to ignore | -
| - | -Mission Param #2 | -1 to reset the trigger sequence, -1 or 0 to ignore | -
| - | -Mission Param #3 | -1 to pause triggering, but without switching the camera off or retracting it. -1 to ignore | -
|
- - |
- ||
| 2500 | -- MAV_CMD_VIDEO_START_CAPTURE - | -Starts video capture (recording). Use NAN for reserved values. | -
| - | -||
| - | -Mission Param #1 | -Reserved (Set to 0) | -
| - | -Mission Param #2 | -Frequency CAMERA_CAPTURE_STATUS messages should be sent while recording (0 for no messages, otherwise frequency in Hz) | -
| - | -Mission Param #3 | -Reserved (all remaining params) | -
|
- - |
- ||
| 2501 | -- MAV_CMD_VIDEO_STOP_CAPTURE - | -Stop the current video capture (recording). Use NAN for reserved values. | -
| - | -||
| - | -Mission Param #1 | -Reserved (Set to 0) | -
| - | -Mission Param #2 | -Reserved (all remaining params) | -
|
- - |
- ||
| 2502 | -- MAV_CMD_VIDEO_START_STREAMING - | -Start video streaming | -
| - | -||
| - | -Mission Param #1 | -Camera ID (0 for all cameras, 1 for first, 2 for second, etc.) | -
| - | -Mission Param #2 | -Reserved | -
|
- - |
- ||
| 2503 | -- MAV_CMD_VIDEO_STOP_STREAMING - | -Stop the current video streaming | -
| - | -||
| - | -Mission Param #1 | -Camera ID (0 for all cameras, 1 for first, 2 for second, etc.) | -
| - | -Mission Param #2 | -Reserved | -
|
- - |
- ||
| 2504 | -- MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION - | -Request video stream information (VIDEO_STREAM_INFORMATION) | -
| - | -||
| - | -Mission Param #1 | -Camera ID (0 for all cameras, 1 for first, 2 for second, etc.) | -
| - | -Mission Param #2 | -0: No Action 1: Request video stream information | -
| - | -Mission Param #3 | -Reserved (all remaining params) | -
|
- - |
- ||
| 2510 | -- MAV_CMD_LOGGING_START - | -Request to start streaming logging data over MAVLink (see also LOGGING_DATA message) | -
| - | -||
| - | -Mission Param #1 | -Format: 0: ULog | -
| - | -Mission Param #2 | -Reserved (set to 0) | -
| - | -Mission Param #3 | -Reserved (set to 0) | -
| - | -Mission Param #4 | -Reserved (set to 0) | -
| - | -Mission Param #5 | -Reserved (set to 0) | -
| - | -Mission Param #6 | -Reserved (set to 0) | -
| - | -Mission Param #7 | -Reserved (set to 0) | -
|
- - |
- ||
| 2511 | -- MAV_CMD_LOGGING_STOP - | -Request to stop streaming log data over MAVLink | -
| - | -||
| - | -Mission Param #1 | -Reserved (set to 0) | -
| - | -Mission Param #2 | -Reserved (set to 0) | -
| - | -Mission Param #3 | -Reserved (set to 0) | -
| - | -Mission Param #4 | -Reserved (set to 0) | -
| - | -Mission Param #5 | -Reserved (set to 0) | -
| - | -Mission Param #6 | -Reserved (set to 0) | -
| - | -Mission Param #7 | -Reserved (set to 0) | -
|
- - |
- ||
| 2520 | -- MAV_CMD_AIRFRAME_CONFIGURATION - | -- | -
| - | -||
| - | -Mission Param #1 | -Landing gear ID (default: 0, -1 for all) | -
| - | -Mission Param #2 | -Landing gear position (Down: 0, Up: 1, NAN for no change) | -
| - | -Mission Param #3 | -Reserved, set to NAN | -
| - | -Mission Param #4 | -Reserved, set to NAN | -
| - | -Mission Param #5 | -Reserved, set to NAN | -
| - | -Mission Param #6 | -Reserved, set to NAN | -
| - | -Mission Param #7 | -Reserved, set to NAN | -
|
- - |
- ||
| 2600 | -- MAV_CMD_CONTROL_HIGH_LATENCY - | -Request to start/stop transmitting over the high latency telemetry | -
| - | -||
| - | -Mission Param #1 | -Control transmission over high latency telemetry (0: stop, 1: start) | -
| - | -Mission Param #2 | -Empty | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
| 2800 | -- MAV_CMD_PANORAMA_CREATE - | -Create a panorama at the current position | -
| - | -||
| - | -Mission Param #1 | -Viewing angle horizontal of the panorama (in degrees, +- 0.5 the total angle) | -
| - | -Mission Param #2 | -Viewing angle vertical of panorama (in degrees) | -
| - | -Mission Param #3 | -Speed of the horizontal rotation (in degrees per second) | -
| - | -Mission Param #4 | -Speed of the vertical rotation (in degrees per second) | -
|
- - |
- ||
| 3000 | -- MAV_CMD_DO_VTOL_TRANSITION - | -Request VTOL transition | -
| - | -||
| - | -Mission Param #1 | -The target VTOL state, as defined by ENUM MAV_VTOL_STATE. Only MAV_VTOL_STATE_MC and MAV_VTOL_STATE_FW can be used. | -
|
- - |
- ||
| 3001 | -- MAV_CMD_ARM_AUTHORIZATION_REQUEST - | -Request authorization to arm the vehicle to a external entity, the arm authorizer is responsible to request all data that is needs from the vehicle before authorize or deny the request. If approved the progress of command_ack message should be set with period of time that this authorization is valid in seconds or in case it was denied it should be set with one of the reasons in ARM_AUTH_DENIED_REASON. | -
| - | -||
| - | -Mission Param #1 | -Vehicle system id, this way ground station can request arm authorization on behalf of any vehicle | -
|
- - |
- ||
| 4000 | -- MAV_CMD_SET_GUIDED_SUBMODE_STANDARD - | -This command sets the submode to standard guided when vehicle is in guided mode. The vehicle holds position and altitude and the user can input the desired velocities along all three axes. | -
| 4001 | -- MAV_CMD_SET_GUIDED_SUBMODE_CIRCLE - | -This command sets submode circle when vehicle is in guided mode. Vehicle flies along a circle facing the center of the circle. The user can input the velocity along the circle and change the radius. If no input is given the vehicle will hold position. | -
| - | -||
| - | -Mission Param #1 | -Radius of desired circle in CIRCLE_MODE | -
| - | -Mission Param #2 | -User defined | -
| - | -Mission Param #3 | -User defined | -
| - | -Mission Param #4 | -User defined | -
| - | -Mission Param #5 | -Unscaled target latitude of center of circle in CIRCLE_MODE | -
| - | -Mission Param #6 | -Unscaled target longitude of center of circle in CIRCLE_MODE | -
|
- - |
- ||
| 4501 | -- MAV_CMD_CONDITION_GATE - | -Delay mission state machine until gate has been reached. | -
| - | -||
| - | -Mission Param #1 | -Geometry: 0: orthogonal to path between previous and next waypoint. | -
| - | -Mission Param #2 | -Altitude: 0: ignore altitude | -
| - | -Mission Param #3 | -Empty | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Altitude | -
|
- - |
- ||
| 5000 | -- MAV_CMD_NAV_FENCE_RETURN_POINT - | -Fence return point. There can only be one fence return point. | -
| - | -||
| - | -Mission Param #1 | -Reserved | -
| - | -Mission Param #2 | -Reserved | -
| - | -Mission Param #3 | -Reserved | -
| - | -Mission Param #4 | -Reserved | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Altitude | -
|
- - |
- ||
| 5001 | -- MAV_CMD_NAV_FENCE_POLYGON_VERTEX_INCLUSION - | -Fence vertex for an inclusion polygon (the polygon must not be self-intersecting). The vehicle must stay within this area. Minimum of 3 vertices required. | -
| - | -||
| - | -Mission Param #1 | -Polygon vertex count | -
| - | -Mission Param #2 | -Reserved | -
| - | -Mission Param #3 | -Reserved | -
| - | -Mission Param #4 | -Reserved | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Reserved | -
|
- - |
- ||
| 5002 | -- MAV_CMD_NAV_FENCE_POLYGON_VERTEX_EXCLUSION - | -Fence vertex for an exclusion polygon (the polygon must not be self-intersecting). The vehicle must stay outside this area. Minimum of 3 vertices required. | -
| - | -||
| - | -Mission Param #1 | -Polygon vertex count | -
| - | -Mission Param #2 | -Reserved | -
| - | -Mission Param #3 | -Reserved | -
| - | -Mission Param #4 | -Reserved | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Reserved | -
|
- - |
- ||
| 5003 | -- MAV_CMD_NAV_FENCE_CIRCLE_INCLUSION - | -Circular fence area. The vehicle must stay inside this area. | -
| - | -||
| - | -Mission Param #1 | -radius in meters | -
| - | -Mission Param #2 | -Reserved | -
| - | -Mission Param #3 | -Reserved | -
| - | -Mission Param #4 | -Reserved | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Reserved | -
|
- - |
- ||
| 5004 | -- MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION - | -Circular fence area. The vehicle must stay outside this area. | -
| - | -||
| - | -Mission Param #1 | -radius in meters | -
| - | -Mission Param #2 | -Reserved | -
| - | -Mission Param #3 | -Reserved | -
| - | -Mission Param #4 | -Reserved | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Reserved | -
|
- - |
- ||
| 5100 | -- MAV_CMD_NAV_RALLY_POINT - | -Rally point. You can have multiple rally points defined. | -
| - | -||
| - | -Mission Param #1 | -Reserved | -
| - | -Mission Param #2 | -Reserved | -
| - | -Mission Param #3 | -Reserved | -
| - | -Mission Param #4 | -Reserved | -
| - | -Mission Param #5 | -Latitude | -
| - | -Mission Param #6 | -Longitude | -
| - | -Mission Param #7 | -Altitude | -
|
- - |
- ||
| 5200 | -- MAV_CMD_UAVCAN_GET_NODE_INFO - | -Commands the vehicle to respond with a sequence of messages UAVCAN_NODE_INFO, one message per every UAVCAN node that is online. Note that some of the response messages can be lost, which the receiver can detect easily by checking whether every received UAVCAN_NODE_STATUS has a matching message UAVCAN_NODE_INFO received earlier; if not, this command should be sent again in order to request re-transmission of the node information messages. | -
| - | -||
| - | -Mission Param #1 | -Reserved (set to 0) | -
| - | -Mission Param #2 | -Reserved (set to 0) | -
| - | -Mission Param #3 | -Reserved (set to 0) | -
| - | -Mission Param #4 | -Reserved (set to 0) | -
| - | -Mission Param #5 | -Reserved (set to 0) | -
| - | -Mission Param #6 | -Reserved (set to 0) | -
| - | -Mission Param #7 | -Reserved (set to 0) | -
|
- - |
- ||
| 30001 | -- MAV_CMD_PAYLOAD_PREPARE_DEPLOY - | -Deploy payload on a Lat / Lon / Alt position. This includes the navigation to reach the required release position and velocity. | -
| - | -||
| - | -Mission Param #1 | -Operation mode. 0: prepare single payload deploy (overwriting previous requests), but do not execute it. 1: execute payload deploy immediately (rejecting further deploy commands during execution, but allowing abort). 2: add payload deploy to existing deployment list. | -
| - | -Mission Param #2 | -Desired approach vector in degrees compass heading (0..360). A negative value indicates the system can define the approach vector at will. | -
| - | -Mission Param #3 | -Desired ground speed at release time. This can be overridden by the airframe in case it needs to meet minimum airspeed. A negative value indicates the system can define the ground speed at will. | -
| - | -Mission Param #4 | -Minimum altitude clearance to the release position in meters. A negative value indicates the system can define the clearance at will. | -
| - | -Mission Param #5 | -Latitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT | -
| - | -Mission Param #6 | -Longitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT | -
| - | -Mission Param #7 | -Altitude (AMSL), in meters | -
|
- - |
- ||
| 30002 | -- MAV_CMD_PAYLOAD_CONTROL_DEPLOY - | -Control the payload deployment. | -
| - | -||
| - | -Mission Param #1 | -Operation mode. 0: Abort deployment, continue normal mission. 1: switch to payload deployment mode. 100: delete first payload deployment request. 101: delete all payload deployment requests. | -
| - | -Mission Param #2 | -Reserved | -
| - | -Mission Param #3 | -Reserved | -
| - | -Mission Param #4 | -Reserved | -
| - | -Mission Param #5 | -Reserved | -
| - | -Mission Param #6 | -Reserved | -
| - | -Mission Param #7 | -Reserved | -
|
- - |
- ||
| 31000 | -- MAV_CMD_WAYPOINT_USER_1 - | -User defined waypoint item. Ground Station will show the Vehicle as flying through this item. | -
| - | -||
| - | -Mission Param #1 | -User defined | -
| - | -Mission Param #2 | -User defined | -
| - | -Mission Param #3 | -User defined | -
| - | -Mission Param #4 | -User defined | -
| - | -Mission Param #5 | -Latitude unscaled | -
| - | -Mission Param #6 | -Longitude unscaled | -
| - | -Mission Param #7 | -Altitude (AMSL), in meters | -
|
- - |
- ||
| 31001 | -- MAV_CMD_WAYPOINT_USER_2 - | -User defined waypoint item. Ground Station will show the Vehicle as flying through this item. | -
| - | -||
| - | -Mission Param #1 | -User defined | -
| - | -Mission Param #2 | -User defined | -
| - | -Mission Param #3 | -User defined | -
| - | -Mission Param #4 | -User defined | -
| - | -Mission Param #5 | -Latitude unscaled | -
| - | -Mission Param #6 | -Longitude unscaled | -
| - | -Mission Param #7 | -Altitude (AMSL), in meters | -
|
- - |
- ||
| 31002 | -- MAV_CMD_WAYPOINT_USER_3 - | -User defined waypoint item. Ground Station will show the Vehicle as flying through this item. | -
| - | -||
| - | -Mission Param #1 | -User defined | -
| - | -Mission Param #2 | -User defined | -
| - | -Mission Param #3 | -User defined | -
| - | -Mission Param #4 | -User defined | -
| - | -Mission Param #5 | -Latitude unscaled | -
| - | -Mission Param #6 | -Longitude unscaled | -
| - | -Mission Param #7 | -Altitude (AMSL), in meters | -
|
- - |
- ||
| 31003 | -- MAV_CMD_WAYPOINT_USER_4 - | -User defined waypoint item. Ground Station will show the Vehicle as flying through this item. | -
| - | -||
| - | -Mission Param #1 | -User defined | -
| - | -Mission Param #2 | -User defined | -
| - | -Mission Param #3 | -User defined | -
| - | -Mission Param #4 | -User defined | -
| - | -Mission Param #5 | -Latitude unscaled | -
| - | -Mission Param #6 | -Longitude unscaled | -
| - | -Mission Param #7 | -Altitude (AMSL), in meters | -
|
- - |
- ||
| 31004 | -- MAV_CMD_WAYPOINT_USER_5 - | -User defined waypoint item. Ground Station will show the Vehicle as flying through this item. | -
| - | -||
| - | -Mission Param #1 | -User defined | -
| - | -Mission Param #2 | -User defined | -
| - | -Mission Param #3 | -User defined | -
| - | -Mission Param #4 | -User defined | -
| - | -Mission Param #5 | -Latitude unscaled | -
| - | -Mission Param #6 | -Longitude unscaled | -
| - | -Mission Param #7 | -Altitude (AMSL), in meters | -
|
- - |
- ||
| 31005 | -- MAV_CMD_SPATIAL_USER_1 - | -User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. | -
| - | -||
| - | -Mission Param #1 | -User defined | -
| - | -Mission Param #2 | -User defined | -
| - | -Mission Param #3 | -User defined | -
| - | -Mission Param #4 | -User defined | -
| - | -Mission Param #5 | -Latitude unscaled | -
| - | -Mission Param #6 | -Longitude unscaled | -
| - | -Mission Param #7 | -Altitude (AMSL), in meters | -
|
- - |
- ||
| 31006 | -- MAV_CMD_SPATIAL_USER_2 - | -User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. | -
| - | -||
| - | -Mission Param #1 | -User defined | -
| - | -Mission Param #2 | -User defined | -
| - | -Mission Param #3 | -User defined | -
| - | -Mission Param #4 | -User defined | -
| - | -Mission Param #5 | -Latitude unscaled | -
| - | -Mission Param #6 | -Longitude unscaled | -
| - | -Mission Param #7 | -Altitude (AMSL), in meters | -
|
- - |
- ||
| 31007 | -- MAV_CMD_SPATIAL_USER_3 - | -User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. | -
| - | -||
| - | -Mission Param #1 | -User defined | -
| - | -Mission Param #2 | -User defined | -
| - | -Mission Param #3 | -User defined | -
| - | -Mission Param #4 | -User defined | -
| - | -Mission Param #5 | -Latitude unscaled | -
| - | -Mission Param #6 | -Longitude unscaled | -
| - | -Mission Param #7 | -Altitude (AMSL), in meters | -
|
- - |
- ||
| 31008 | -- MAV_CMD_SPATIAL_USER_4 - | -User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. | -
| - | -||
| - | -Mission Param #1 | -User defined | -
| - | -Mission Param #2 | -User defined | -
| - | -Mission Param #3 | -User defined | -
| - | -Mission Param #4 | -User defined | -
| - | -Mission Param #5 | -Latitude unscaled | -
| - | -Mission Param #6 | -Longitude unscaled | -
| - | -Mission Param #7 | -Altitude (AMSL), in meters | -
|
- - |
- ||
| 31009 | -- MAV_CMD_SPATIAL_USER_5 - | -User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. | -
| - | -||
| - | -Mission Param #1 | -User defined | -
| - | -Mission Param #2 | -User defined | -
| - | -Mission Param #3 | -User defined | -
| - | -Mission Param #4 | -User defined | -
| - | -Mission Param #5 | -Latitude unscaled | -
| - | -Mission Param #6 | -Longitude unscaled | -
| - | -Mission Param #7 | -Altitude (AMSL), in meters | -
|
- - |
- ||
| 31010 | -- MAV_CMD_USER_1 - | -User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. | -
| - | -||
| - | -Mission Param #1 | -User defined | -
| - | -Mission Param #2 | -User defined | -
| - | -Mission Param #3 | -User defined | -
| - | -Mission Param #4 | -User defined | -
| - | -Mission Param #5 | -User defined | -
| - | -Mission Param #6 | -User defined | -
| - | -Mission Param #7 | -User defined | -
|
- - |
- ||
| 31011 | -- MAV_CMD_USER_2 - | -User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. | -
| - | -||
| - | -Mission Param #1 | -User defined | -
| - | -Mission Param #2 | -User defined | -
| - | -Mission Param #3 | -User defined | -
| - | -Mission Param #4 | -User defined | -
| - | -Mission Param #5 | -User defined | -
| - | -Mission Param #6 | -User defined | -
| - | -Mission Param #7 | -User defined | -
|
- - |
- ||
| 31012 | -- MAV_CMD_USER_3 - | -User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. | -
| - | -||
| - | -Mission Param #1 | -User defined | -
| - | -Mission Param #2 | -User defined | -
| - | -Mission Param #3 | -User defined | -
| - | -Mission Param #4 | -User defined | -
| - | -Mission Param #5 | -User defined | -
| - | -Mission Param #6 | -User defined | -
| - | -Mission Param #7 | -User defined | -
|
- - |
- ||
| 31013 | -- MAV_CMD_USER_4 - | -User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. | -
| - | -||
| - | -Mission Param #1 | -User defined | -
| - | -Mission Param #2 | -User defined | -
| - | -Mission Param #3 | -User defined | -
| - | -Mission Param #4 | -User defined | -
| - | -Mission Param #5 | -User defined | -
| - | -Mission Param #6 | -User defined | -
| - | -Mission Param #7 | -User defined | -
|
- - |
- ||
| 31014 | -- MAV_CMD_USER_5 - | -User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. | -
| - | -||
| - | -Mission Param #1 | -User defined | -
| - | -Mission Param #2 | -User defined | -
| - | -Mission Param #3 | -User defined | -
| - | -Mission Param #4 | -User defined | -
| - | -Mission Param #5 | -User defined | -
| - | -Mission Param #6 | -User defined | -
| - | -Mission Param #7 | -User defined | -
|
- - |
- ||
A data stream is not a fixed set of messages, but rather a - recommendation to the autopilot software. Individual autopilots may or may not obey - the recommended messages.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_DATA_STREAM_ALL - | -Enable all data streams | -
| 1 | -- MAV_DATA_STREAM_RAW_SENSORS - | -Enable IMU_RAW, GPS_RAW, GPS_STATUS packets. | -
| 2 | -- MAV_DATA_STREAM_EXTENDED_STATUS - | -Enable GPS_STATUS, CONTROL_STATUS, AUX_STATUS | -
| 3 | -- MAV_DATA_STREAM_RC_CHANNELS - | -Enable RC_CHANNELS_SCALED, RC_CHANNELS_RAW, SERVO_OUTPUT_RAW | -
| 4 | -- MAV_DATA_STREAM_RAW_CONTROLLER - | -Enable ATTITUDE_CONTROLLER_OUTPUT, POSITION_CONTROLLER_OUTPUT, NAV_CONTROLLER_OUTPUT. | -
| 6 | -- MAV_DATA_STREAM_POSITION - | -Enable LOCAL_POSITION, GLOBAL_POSITION/GLOBAL_POSITION_INT messages. | -
| 10 | -- MAV_DATA_STREAM_EXTRA1 - | -Dependent on the autopilot | -
| 11 | -- MAV_DATA_STREAM_EXTRA2 - | -Dependent on the autopilot | -
| 12 | -- MAV_DATA_STREAM_EXTRA3 - | -Dependent on the autopilot | -
The ROI (region of interest) for the vehicle. This can be - be used by the vehicle for camera/vehicle attitude alignment (see - MAV_CMD_NAV_ROI).
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_ROI_NONE - | -No region of interest. | -
| 1 | -- MAV_ROI_WPNEXT - | -Point toward next waypoint, with optional pitch/roll/yaw offset. | -
| 2 | -- MAV_ROI_WPINDEX - | -Point toward given waypoint. | -
| 3 | -- MAV_ROI_LOCATION - | -Point toward fixed location. | -
| 4 | -- MAV_ROI_TARGET - | -Point toward of given id. | -
ACK / NACK / ERROR values as a result of MAV_CMDs and for mission item transmission.
-| Value | -Field Name | -Description | -
|---|---|---|
| - | -- MAV_CMD_ACK_OK - | -Command / mission item is ok. | -
| - | -- MAV_CMD_ACK_ERR_FAIL - | -Generic error message if none of the other reasons fails or if no detailed error reporting is implemented. | -
| - | -- MAV_CMD_ACK_ERR_ACCESS_DENIED - | -The system is refusing to accept this command from this source / communication partner. | -
| - | -- MAV_CMD_ACK_ERR_NOT_SUPPORTED - | -Command or mission item is not supported, other commands would be accepted. | -
| - | -- MAV_CMD_ACK_ERR_COORDINATE_FRAME_NOT_SUPPORTED - | -The coordinate frame of this command / mission item is not supported. | -
| - | -- MAV_CMD_ACK_ERR_COORDINATES_OUT_OF_RANGE - | -The coordinate frame of this command is ok, but he coordinate values exceed the safety limits of this system. This is a generic error, please use the more specific error messages below if possible. | -
| - | -- MAV_CMD_ACK_ERR_X_LAT_OUT_OF_RANGE - | -The X or latitude value is out of range. | -
| - | -- MAV_CMD_ACK_ERR_Y_LON_OUT_OF_RANGE - | -The Y or longitude value is out of range. | -
| - | -- MAV_CMD_ACK_ERR_Z_ALT_OUT_OF_RANGE - | -The Z or altitude value is out of range. | -
Specifies the datatype of a MAVLink parameter.
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- MAV_PARAM_TYPE_UINT8 - | -8-bit unsigned integer | -
| 2 | -- MAV_PARAM_TYPE_INT8 - | -8-bit signed integer | -
| 3 | -- MAV_PARAM_TYPE_UINT16 - | -16-bit unsigned integer | -
| 4 | -- MAV_PARAM_TYPE_INT16 - | -16-bit signed integer | -
| 5 | -- MAV_PARAM_TYPE_UINT32 - | -32-bit unsigned integer | -
| 6 | -- MAV_PARAM_TYPE_INT32 - | -32-bit signed integer | -
| 7 | -- MAV_PARAM_TYPE_UINT64 - | -64-bit unsigned integer | -
| 8 | -- MAV_PARAM_TYPE_INT64 - | -64-bit signed integer | -
| 9 | -- MAV_PARAM_TYPE_REAL32 - | -32-bit floating-point | -
| 10 | -- MAV_PARAM_TYPE_REAL64 - | -64-bit floating-point | -
Specifies the datatype of a MAVLink extended parameter.
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- MAV_PARAM_EXT_TYPE_UINT8 - | -8-bit unsigned integer | -
| 2 | -- MAV_PARAM_EXT_TYPE_INT8 - | -8-bit signed integer | -
| 3 | -- MAV_PARAM_EXT_TYPE_UINT16 - | -16-bit unsigned integer | -
| 4 | -- MAV_PARAM_EXT_TYPE_INT16 - | -16-bit signed integer | -
| 5 | -- MAV_PARAM_EXT_TYPE_UINT32 - | -32-bit unsigned integer | -
| 6 | -- MAV_PARAM_EXT_TYPE_INT32 - | -32-bit signed integer | -
| 7 | -- MAV_PARAM_EXT_TYPE_UINT64 - | -64-bit unsigned integer | -
| 8 | -- MAV_PARAM_EXT_TYPE_INT64 - | -64-bit signed integer | -
| 9 | -- MAV_PARAM_EXT_TYPE_REAL32 - | -32-bit floating-point | -
| 10 | -- MAV_PARAM_EXT_TYPE_REAL64 - | -64-bit floating-point | -
| 11 | -- MAV_PARAM_EXT_TYPE_CUSTOM - | -Custom Type | -
result from a mavlink command
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_RESULT_ACCEPTED - | -Command ACCEPTED and EXECUTED | -
| 1 | -- MAV_RESULT_TEMPORARILY_REJECTED - | -Command TEMPORARY REJECTED/DENIED | -
| 2 | -- MAV_RESULT_DENIED - | -Command PERMANENTLY DENIED | -
| 3 | -- MAV_RESULT_UNSUPPORTED - | -Command UNKNOWN/UNSUPPORTED | -
| 4 | -- MAV_RESULT_FAILED - | -Command executed, but failed | -
| 5 | -- MAV_RESULT_IN_PROGRESS - | -WIP: Command being executed | -
result in a MAVLink mission ack
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_MISSION_ACCEPTED - | -mission accepted OK | -
| 1 | -- MAV_MISSION_ERROR - | -generic error / not accepting mission commands at all right now | -
| 2 | -- MAV_MISSION_UNSUPPORTED_FRAME - | -coordinate frame is not supported | -
| 3 | -- MAV_MISSION_UNSUPPORTED - | -command is not supported | -
| 4 | -- MAV_MISSION_NO_SPACE - | -mission item exceeds storage space | -
| 5 | -- MAV_MISSION_INVALID - | -one of the parameters has an invalid value | -
| 6 | -- MAV_MISSION_INVALID_PARAM1 - | -param1 has an invalid value | -
| 7 | -- MAV_MISSION_INVALID_PARAM2 - | -param2 has an invalid value | -
| 8 | -- MAV_MISSION_INVALID_PARAM3 - | -param3 has an invalid value | -
| 9 | -- MAV_MISSION_INVALID_PARAM4 - | -param4 has an invalid value | -
| 10 | -- MAV_MISSION_INVALID_PARAM5_X - | -x/param5 has an invalid value | -
| 11 | -- MAV_MISSION_INVALID_PARAM6_Y - | -y/param6 has an invalid value | -
| 12 | -- MAV_MISSION_INVALID_PARAM7 - | -param7 has an invalid value | -
| 13 | -- MAV_MISSION_INVALID_SEQUENCE - | -received waypoint out of sequence | -
| 14 | -- MAV_MISSION_DENIED - | -not accepting any mission commands from this communication partner | -
Indicates the severity level, generally used for status messages to indicate their relative urgency. Based on RFC-5424 using expanded definitions at: http://www.kiwisyslog.com/kb/info:-syslog-message-levels/.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_SEVERITY_EMERGENCY - | -System is unusable. This is a "panic" condition. | -
| 1 | -- MAV_SEVERITY_ALERT - | -Action should be taken immediately. Indicates error in non-critical systems. | -
| 2 | -- MAV_SEVERITY_CRITICAL - | -Action must be taken immediately. Indicates failure in a primary system. | -
| 3 | -- MAV_SEVERITY_ERROR - | -Indicates an error in secondary/redundant systems. | -
| 4 | -- MAV_SEVERITY_WARNING - | -Indicates about a possible future error if this is not resolved within a given timeframe. Example would be a low battery warning. | -
| 5 | -- MAV_SEVERITY_NOTICE - | -An unusual event has occurred, though not an error condition. This should be investigated for the root cause. | -
| 6 | -- MAV_SEVERITY_INFO - | -Normal operational messages. Useful for logging. No action is required for these messages. | -
| 7 | -- MAV_SEVERITY_DEBUG - | -Useful non-operational messages that can assist in debugging. These should not occur during normal operation. | -
Power supply status flags (bitmask)
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- MAV_POWER_STATUS_BRICK_VALID - | -main brick power supply valid | -
| 2 | -- MAV_POWER_STATUS_SERVO_VALID - | -main servo power supply valid for FMU | -
| 4 | -- MAV_POWER_STATUS_USB_CONNECTED - | -USB power is connected | -
| 8 | -- MAV_POWER_STATUS_PERIPH_OVERCURRENT - | -peripheral supply is in over-current state | -
| 16 | -- MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT - | -hi-power peripheral supply is in over-current state | -
| 32 | -- MAV_POWER_STATUS_CHANGED - | -Power status has changed since boot | -
SERIAL_CONTROL device types
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- SERIAL_CONTROL_DEV_TELEM1 - | -First telemetry port | -
| 1 | -- SERIAL_CONTROL_DEV_TELEM2 - | -Second telemetry port | -
| 2 | -- SERIAL_CONTROL_DEV_GPS1 - | -First GPS port | -
| 3 | -- SERIAL_CONTROL_DEV_GPS2 - | -Second GPS port | -
| 10 | -- SERIAL_CONTROL_DEV_SHELL - | -system shell | -
SERIAL_CONTROL flags (bitmask)
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- SERIAL_CONTROL_FLAG_REPLY - | -Set if this is a reply | -
| 2 | -- SERIAL_CONTROL_FLAG_RESPOND - | -Set if the sender wants the receiver to send a response as another SERIAL_CONTROL message | -
| 4 | -- SERIAL_CONTROL_FLAG_EXCLUSIVE - | -Set if access to the serial port should be removed from whatever driver is currently using it, giving exclusive access to the SERIAL_CONTROL protocol. The port can be handed back by sending a request without this flag set | -
| 8 | -- SERIAL_CONTROL_FLAG_BLOCKING - | -Block on writes to the serial port | -
| 16 | -- SERIAL_CONTROL_FLAG_MULTI - | -Send multiple replies until port is drained | -
Enumeration of distance sensor types
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_DISTANCE_SENSOR_LASER - | -Laser rangefinder, e.g. LightWare SF02/F or PulsedLight units | -
| 1 | -- MAV_DISTANCE_SENSOR_ULTRASOUND - | -Ultrasound rangefinder, e.g. MaxBotix units | -
| 2 | -- MAV_DISTANCE_SENSOR_INFRARED - | -Infrared rangefinder, e.g. Sharp units | -
| 3 | -- MAV_DISTANCE_SENSOR_RADAR - | -Radar type, e.g. uLanding units | -
| 4 | -- MAV_DISTANCE_SENSOR_UNKNOWN - | -Broken or unknown type, e.g. analog units | -
Enumeration of sensor orientation, according to its rotations
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_SENSOR_ROTATION_NONE - | -Roll: 0, Pitch: 0, Yaw: 0 | -
| 1 | -- MAV_SENSOR_ROTATION_YAW_45 - | -Roll: 0, Pitch: 0, Yaw: 45 | -
| 2 | -- MAV_SENSOR_ROTATION_YAW_90 - | -Roll: 0, Pitch: 0, Yaw: 90 | -
| 3 | -- MAV_SENSOR_ROTATION_YAW_135 - | -Roll: 0, Pitch: 0, Yaw: 135 | -
| 4 | -- MAV_SENSOR_ROTATION_YAW_180 - | -Roll: 0, Pitch: 0, Yaw: 180 | -
| 5 | -- MAV_SENSOR_ROTATION_YAW_225 - | -Roll: 0, Pitch: 0, Yaw: 225 | -
| 6 | -- MAV_SENSOR_ROTATION_YAW_270 - | -Roll: 0, Pitch: 0, Yaw: 270 | -
| 7 | -- MAV_SENSOR_ROTATION_YAW_315 - | -Roll: 0, Pitch: 0, Yaw: 315 | -
| 8 | -- MAV_SENSOR_ROTATION_ROLL_180 - | -Roll: 180, Pitch: 0, Yaw: 0 | -
| 9 | -- MAV_SENSOR_ROTATION_ROLL_180_YAW_45 - | -Roll: 180, Pitch: 0, Yaw: 45 | -
| 10 | -- MAV_SENSOR_ROTATION_ROLL_180_YAW_90 - | -Roll: 180, Pitch: 0, Yaw: 90 | -
| 11 | -- MAV_SENSOR_ROTATION_ROLL_180_YAW_135 - | -Roll: 180, Pitch: 0, Yaw: 135 | -
| 12 | -- MAV_SENSOR_ROTATION_PITCH_180 - | -Roll: 0, Pitch: 180, Yaw: 0 | -
| 13 | -- MAV_SENSOR_ROTATION_ROLL_180_YAW_225 - | -Roll: 180, Pitch: 0, Yaw: 225 | -
| 14 | -- MAV_SENSOR_ROTATION_ROLL_180_YAW_270 - | -Roll: 180, Pitch: 0, Yaw: 270 | -
| 15 | -- MAV_SENSOR_ROTATION_ROLL_180_YAW_315 - | -Roll: 180, Pitch: 0, Yaw: 315 | -
| 16 | -- MAV_SENSOR_ROTATION_ROLL_90 - | -Roll: 90, Pitch: 0, Yaw: 0 | -
| 17 | -- MAV_SENSOR_ROTATION_ROLL_90_YAW_45 - | -Roll: 90, Pitch: 0, Yaw: 45 | -
| 18 | -- MAV_SENSOR_ROTATION_ROLL_90_YAW_90 - | -Roll: 90, Pitch: 0, Yaw: 90 | -
| 19 | -- MAV_SENSOR_ROTATION_ROLL_90_YAW_135 - | -Roll: 90, Pitch: 0, Yaw: 135 | -
| 20 | -- MAV_SENSOR_ROTATION_ROLL_270 - | -Roll: 270, Pitch: 0, Yaw: 0 | -
| 21 | -- MAV_SENSOR_ROTATION_ROLL_270_YAW_45 - | -Roll: 270, Pitch: 0, Yaw: 45 | -
| 22 | -- MAV_SENSOR_ROTATION_ROLL_270_YAW_90 - | -Roll: 270, Pitch: 0, Yaw: 90 | -
| 23 | -- MAV_SENSOR_ROTATION_ROLL_270_YAW_135 - | -Roll: 270, Pitch: 0, Yaw: 135 | -
| 24 | -- MAV_SENSOR_ROTATION_PITCH_90 - | -Roll: 0, Pitch: 90, Yaw: 0 | -
| 25 | -- MAV_SENSOR_ROTATION_PITCH_270 - | -Roll: 0, Pitch: 270, Yaw: 0 | -
| 26 | -- MAV_SENSOR_ROTATION_PITCH_180_YAW_90 - | -Roll: 0, Pitch: 180, Yaw: 90 | -
| 27 | -- MAV_SENSOR_ROTATION_PITCH_180_YAW_270 - | -Roll: 0, Pitch: 180, Yaw: 270 | -
| 28 | -- MAV_SENSOR_ROTATION_ROLL_90_PITCH_90 - | -Roll: 90, Pitch: 90, Yaw: 0 | -
| 29 | -- MAV_SENSOR_ROTATION_ROLL_180_PITCH_90 - | -Roll: 180, Pitch: 90, Yaw: 0 | -
| 30 | -- MAV_SENSOR_ROTATION_ROLL_270_PITCH_90 - | -Roll: 270, Pitch: 90, Yaw: 0 | -
| 31 | -- MAV_SENSOR_ROTATION_ROLL_90_PITCH_180 - | -Roll: 90, Pitch: 180, Yaw: 0 | -
| 32 | -- MAV_SENSOR_ROTATION_ROLL_270_PITCH_180 - | -Roll: 270, Pitch: 180, Yaw: 0 | -
| 33 | -- MAV_SENSOR_ROTATION_ROLL_90_PITCH_270 - | -Roll: 90, Pitch: 270, Yaw: 0 | -
| 34 | -- MAV_SENSOR_ROTATION_ROLL_180_PITCH_270 - | -Roll: 180, Pitch: 270, Yaw: 0 | -
| 35 | -- MAV_SENSOR_ROTATION_ROLL_270_PITCH_270 - | -Roll: 270, Pitch: 270, Yaw: 0 | -
| 36 | -- MAV_SENSOR_ROTATION_ROLL_90_PITCH_180_YAW_90 - | -Roll: 90, Pitch: 180, Yaw: 90 | -
| 37 | -- MAV_SENSOR_ROTATION_ROLL_90_YAW_270 - | -Roll: 90, Pitch: 0, Yaw: 270 | -
| 38 | -- MAV_SENSOR_ROTATION_ROLL_90_PITCH_68_YAW_293 - | -Roll: 90, Pitch: 68, Yaw: 293 | -
| 39 | -- MAV_SENSOR_ROTATION_PITCH_315 - | -Pitch: 315 | -
| 40 | -- MAV_SENSOR_ROTATION_ROLL_90_PITCH_315 - | -Roll: 90, Pitch: 315 | -
| 100 | -- MAV_SENSOR_ROTATION_CUSTOM - | -Custom orientation | -
Bitmask of (optional) autopilot capabilities (64 bit). If a bit is set, the autopilot supports this capability.
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT - | -Autopilot supports MISSION float message type. | -
| 2 | -- MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT - | -Autopilot supports the new param float message type. | -
| 4 | -- MAV_PROTOCOL_CAPABILITY_MISSION_INT - | -Autopilot supports MISSION_INT scaled integer message type. | -
| 8 | -- MAV_PROTOCOL_CAPABILITY_COMMAND_INT - | -Autopilot supports COMMAND_INT scaled integer message type. | -
| 16 | -- MAV_PROTOCOL_CAPABILITY_PARAM_UNION - | -Autopilot supports the new param union message type. | -
| 32 | -- MAV_PROTOCOL_CAPABILITY_FTP - | -Autopilot supports the new FILE_TRANSFER_PROTOCOL message type. | -
| 64 | -- MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET - | -Autopilot supports commanding attitude offboard. | -
| 128 | -- MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED - | -Autopilot supports commanding position and velocity targets in local NED frame. | -
| 256 | -- MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT - | -Autopilot supports commanding position and velocity targets in global scaled integers. | -
| 512 | -- MAV_PROTOCOL_CAPABILITY_TERRAIN - | -Autopilot supports terrain protocol / data handling. | -
| 1024 | -- MAV_PROTOCOL_CAPABILITY_SET_ACTUATOR_TARGET - | -Autopilot supports direct actuator control. | -
| 2048 | -- MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION - | -Autopilot supports the flight termination command. | -
| 4096 | -- MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION - | -Autopilot supports onboard compass calibration. | -
| 8192 | -- MAV_PROTOCOL_CAPABILITY_MAVLINK2 - | -Autopilot supports MAVLink version 2. | -
| 16384 | -- MAV_PROTOCOL_CAPABILITY_MISSION_FENCE - | -Autopilot supports mission fence protocol. | -
| 32768 | -- MAV_PROTOCOL_CAPABILITY_MISSION_RALLY - | -Autopilot supports mission rally point protocol. | -
| 65536 | -- MAV_PROTOCOL_CAPABILITY_FLIGHT_INFORMATION - | -Autopilot supports the flight information protocol. | -
Type of mission items being requested/sent in mission protocol.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_MISSION_TYPE_MISSION - | -Items are mission commands for main mission. | -
| 1 | -- MAV_MISSION_TYPE_FENCE - | -Specifies GeoFence area(s). Items are MAV_CMD_FENCE_ GeoFence items. | -
| 2 | -- MAV_MISSION_TYPE_RALLY - | -Specifies the rally points for the vehicle. Rally points are alternative RTL points. Items are MAV_CMD_RALLY_POINT rally point items. | -
| 255 | -- MAV_MISSION_TYPE_ALL - | -Only used in MISSION_CLEAR_ALL to clear all mission types. | -
Enumeration of estimator types
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- MAV_ESTIMATOR_TYPE_NAIVE - | -This is a naive estimator without any real covariance feedback. | -
| 2 | -- MAV_ESTIMATOR_TYPE_VISION - | -Computer vision based estimate. Might be up to scale. | -
| 3 | -- MAV_ESTIMATOR_TYPE_VIO - | -Visual-inertial estimate. | -
| 4 | -- MAV_ESTIMATOR_TYPE_GPS - | -Plain GPS estimate. | -
| 5 | -- MAV_ESTIMATOR_TYPE_GPS_INS - | -Estimator integrating GPS and inertial sensing. | -
Enumeration of battery types
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_BATTERY_TYPE_UNKNOWN - | -Not specified. | -
| 1 | -- MAV_BATTERY_TYPE_LIPO - | -Lithium polymer battery | -
| 2 | -- MAV_BATTERY_TYPE_LIFE - | -Lithium-iron-phosphate battery | -
| 3 | -- MAV_BATTERY_TYPE_LION - | -Lithium-ION battery | -
| 4 | -- MAV_BATTERY_TYPE_NIMH - | -Nickel metal hydride battery | -
Enumeration of battery functions
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_BATTERY_FUNCTION_UNKNOWN - | -Battery function is unknown | -
| 1 | -- MAV_BATTERY_FUNCTION_ALL - | -Battery supports all flight systems | -
| 2 | -- MAV_BATTERY_FUNCTION_PROPULSION - | -Battery for the propulsion system | -
| 3 | -- MAV_BATTERY_FUNCTION_AVIONICS - | -Avionics battery | -
| 4 | -- MAV_BATTERY_TYPE_PAYLOAD - | -Payload battery | -
Enumeration for low battery states.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_BATTERY_CHARGE_STATE_UNDEFINED - | -Low battery state is not provided | -
| 1 | -- MAV_BATTERY_CHARGE_STATE_OK - | -Battery is not in low state. Normal operation. | -
| 2 | -- MAV_BATTERY_CHARGE_STATE_LOW - | -Battery state is low, warn and monitor close. | -
| 3 | -- MAV_BATTERY_CHARGE_STATE_CRITICAL - | -Battery state is critical, return or abort immediately. | -
| 4 | -- MAV_BATTERY_CHARGE_STATE_EMERGENCY - | -Battery state is too low for ordinary abort sequence. Perform fastest possible emergency stop to prevent damage. | -
| 5 | -- MAV_BATTERY_CHARGE_STATE_FAILED - | -Battery failed, damage unavoidable. | -
| 6 | -- MAV_BATTERY_CHARGE_STATE_UNHEALTHY - | -Battery is diagnosed to be defective or an error occurred, usage is discouraged / prohibited. | -
Enumeration of VTOL states
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_VTOL_STATE_UNDEFINED - | -MAV is not configured as VTOL | -
| 1 | -- MAV_VTOL_STATE_TRANSITION_TO_FW - | -VTOL is in transition from multicopter to fixed-wing | -
| 2 | -- MAV_VTOL_STATE_TRANSITION_TO_MC - | -VTOL is in transition from fixed-wing to multicopter | -
| 3 | -- MAV_VTOL_STATE_MC - | -VTOL is in multicopter state | -
| 4 | -- MAV_VTOL_STATE_FW - | -VTOL is in fixed-wing state | -
Enumeration of landed detector states
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_LANDED_STATE_UNDEFINED - | -MAV landed state is unknown | -
| 1 | -- MAV_LANDED_STATE_ON_GROUND - | -MAV is landed (on ground) | -
| 2 | -- MAV_LANDED_STATE_IN_AIR - | -MAV is in air | -
| 3 | -- MAV_LANDED_STATE_TAKEOFF - | -MAV currently taking off | -
| 4 | -- MAV_LANDED_STATE_LANDING - | -MAV currently landing | -
Enumeration of the ADSB altimeter types
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- ADSB_ALTITUDE_TYPE_PRESSURE_QNH - | -Altitude reported from a Baro source using QNH reference | -
| 1 | -- ADSB_ALTITUDE_TYPE_GEOMETRIC - | -Altitude reported from a GNSS source | -
ADSB classification for the type of vehicle emitting the transponder signal
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- ADSB_EMITTER_TYPE_NO_INFO - | -- | -
| 1 | -- ADSB_EMITTER_TYPE_LIGHT - | -- | -
| 2 | -- ADSB_EMITTER_TYPE_SMALL - | -- | -
| 3 | -- ADSB_EMITTER_TYPE_LARGE - | -- | -
| 4 | -- ADSB_EMITTER_TYPE_HIGH_VORTEX_LARGE - | -- | -
| 5 | -- ADSB_EMITTER_TYPE_HEAVY - | -- | -
| 6 | -- ADSB_EMITTER_TYPE_HIGHLY_MANUV - | -- | -
| 7 | -- ADSB_EMITTER_TYPE_ROTOCRAFT - | -- | -
| 8 | -- ADSB_EMITTER_TYPE_UNASSIGNED - | -- | -
| 9 | -- ADSB_EMITTER_TYPE_GLIDER - | -- | -
| 10 | -- ADSB_EMITTER_TYPE_LIGHTER_AIR - | -- | -
| 11 | -- ADSB_EMITTER_TYPE_PARACHUTE - | -- | -
| 12 | -- ADSB_EMITTER_TYPE_ULTRA_LIGHT - | -- | -
| 13 | -- ADSB_EMITTER_TYPE_UNASSIGNED2 - | -- | -
| 14 | -- ADSB_EMITTER_TYPE_UAV - | -- | -
| 15 | -- ADSB_EMITTER_TYPE_SPACE - | -- | -
| 16 | -- ADSB_EMITTER_TYPE_UNASSGINED3 - | -- | -
| 17 | -- ADSB_EMITTER_TYPE_EMERGENCY_SURFACE - | -- | -
| 18 | -- ADSB_EMITTER_TYPE_SERVICE_SURFACE - | -- | -
| 19 | -- ADSB_EMITTER_TYPE_POINT_OBSTACLE - | -- | -
These flags indicate status such as data validity of each data source. Set = data valid
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- ADSB_FLAGS_VALID_COORDS - | -- | -
| 2 | -- ADSB_FLAGS_VALID_ALTITUDE - | -- | -
| 4 | -- ADSB_FLAGS_VALID_HEADING - | -- | -
| 8 | -- ADSB_FLAGS_VALID_VELOCITY - | -- | -
| 16 | -- ADSB_FLAGS_VALID_CALLSIGN - | -- | -
| 32 | -- ADSB_FLAGS_VALID_SQUAWK - | -- | -
| 64 | -- ADSB_FLAGS_SIMULATED - | -- | -
Bitmap of options for the MAV_CMD_DO_REPOSITION
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- MAV_DO_REPOSITION_FLAGS_CHANGE_MODE - | -The aircraft should immediately transition into guided. This should not be set for follow me applications | -
Flags in EKF_STATUS message
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- ESTIMATOR_ATTITUDE - | -True if the attitude estimate is good | -
| 2 | -- ESTIMATOR_VELOCITY_HORIZ - | -True if the horizontal velocity estimate is good | -
| 4 | -- ESTIMATOR_VELOCITY_VERT - | -True if the vertical velocity estimate is good | -
| 8 | -- ESTIMATOR_POS_HORIZ_REL - | -True if the horizontal position (relative) estimate is good | -
| 16 | -- ESTIMATOR_POS_HORIZ_ABS - | -True if the horizontal position (absolute) estimate is good | -
| 32 | -- ESTIMATOR_POS_VERT_ABS - | -True if the vertical position (absolute) estimate is good | -
| 64 | -- ESTIMATOR_POS_VERT_AGL - | -True if the vertical position (above ground) estimate is good | -
| 128 | -- ESTIMATOR_CONST_POS_MODE - | -True if the EKF is in a constant position mode and is not using external measurements (eg GPS or optical flow) | -
| 256 | -- ESTIMATOR_PRED_POS_HORIZ_REL - | -True if the EKF has sufficient data to enter a mode that will provide a (relative) position estimate | -
| 512 | -- ESTIMATOR_PRED_POS_HORIZ_ABS - | -True if the EKF has sufficient data to enter a mode that will provide a (absolute) position estimate | -
| 1024 | -- ESTIMATOR_GPS_GLITCH - | -True if the EKF has detected a GPS glitch | -
| 2048 | -- ESTIMATOR_ACCEL_ERROR - | -True if the EKF has detected bad accelerometer data | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MOTOR_TEST_ORDER_DEFAULT - | -default autopilot motor test method | -
| 1 | -- MOTOR_TEST_ORDER_SEQUENCE - | -motor numbers are specified as their index in a predefined vehicle-specific sequence | -
| 2 | -- MOTOR_TEST_ORDER_BOARD - | -motor numbers are specified as the output as labeled on the board | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MOTOR_TEST_THROTTLE_PERCENT - | -throttle as a percentage from 0 ~ 100 | -
| 1 | -- MOTOR_TEST_THROTTLE_PWM - | -throttle as an absolute PWM value (normally in range of 1000~2000) | -
| 2 | -- MOTOR_TEST_THROTTLE_PILOT - | -throttle pass-through from pilot's transmitter | -
| 3 | -- MOTOR_TEST_COMPASS_CAL - | -per-motor compass calibration test | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- GPS_INPUT_IGNORE_FLAG_ALT - | -ignore altitude field | -
| 2 | -- GPS_INPUT_IGNORE_FLAG_HDOP - | -ignore hdop field | -
| 4 | -- GPS_INPUT_IGNORE_FLAG_VDOP - | -ignore vdop field | -
| 8 | -- GPS_INPUT_IGNORE_FLAG_VEL_HORIZ - | -ignore horizontal velocity field (vn and ve) | -
| 16 | -- GPS_INPUT_IGNORE_FLAG_VEL_VERT - | -ignore vertical velocity field (vd) | -
| 32 | -- GPS_INPUT_IGNORE_FLAG_SPEED_ACCURACY - | -ignore speed accuracy field | -
| 64 | -- GPS_INPUT_IGNORE_FLAG_HORIZONTAL_ACCURACY - | -ignore horizontal accuracy field | -
| 128 | -- GPS_INPUT_IGNORE_FLAG_VERTICAL_ACCURACY - | -ignore vertical accuracy field | -
Possible actions an aircraft can take to avoid a collision.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_COLLISION_ACTION_NONE - | -Ignore any potential collisions | -
| 1 | -- MAV_COLLISION_ACTION_REPORT - | -Report potential collision | -
| 2 | -- MAV_COLLISION_ACTION_ASCEND_OR_DESCEND - | -Ascend or Descend to avoid threat | -
| 3 | -- MAV_COLLISION_ACTION_MOVE_HORIZONTALLY - | -Move horizontally to avoid threat | -
| 4 | -- MAV_COLLISION_ACTION_MOVE_PERPENDICULAR - | -Aircraft to move perpendicular to the collision's velocity vector | -
| 5 | -- MAV_COLLISION_ACTION_RTL - | -Aircraft to fly directly back to its launch point | -
| 6 | -- MAV_COLLISION_ACTION_HOVER - | -Aircraft to stop in place | -
Aircraft-rated danger from this threat.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_COLLISION_THREAT_LEVEL_NONE - | -Not a threat | -
| 1 | -- MAV_COLLISION_THREAT_LEVEL_LOW - | -Craft is mildly concerned about this threat | -
| 2 | -- MAV_COLLISION_THREAT_LEVEL_HIGH - | -Craft is panicing, and may take actions to avoid threat | -
Source of information about this collision.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_COLLISION_SRC_ADSB - | -ID field references ADSB_VEHICLE packets | -
| 1 | -- MAV_COLLISION_SRC_MAVLINK_GPS_GLOBAL_INT - | -ID field references MAVLink SRC ID | -
Type of GPS fix
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- GPS_FIX_TYPE_NO_GPS - | -No GPS connected | -
| 1 | -- GPS_FIX_TYPE_NO_FIX - | -No position information, GPS is connected | -
| 2 | -- GPS_FIX_TYPE_2D_FIX - | -2D position | -
| 3 | -- GPS_FIX_TYPE_3D_FIX - | -3D position | -
| 4 | -- GPS_FIX_TYPE_DGPS - | -DGPS/SBAS aided 3D position | -
| 5 | -- GPS_FIX_TYPE_RTK_FLOAT - | -RTK float, 3D position | -
| 6 | -- GPS_FIX_TYPE_RTK_FIXED - | -RTK Fixed, 3D position | -
| 7 | -- GPS_FIX_TYPE_STATIC - | -Static fixed, typically used for base stations | -
| 8 | -- GPS_FIX_TYPE_PPP - | -PPP, 3D position. | -
RTK GPS baseline coordinate system, used for RTK corrections
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- RTK_BASELINE_COORDINATE_SYSTEM_ECEF - | -Earth-centered, Earth-fixed | -
| 1 | -- RTK_BASELINE_COORDINATE_SYSTEM_NED - | -North, East, Down | -
Type of landing target
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- LANDING_TARGET_TYPE_LIGHT_BEACON - | -Landing target signaled by light beacon (ex: IR-LOCK) | -
| 1 | -- LANDING_TARGET_TYPE_RADIO_BEACON - | -Landing target signaled by radio beacon (ex: ILS, NDB) | -
| 2 | -- LANDING_TARGET_TYPE_VISION_FIDUCIAL - | -Landing target represented by a fiducial marker (ex: ARTag) | -
| 3 | -- LANDING_TARGET_TYPE_VISION_OTHER - | -Landing target represented by a pre-defined visual shape/feature (ex: X-marker, H-marker, square) | -
Direction of VTOL transition
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- VTOL_TRANSITION_HEADING_VEHICLE_DEFAULT - | -Respect the heading configuration of the vehicle. | -
| 1 | -- VTOL_TRANSITION_HEADING_NEXT_WAYPOINT - | -Use the heading pointing towards the next waypoint. | -
| 2 | -- VTOL_TRANSITION_HEADING_TAKEOFF - | -Use the heading on takeoff (while sitting on the ground). | -
| 3 | -- VTOL_TRANSITION_HEADING_SPECIFIED - | -Use the specified heading in parameter 4. | -
| 4 | -- VTOL_TRANSITION_HEADING_ANY - | -Use the current heading when reaching takeoff altitude (potentially facing the wind when weather-vaning is active). | -
Camera capability flags (Bitmap).
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- CAMERA_CAP_FLAGS_CAPTURE_VIDEO - | -Camera is able to record video. | -
| 2 | -- CAMERA_CAP_FLAGS_CAPTURE_IMAGE - | -Camera is able to capture images. | -
| 4 | -- CAMERA_CAP_FLAGS_HAS_MODES - | -Camera has separate Video and Image/Photo modes (MAV_CMD_SET_CAMERA_MODE) | -
| 8 | -- CAMERA_CAP_FLAGS_CAN_CAPTURE_IMAGE_IN_VIDEO_MODE - | -Camera can capture images while in video mode | -
| 16 | -- CAMERA_CAP_FLAGS_CAN_CAPTURE_VIDEO_IN_IMAGE_MODE - | -Camera can capture videos while in Photo/Image mode | -
| 32 | -- CAMERA_CAP_FLAGS_HAS_IMAGE_SURVEY_MODE - | -Camera has image survey mode (MAV_CMD_SET_CAMERA_MODE) | -
Result from a PARAM_EXT_SET message.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- PARAM_ACK_ACCEPTED - | -Parameter value ACCEPTED and SET | -
| 1 | -- PARAM_ACK_VALUE_UNSUPPORTED - | -Parameter value UNKNOWN/UNSUPPORTED | -
| 2 | -- PARAM_ACK_FAILED - | -Parameter failed to set | -
| 3 | -- PARAM_ACK_IN_PROGRESS - | -Parameter value received but not yet validated or set. A subsequent PARAM_EXT_ACK will follow once operation is completed with the actual result. These are for parameters that may take longer to set. Instead of waiting for an ACK and potentially timing out, you will immediately receive this response to let you know it was received. | -
Camera Modes.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- CAMERA_MODE_IMAGE - | -Camera is in image/photo capture mode. | -
| 1 | -- CAMERA_MODE_VIDEO - | -Camera is in video capture mode. | -
| 2 | -- CAMERA_MODE_IMAGE_SURVEY - | -Camera is in image survey capture mode. It allows for camera controller to do specific settings for surveys. | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_ARM_AUTH_DENIED_REASON_GENERIC - | -Not a specific reason | -
| 1 | -- MAV_ARM_AUTH_DENIED_REASON_NONE - | -Authorizer will send the error as string to GCS | -
| 2 | -- MAV_ARM_AUTH_DENIED_REASON_INVALID_WAYPOINT - | -At least one waypoint have a invalid value | -
| 3 | -- MAV_ARM_AUTH_DENIED_REASON_TIMEOUT - | -Timeout in the authorizer process(in case it depends on network) | -
| 4 | -- MAV_ARM_AUTH_DENIED_REASON_AIRSPACE_IN_USE - | -Airspace of the mission in use by another vehicle, second result parameter can have the waypoint id that caused it to be denied. | -
| 5 | -- MAV_ARM_AUTH_DENIED_REASON_BAD_WEATHER - | -Weather is not good to fly | -
RC type
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- RC_TYPE_SPEKTRUM_DSM2 - | -Spektrum DSM2 | -
| 1 | -- RC_TYPE_SPEKTRUM_DSMX - | -Spektrum DSMX | -
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 Name | -Type | -Values | -Description | -
|---|---|---|---|
| type | -uint8_t | -- MAV_TYPE - | -Type of the MAV (quadrotor, helicopter, etc.) | -
| autopilot | -uint8_t | -- MAV_AUTOPILOT - | -Autopilot type / class. | -
| base_mode | -uint8_t | -- MAV_MODE_FLAG - | -System mode bitmap. | -
| custom_mode | -uint32_t | -- - - | -A bitfield for use for autopilot-specific flags | -
| system_status | -uint8_t | -- MAV_STATE - | -System status flag. | -
| mavlink_version | -uint8_t_mavlink_version | -- - - | -MAVLink version, not writable by user, gets added by protocol because of magic data type: uint8_t_mavlink_version | -
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.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| onboard_control_sensors_present | -uint32_t | -- | -- MAV_SYS_STATUS_SENSOR - | -Bitmap showing which onboard controllers and sensors are present. Value of 0: not present. Value of 1: present. | -
| onboard_control_sensors_enabled | -uint32_t | -- | -- MAV_SYS_STATUS_SENSOR - | -Bitmap showing which onboard controllers and sensors are enabled: Value of 0: not enabled. Value of 1: enabled. | -
| onboard_control_sensors_health | -uint32_t | -- | -- MAV_SYS_STATUS_SENSOR - | -Bitmap showing which onboard controllers and sensors are operational or have an error: Value of 0: not enabled. Value of 1: enabled. | -
| load | -uint16_t | -d% | -- - - | -Maximum usage in percent of the mainloop time. Values: [0-1000] - should always be below 1000 | -
| voltage_battery | -uint16_t | -mV | -- - - | -Battery voltage | -
| current_battery | -int16_t | -cA | -- - - | -Battery current, -1: autopilot does not measure the current | -
| battery_remaining | -int8_t | -- % - | -- - - | -Remaining battery energy, -1: autopilot estimate the remaining battery | -
| drop_rate_comm | -uint16_t | -c% | -- - - | -Communication drop rate, (UART, I2C, SPI, CAN), dropped packets on all links (packets that were corrupted on reception on the MAV) | -
| errors_comm | -uint16_t | -- | -- - - | -Communication errors (UART, I2C, SPI, CAN), dropped packets on all links (packets that were corrupted on reception on the MAV) | -
| errors_count1 | -uint16_t | -- | -- - - | -Autopilot-specific errors | -
| errors_count2 | -uint16_t | -- | -- - - | -Autopilot-specific errors | -
| errors_count3 | -uint16_t | -- | -- - - | -Autopilot-specific errors | -
| errors_count4 | -uint16_t | -- | -- - - | -Autopilot-specific errors | -
The system time is the time of the master clock, typically the computer clock of the main onboard computer.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_unix_usec | -uint64_t | -us | -Timestamp (UNIX epoch time). | -
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
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.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| seq | -uint32_t | -- | -PING sequence | -
| target_system | -uint8_t | -- | -0: request ping from all receiving systems, if greater than 0: message is a ping response and number is the system id of the requesting system | -
| target_component | -uint8_t | -- | -0: request ping from all receiving components, if greater than 0: message is a ping response and number is the system id of the requesting system | -
Request to control this MAV
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- | -System the GCS requests control for | -
| control_request | -uint8_t | -- | -0: request control of this MAV, 1: Release control of this MAV | -
| version | -uint8_t | -rad | -0: key as plaintext, 1-255: future, different hashing/encryption variants. The GCS should in general use the safest mode possible initially and then gradually move down the encryption level if it gets a NACK message indicating an encryption mismatch. | -
| passkey | -char[25] | -- | -Password / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve A-Z, a-z, 0-9, and "!?,.-" | -
Accept / deny control of this MAV
-| Field Name | -Type | -Description | -
|---|---|---|
| gcs_system_id | -uint8_t | -ID of the GCS this message | -
| control_request | -uint8_t | -0: request control of this MAV, 1: Release control of this MAV | -
| ack | -uint8_t | -0: ACK, 1: NACK: Wrong passkey, 2: NACK: Unsupported passkey encryption method, 3: NACK: Already under control | -
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.
-| Field Name | -Type | -Description | -
|---|---|---|
| key | -char[32] | -key | -
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.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -The system setting the mode | -
| base_mode | -uint8_t | -- MAV_MODE - | -The new base mode. | -
| custom_mode | -uint32_t | -- - - | -The new autopilot-specific mode. This field can be ignored by an autopilot. | -
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/protocol/parameter.html for a full documentation of QGroundControl and IMU code.
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
| param_id | -char[16] | -Onboard parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string | -
| param_index | -int16_t | -Parameter index. Send -1 to use the param ID field as identifier (else the param id will be ignored) | -
Request all parameters of this component. After this request, all parameters are emitted.
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
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.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| param_id | -char[16] | -- - - | -Onboard parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string | -
| param_value | -float | -- - - | -Onboard parameter value | -
| param_type | -uint8_t | -- MAV_PARAM_TYPE - | -Onboard parameter type. | -
| param_count | -uint16_t | -- - - | -Total number of onboard parameters | -
| param_index | -uint16_t | -- - - | -Index of this onboard parameter | -
Set a parameter value TEMPORARILY to RAM. It will be reset to default on system reboot. Send the ACTION MAV_ACTION_STORAGE_WRITE to PERMANENTLY write the RAM contents to EEPROM. 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.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System ID | -
| target_component | -uint8_t | -- - - | -Component ID | -
| param_id | -char[16] | -- - - | -Onboard parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string | -
| param_value | -float | -- - - | -Onboard parameter value | -
| param_type | -uint8_t | -- MAV_PARAM_TYPE - | -Onboard parameter type. | -
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.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_usec | -uint64_t | -us | -- - - | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| fix_type | -uint8_t | -- | -- GPS_FIX_TYPE - | -GPS fix type. | -
| lat | -int32_t | -degE7 | -- - - | -Latitude (WGS84, EGM96 ellipsoid) | -
| lon | -int32_t | -degE7 | -- - - | -Longitude (WGS84, EGM96 ellipsoid) | -
| alt | -int32_t | -mm | -- - - | -Altitude (AMSL). Positive for up. Note that virtually all GPS modules provide the AMSL altitude in addition to the WGS84 altitude. | -
| eph | -uint16_t | -- | -- - - | -GPS HDOP horizontal dilution of position (unitless). If unknown, set to: UINT16_MAX | -
| epv | -uint16_t | -- | -- - - | -GPS VDOP vertical dilution of position (unitless). If unknown, set to: UINT16_MAX | -
| vel | -uint16_t | -cm/s | -- - - | -GPS ground speed. If unknown, set to: UINT16_MAX | -
| cog | -uint16_t | -cdeg | -- - - | -Course over ground (NOT heading, but direction of movement) in degrees * 100, 0.0..359.99 degrees. If unknown, set to: UINT16_MAX | -
| satellites_visible | -uint8_t | -- | -- - - | -Number of satellites visible. If unknown, set to 255 | -
| alt_ellipsoid - ** - - | -int32_t | -mm | -- - - | -Altitude (above WGS84, EGM96 ellipsoid). Positive for up. | -
| h_acc - ** - - | -uint32_t | -mm | -- - - | -Position uncertainty. Positive for up. | -
| v_acc - ** - - | -uint32_t | -mm | -- - - | -Altitude uncertainty. Positive for up. | -
| vel_acc - ** - - | -uint32_t | -mm | -- - - | -Speed uncertainty. Positive for up. | -
| hdg_acc - ** - - | -uint32_t | -degE5 | -- - - | -Heading / track uncertainty | -
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.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| satellites_visible | -uint8_t | -- | -Number of satellites visible | -
| satellite_prn | -uint8_t[20] | -- | -Global satellite ID | -
| satellite_used | -uint8_t[20] | -- | -0: Satellite not used, 1: used for localization | -
| satellite_elevation | -uint8_t[20] | -deg | -Elevation (0: right on top of receiver, 90: on the horizon) of satellite | -
| satellite_azimuth | -uint8_t[20] | -deg | -Direction of satellite, 0: 0 deg, 255: 360 deg. | -
| satellite_snr | -uint8_t[20] | -dB | -Signal to noise ratio of satellite | -
The RAW IMU readings for the usual 9DOF sensor setup. This message should contain the scaled values to the described units
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| xacc | -int16_t | -mG | -X acceleration | -
| yacc | -int16_t | -mG | -Y acceleration | -
| zacc | -int16_t | -mG | -Z acceleration | -
| xgyro | -int16_t | -mrad/s | -Angular speed around X axis | -
| ygyro | -int16_t | -mrad/s | -Angular speed around Y axis | -
| zgyro | -int16_t | -mrad/s | -Angular speed around Z axis | -
| xmag | -int16_t | -mT | -X Magnetic field | -
| ymag | -int16_t | -mT | -Y Magnetic field | -
| zmag | -int16_t | -mT | -Z Magnetic field | -
The RAW IMU readings for the usual 9DOF sensor setup. This message should always contain the true raw values without any scaling to allow data capture and system debugging.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| xacc | -int16_t | -- | -X acceleration (raw) | -
| yacc | -int16_t | -- | -Y acceleration (raw) | -
| zacc | -int16_t | -- | -Z acceleration (raw) | -
| xgyro | -int16_t | -- | -Angular speed around X axis (raw) | -
| ygyro | -int16_t | -- | -Angular speed around Y axis (raw) | -
| zgyro | -int16_t | -- | -Angular speed around Z axis (raw) | -
| xmag | -int16_t | -- | -X Magnetic field (raw) | -
| ymag | -int16_t | -- | -Y Magnetic field (raw) | -
| zmag | -int16_t | -- | -Z Magnetic field (raw) | -
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.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| press_abs | -int16_t | -- | -Absolute pressure (raw) | -
| press_diff1 | -int16_t | -- | -Differential pressure 1 (raw, 0 if nonexistent) | -
| press_diff2 | -int16_t | -- | -Differential pressure 2 (raw, 0 if nonexistent) | -
| temperature | -int16_t | -- | -Raw Temperature measurement (raw) | -
The pressure readings for the typical setup of one absolute and differential pressure sensor. The units are as specified in each field.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| press_abs | -float | -hPa | -Absolute pressure | -
| press_diff | -float | -hPa | -Differential pressure 1 | -
| temperature | -int16_t | -cdegC | -Temperature | -
The attitude in the aeronautical frame (right-handed, Z-down, X-front, Y-right).
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| roll | -float | -rad | -Roll angle (-pi..+pi) | -
| pitch | -float | -rad | -Pitch angle (-pi..+pi) | -
| yaw | -float | -rad | -Yaw angle (-pi..+pi) | -
| rollspeed | -float | -rad/s | -Roll angular speed | -
| pitchspeed | -float | -rad/s | -Pitch angular speed | -
| yawspeed | -float | -rad/s | -Yaw angular speed | -
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).
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| q1 | -float | -- | -Quaternion component 1, w (1 in null-rotation) | -
| q2 | -float | -- | -Quaternion component 2, x (0 in null-rotation) | -
| q3 | -float | -- | -Quaternion component 3, y (0 in null-rotation) | -
| q4 | -float | -- | -Quaternion component 4, z (0 in null-rotation) | -
| rollspeed | -float | -rad/s | -Roll angular speed | -
| pitchspeed | -float | -rad/s | -Pitch angular speed | -
| yawspeed | -float | -rad/s | -Yaw angular speed | -
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)
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| x | -float | -m | -X Position | -
| y | -float | -m | -Y Position | -
| z | -float | -m | -Z Position | -
| vx | -float | -m/s | -X Speed | -
| vy | -float | -m/s | -Y Speed | -
| vz | -float | -m/s | -Z Speed | -
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.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| lat | -int32_t | -degE7 | -Latitude, expressed | -
| lon | -int32_t | -degE7 | -Longitude, expressed | -
| alt | -int32_t | -mm | -Altitude (AMSL). Note that virtually all GPS modules provide both WGS84 and AMSL. | -
| relative_alt | -int32_t | -mm | -Altitude above ground | -
| vx | -int16_t | -cm/s | -Ground X Speed (Latitude, positive north) | -
| vy | -int16_t | -cm/s | -Ground Y Speed (Longitude, positive east) | -
| vz | -int16_t | -cm/s | -Ground Z Speed (Altitude, positive down) | -
| hdg | -uint16_t | -cdeg | -Vehicle heading (yaw angle), 0.0..359.99 degrees. If unknown, set to: UINT16_MAX | -
The scaled values of the RC channels received: (-100%) -10000, (0%) 0, (100%) 10000. Channels that are inactive should be set to UINT16_MAX.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| port | -uint8_t | -- | -Servo output port (set of 8 outputs = 1 port). Most MAVs will just use one, but this allows for more than 8 servos. | -
| chan1_scaled | -int16_t | -- | -RC channel 1 value scaled. | -
| chan2_scaled | -int16_t | -- | -RC channel 2 value scaled. | -
| chan3_scaled | -int16_t | -- | -RC channel 3 value scaled. | -
| chan4_scaled | -int16_t | -- | -RC channel 4 value scaled. | -
| chan5_scaled | -int16_t | -- | -RC channel 5 value scaled. | -
| chan6_scaled | -int16_t | -- | -RC channel 6 value scaled. | -
| chan7_scaled | -int16_t | -- | -RC channel 7 value scaled. | -
| chan8_scaled | -int16_t | -- | -RC channel 8 value scaled. | -
| rssi | -uint8_t | -- % - | -Receive signal strength indicator. Values: [0-100], 255: invalid/unknown. | -
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.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| port | -uint8_t | -- | -Servo output port (set of 8 outputs = 1 port). Most MAVs will just use one, but this allows for more than 8 servos. | -
| chan1_raw | -uint16_t | -us | -RC channel 1 value. | -
| chan2_raw | -uint16_t | -us | -RC channel 2 value. | -
| chan3_raw | -uint16_t | -us | -RC channel 3 value. | -
| chan4_raw | -uint16_t | -us | -RC channel 4 value. | -
| chan5_raw | -uint16_t | -us | -RC channel 5 value. | -
| chan6_raw | -uint16_t | -us | -RC channel 6 value. | -
| chan7_raw | -uint16_t | -us | -RC channel 7 value. | -
| chan8_raw | -uint16_t | -us | -RC channel 8 value. | -
| rssi | -uint8_t | -- % - | -Receive signal strength indicator. Values: [0-100], 255: invalid/unknown. | -
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%.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint32_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| port | -uint8_t | -- | -Servo output port (set of 8 outputs = 1 port). Most MAVs will just use one, but this allows to encode more than 8 servos. | -
| servo1_raw | -uint16_t | -us | -Servo output 1 value | -
| servo2_raw | -uint16_t | -us | -Servo output 2 value | -
| servo3_raw | -uint16_t | -us | -Servo output 3 value | -
| servo4_raw | -uint16_t | -us | -Servo output 4 value | -
| servo5_raw | -uint16_t | -us | -Servo output 5 value | -
| servo6_raw | -uint16_t | -us | -Servo output 6 value | -
| servo7_raw | -uint16_t | -us | -Servo output 7 value | -
| servo8_raw | -uint16_t | -us | -Servo output 8 value | -
| servo9_raw - ** - - | -uint16_t | -us | -Servo output 9 value | -
| servo10_raw - ** - - | -uint16_t | -us | -Servo output 10 value | -
| servo11_raw - ** - - | -uint16_t | -us | -Servo output 11 value | -
| servo12_raw - ** - - | -uint16_t | -us | -Servo output 12 value | -
| servo13_raw - ** - - | -uint16_t | -us | -Servo output 13 value | -
| servo14_raw - ** - - | -uint16_t | -us | -Servo output 14 value | -
| servo15_raw - ** - - | -uint16_t | -us | -Servo output 15 value | -
| servo16_raw - ** - - | -uint16_t | -us | -Servo output 16 value | -
Request a partial list of mission items from the system/component. https://mavlink.io/en/protocol/mission.html. If start and end index are the same, just send one waypoint.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System ID | -
| target_component | -uint8_t | -- - - | -Component ID | -
| start_index | -int16_t | -- - - | -Start index, 0 by default | -
| end_index | -int16_t | -- - - | -End index, -1 by default (-1: send list to end). Else a valid index of the list | -
| mission_type - ** - - | -uint8_t | -- MAV_MISSION_TYPE - | -Mission type. | -
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!
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System ID | -
| target_component | -uint8_t | -- - - | -Component ID | -
| start_index | -int16_t | -- - - | -Start index, 0 by default and smaller / equal to the largest index of the current onboard list. | -
| end_index | -int16_t | -- - - | -End index, equal or greater than start index. | -
| mission_type - ** - - | -uint8_t | -- MAV_MISSION_TYPE - | -Mission type. | -
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). See also https://mavlink.io/en/protocol/mission.html.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System ID | -
| target_component | -uint8_t | -- - - | -Component ID | -
| seq | -uint16_t | -- - - | -Sequence | -
| frame | -uint8_t | -- MAV_FRAME - | -The coordinate system of the waypoint. | -
| command | -uint16_t | -- MAV_CMD - | -The scheduled action for the waypoint. | -
| current | -uint8_t | -- - - | -false:0, true:1 | -
| autocontinue | -uint8_t | -- - - | -Autocontinue to next waypoint | -
| param1 | -float | -- - - | -PARAM1, see MAV_CMD enum | -
| param2 | -float | -- - - | -PARAM2, see MAV_CMD enum | -
| param3 | -float | -- - - | -PARAM3, see MAV_CMD enum | -
| param4 | -float | -- - - | -PARAM4, see MAV_CMD enum | -
| x | -float | -- - - | -PARAM5 / local: X coordinate, global: latitude | -
| y | -float | -- - - | -PARAM6 / local: Y coordinate, global: longitude | -
| z | -float | -- - - | -PARAM7 / local: Z coordinate, global: altitude (relative or absolute, depending on frame). | -
| mission_type - ** - - | -uint8_t | -- MAV_MISSION_TYPE - | -Mission type. | -
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/protocol/mission.html
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System ID | -
| target_component | -uint8_t | -- - - | -Component ID | -
| seq | -uint16_t | -- - - | -Sequence | -
| mission_type - ** - - | -uint8_t | -- MAV_MISSION_TYPE - | -Mission type. | -
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).
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
| seq | -uint16_t | -Sequence | -
Message that announces the sequence number of the current active mission item. The MAV will fly towards this mission item.
-| Field Name | -Type | -Description | -
|---|---|---|
| seq | -uint16_t | -Sequence | -
Request the overall list of mission items from the system/component.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System ID | -
| target_component | -uint8_t | -- - - | -Component ID | -
| mission_type - ** - - | -uint8_t | -- MAV_MISSION_TYPE - | -Mission type. | -
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.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System ID | -
| target_component | -uint8_t | -- - - | -Component ID | -
| count | -uint16_t | -- - - | -Number of mission items in the sequence | -
| mission_type - ** - - | -uint8_t | -- MAV_MISSION_TYPE - | -Mission type. | -
Delete all mission items at once.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System ID | -
| target_component | -uint8_t | -- - - | -Component ID | -
| mission_type - ** - - | -uint8_t | -- MAV_MISSION_TYPE - | -Mission type. | -
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.
-| Field Name | -Type | -Description | -
|---|---|---|
| seq | -uint16_t | -Sequence | -
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).
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System ID | -
| target_component | -uint8_t | -- - - | -Component ID | -
| type | -uint8_t | -- MAV_MISSION_RESULT - | -Mission result. | -
| mission_type - ** - - | -uint8_t | -- MAV_MISSION_TYPE - | -Mission type. | -
As local waypoints exist, the global waypoint reference allows to transform between the local coordinate frame and the global (GPS) coordinate frame. This can be necessary when e.g. in- and outdoor settings are connected and the MAV should move from in- to outdoor.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- | -System ID | -
| latitude | -int32_t | -degE7 | -Latitude (WGS84) | -
| longitude | -int32_t | -degE7 | -Longitude (WGS84) | -
| altitude | -int32_t | -mm | -Altitude (AMSL). Positive for up. | -
| time_usec - ** - - | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
Once the MAV sets a new GPS-Local correspondence, this message announces the origin (0,0,0) position
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| latitude | -int32_t | -degE7 | -Latitude (WGS84) | -
| longitude | -int32_t | -degE7 | -Longitude (WGS84) | -
| altitude | -int32_t | -mm | -Altitude (AMSL). Positive for up. | -
| time_usec - ** - - | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
Bind a RC channel to a parameter. The parameter should change according to the RC channel value.
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
| param_id | -char[16] | -Onboard parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string | -
| param_index | -int16_t | -Parameter index. Send -1 to use the param ID field as identifier (else the param id will be ignored), send -2 to disable any existing map for this rc_channel_index. | -
| parameter_rc_channel_index | -uint8_t | -Index of parameter RC channel. Not equal to the RC channel id. Typically corresponds to a potentiometer-knob on the RC. | -
| param_value0 | -float | -Initial parameter value | -
| scale | -float | -Scale, maps the RC range [-1, 1] to a parameter value | -
| param_value_min | -float | -Minimum param value. The protocol does not define if this overwrites an onboard minimum value. (Depends on implementation) | -
| param_value_max | -float | -Maximum param value. The protocol does not define if this overwrites an onboard maximum value. (Depends on implementation) | -
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/protocol/mission.html
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System ID | -
| target_component | -uint8_t | -- - - | -Component ID | -
| seq | -uint16_t | -- - - | -Sequence | -
| mission_type - ** - - | -uint8_t | -- MAV_MISSION_TYPE - | -Mission type. | -
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.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| target_system | -uint8_t | -- | -- - - | -System ID | -
| target_component | -uint8_t | -- | -- - - | -Component ID | -
| frame | -uint8_t | -- | -- MAV_FRAME - | -Coordinate frame. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down. | -
| p1x | -float | -m | -- - - | -x position 1 / Latitude 1 | -
| p1y | -float | -m | -- - - | -y position 1 / Longitude 1 | -
| p1z | -float | -m | -- - - | -z position 1 / Altitude 1 | -
| p2x | -float | -m | -- - - | -x position 2 / Latitude 2 | -
| p2y | -float | -m | -- - - | -y position 2 / Longitude 2 | -
| p2z | -float | -m | -- - - | -z position 2 / Altitude 2 | -
Read out the safety zone the MAV currently assumes.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| frame | -uint8_t | -- | -- MAV_FRAME - | -Coordinate frame. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down. | -
| p1x | -float | -m | -- - - | -x position 1 / Latitude 1 | -
| p1y | -float | -m | -- - - | -y position 1 / Longitude 1 | -
| p1z | -float | -m | -- - - | -z position 1 / Altitude 1 | -
| p2x | -float | -m | -- - - | -x position 2 / Latitude 2 | -
| p2y | -float | -m | -- - - | -y position 2 / Longitude 2 | -
| p2z | -float | -m | -- - - | -z position 2 / Altitude 2 | -
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).
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| q | -float[4] | -- | -Quaternion components, w, x, y, z (1 0 0 0 is the null-rotation) | -
| rollspeed | -float | -rad/s | -Roll angular speed | -
| pitchspeed | -float | -rad/s | -Pitch angular speed | -
| yawspeed | -float | -rad/s | -Yaw angular speed | -
| covariance | -float[9] | -- | -Attitude covariance | -
The state of the fixed wing navigation and position controller.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| nav_roll | -float | -deg | -Current desired roll | -
| nav_pitch | -float | -deg | -Current desired pitch | -
| nav_bearing | -int16_t | -deg | -Current desired heading | -
| target_bearing | -int16_t | -deg | -Bearing to current waypoint/target | -
| wp_dist | -uint16_t | -m | -Distance to active waypoint | -
| alt_error | -float | -m | -Current altitude error | -
| aspd_error | -float | -m/s | -Current airspeed error | -
| xtrack_error | -float | -m | -Current crosstrack error on x-y plane | -
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.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_usec | -uint64_t | -us | -- - - | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| estimator_type | -uint8_t | -- | -- MAV_ESTIMATOR_TYPE - | -Class id of the estimator this estimate originated from. | -
| lat | -int32_t | -degE7 | -- - - | -Latitude | -
| lon | -int32_t | -degE7 | -- - - | -Longitude | -
| alt | -int32_t | -mm | -- - - | -Altitude in meters above MSL | -
| relative_alt | -int32_t | -mm | -- - - | -Altitude above ground | -
| vx | -float | -m/s | -- - - | -Ground X Speed (Latitude) | -
| vy | -float | -m/s | -- - - | -Ground Y Speed (Longitude) | -
| vz | -float | -m/s | -- - - | -Ground Z Speed (Altitude) | -
| covariance | -float[36] | -- | -- - - | -Covariance matrix (first six entries are the first ROW, next six entries are the second row, etc.) | -
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)
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_usec | -uint64_t | -us | -- - - | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| estimator_type | -uint8_t | -- | -- MAV_ESTIMATOR_TYPE - | -Class id of the estimator this estimate originated from. | -
| x | -float | -m | -- - - | -X Position | -
| y | -float | -m | -- - - | -Y Position | -
| z | -float | -m | -- - - | -Z Position | -
| vx | -float | -m/s | -- - - | -X Speed | -
| vy | -float | -m/s | -- - - | -Y Speed | -
| vz | -float | -m/s | -- - - | -Z Speed | -
| ax | -float | -m/s/s | -- - - | -X Acceleration | -
| ay | -float | -m/s/s | -- - - | -Y Acceleration | -
| az | -float | -m/s/s | -- - - | -Z Acceleration | -
| covariance | -float[45] | -- | -- - - | -Covariance matrix upper right triangular (first nine entries are the first ROW, next eight entries are the second row, etc.) | -
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.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| chancount | -uint8_t | -- | -Total number of RC channels being received. This can be larger than 18, indicating that more channels are available but not given in this message. This value should be 0 when no RC channels are available. | -
| chan1_raw | -uint16_t | -us | -RC channel 1 value. | -
| chan2_raw | -uint16_t | -us | -RC channel 2 value. | -
| chan3_raw | -uint16_t | -us | -RC channel 3 value. | -
| chan4_raw | -uint16_t | -us | -RC channel 4 value. | -
| chan5_raw | -uint16_t | -us | -RC channel 5 value. | -
| chan6_raw | -uint16_t | -us | -RC channel 6 value. | -
| chan7_raw | -uint16_t | -us | -RC channel 7 value. | -
| chan8_raw | -uint16_t | -us | -RC channel 8 value. | -
| chan9_raw | -uint16_t | -us | -RC channel 9 value. | -
| chan10_raw | -uint16_t | -us | -RC channel 10 value. | -
| chan11_raw | -uint16_t | -us | -RC channel 11 value. | -
| chan12_raw | -uint16_t | -us | -RC channel 12 value. | -
| chan13_raw | -uint16_t | -us | -RC channel 13 value. | -
| chan14_raw | -uint16_t | -us | -RC channel 14 value. | -
| chan15_raw | -uint16_t | -us | -RC channel 15 value. | -
| chan16_raw | -uint16_t | -us | -RC channel 16 value. | -
| chan17_raw | -uint16_t | -us | -RC channel 17 value. | -
| chan18_raw | -uint16_t | -us | -RC channel 18 value. | -
| rssi | -uint8_t | -- % - | -Receive signal strength indicator. Values: [0-100], 255: invalid/unknown. | -
Request a data stream.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- | -The target requested to send the message stream. | -
| target_component | -uint8_t | -- | -The target requested to send the message stream. | -
| req_stream_id | -uint8_t | -- | -The ID of the requested data stream | -
| req_message_rate | -uint16_t | -Hz | -The requested message rate | -
| start_stop | -uint8_t | -- | -1 to start sending, 0 to stop sending. | -
Data stream status information.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| stream_id | -uint8_t | -- | -The ID of the requested data stream | -
| message_rate | -uint16_t | -Hz | -The message rate | -
| on_off | -uint8_t | -- | -1 stream is enabled, 0 stream is stopped. | -
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
-| Field Name | -Type | -Description | -
|---|---|---|
| target | -uint8_t | -The system to be controlled. | -
| x | -int16_t | -X-axis, normalized to the range [-1000,1000]. A value of INT16_MAX indicates that this axis is invalid. Generally corresponds to forward(1000)-backward(-1000) movement on a joystick and the pitch of a vehicle. | -
| y | -int16_t | -Y-axis, normalized to the range [-1000,1000]. A value of INT16_MAX indicates that this axis is invalid. Generally corresponds to left(-1000)-right(1000) movement on a joystick and the roll of a vehicle. | -
| z | -int16_t | -Z-axis, normalized to the range [-1000,1000]. A value of INT16_MAX indicates that this axis is invalid. Generally corresponds to a separate slider movement with maximum being 1000 and minimum being -1000 on a joystick and the thrust of a vehicle. Positive values are positive thrust, negative values are negative thrust. | -
| r | -int16_t | -R-axis, normalized to the range [-1000,1000]. A value of INT16_MAX indicates that this axis is invalid. Generally corresponds to a twisting of the joystick, with counter-clockwise being 1000 and clockwise being -1000, and the yaw of a vehicle. | -
| buttons | -uint16_t | -A bitfield corresponding to the joystick buttons' current state, 1 for pressed, 0 for released. The lowest bit corresponds to Button 1. | -
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.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- | -System ID | -
| target_component | -uint8_t | -- | -Component ID | -
| chan1_raw | -uint16_t | -us | -RC channel 1 value. A value of UINT16_MAX means to ignore this field. | -
| chan2_raw | -uint16_t | -us | -RC channel 2 value. A value of UINT16_MAX means to ignore this field. | -
| chan3_raw | -uint16_t | -us | -RC channel 3 value. A value of UINT16_MAX means to ignore this field. | -
| chan4_raw | -uint16_t | -us | -RC channel 4 value. A value of UINT16_MAX means to ignore this field. | -
| chan5_raw | -uint16_t | -us | -RC channel 5 value. A value of UINT16_MAX means to ignore this field. | -
| chan6_raw | -uint16_t | -us | -RC channel 6 value. A value of UINT16_MAX means to ignore this field. | -
| chan7_raw | -uint16_t | -us | -RC channel 7 value. A value of UINT16_MAX means to ignore this field. | -
| chan8_raw | -uint16_t | -us | -RC channel 8 value. A value of UINT16_MAX means to ignore this field. | -
| chan9_raw - ** - - | -uint16_t | -us | -RC channel 9 value. A value of 0 or UINT16_MAX means to ignore this field. | -
| chan10_raw - ** - - | -uint16_t | -us | -RC channel 10 value. A value of 0 or UINT16_MAX means to ignore this field. | -
| chan11_raw - ** - - | -uint16_t | -us | -RC channel 11 value. A value of 0 or UINT16_MAX means to ignore this field. | -
| chan12_raw - ** - - | -uint16_t | -us | -RC channel 12 value. A value of 0 or UINT16_MAX means to ignore this field. | -
| chan13_raw - ** - - | -uint16_t | -us | -RC channel 13 value. A value of 0 or UINT16_MAX means to ignore this field. | -
| chan14_raw - ** - - | -uint16_t | -us | -RC channel 14 value. A value of 0 or UINT16_MAX means to ignore this field. | -
| chan15_raw - ** - - | -uint16_t | -us | -RC channel 15 value. A value of 0 or UINT16_MAX means to ignore this field. | -
| chan16_raw - ** - - | -uint16_t | -us | -RC channel 16 value. A value of 0 or UINT16_MAX means to ignore this field. | -
| chan17_raw - ** - - | -uint16_t | -us | -RC channel 17 value. A value of 0 or UINT16_MAX means to ignore this field. | -
| chan18_raw - ** - - | -uint16_t | -us | -RC channel 18 value. A value of 0 or UINT16_MAX means to ignore this field. | -
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). See also https://mavlink.io/en/protocol/mission.html.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System ID | -
| target_component | -uint8_t | -- - - | -Component ID | -
| seq | -uint16_t | -- - - | -Waypoint ID (sequence number). Starts at zero. Increases monotonically for each waypoint, no gaps in the sequence (0,1,2,3,4). | -
| frame | -uint8_t | -- MAV_FRAME - | -The coordinate system of the waypoint. | -
| command | -uint16_t | -- MAV_CMD - | -The scheduled action for the waypoint. | -
| current | -uint8_t | -- - - | -false:0, true:1 | -
| autocontinue | -uint8_t | -- - - | -Autocontinue to next waypoint | -
| param1 | -float | -- - - | -PARAM1, see MAV_CMD enum | -
| param2 | -float | -- - - | -PARAM2, see MAV_CMD enum | -
| param3 | -float | -- - - | -PARAM3, see MAV_CMD enum | -
| param4 | -float | -- - - | -PARAM4, see MAV_CMD enum | -
| x | -int32_t | -- - - | -PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7 | -
| y | -int32_t | -- - - | -PARAM6 / y position: local: x position in meters * 1e4, global: longitude in degrees *10^7 | -
| z | -float | -- - - | -PARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame. | -
| mission_type - ** - - | -uint8_t | -- MAV_MISSION_TYPE - | -Mission type. | -
Metrics typically displayed on a HUD for fixed wing aircraft
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| airspeed | -float | -m/s | -Current airspeed | -
| groundspeed | -float | -m/s | -Current ground speed | -
| heading | -int16_t | -deg | -Current heading in degrees, in compass units (0..360, 0=north) | -
| throttle | -uint16_t | -- % - | -Current throttle setting in integer percent, 0 to 100 | -
| alt | -float | -m | -Current altitude (MSL) | -
| climb | -float | -m/s | -Current climb rate | -
Message encoding a command with parameters as scaled integers. Scaling depends on the actual command value.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System ID | -
| target_component | -uint8_t | -- - - | -Component ID | -
| frame | -uint8_t | -- MAV_FRAME - | -The coordinate system of the COMMAND. | -
| command | -uint16_t | -- MAV_CMD - | -The scheduled action for the mission item. | -
| current | -uint8_t | -- - - | -false:0, true:1 | -
| autocontinue | -uint8_t | -- - - | -autocontinue to next wp | -
| param1 | -float | -- - - | -PARAM1, see MAV_CMD enum | -
| param2 | -float | -- - - | -PARAM2, see MAV_CMD enum | -
| param3 | -float | -- - - | -PARAM3, see MAV_CMD enum | -
| param4 | -float | -- - - | -PARAM4, see MAV_CMD enum | -
| x | -int32_t | -- - - | -PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7 | -
| y | -int32_t | -- - - | -PARAM6 / local: y position in meters * 1e4, global: longitude in degrees * 10^7 | -
| z | -float | -- - - | -PARAM7 / z position: global: altitude in meters (relative or absolute, depending on frame). | -
Send a command with up to seven parameters to the MAV
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System which should execute the command | -
| target_component | -uint8_t | -- - - | -Component which should execute the command, 0 for all components | -
| command | -uint16_t | -- MAV_CMD - | -Command ID (of command to send). | -
| confirmation | -uint8_t | -- - - | -0: First transmission of this command. 1-255: Confirmation transmissions (e.g. for kill command) | -
| param1 | -float | -- - - | -Parameter 1 (for the specific command). | -
| param2 | -float | -- - - | -Parameter 2 (for the specific command). | -
| param3 | -float | -- - - | -Parameter 3 (for the specific command). | -
| param4 | -float | -- - - | -Parameter 4 (for the specific command). | -
| param5 | -float | -- - - | -Parameter 5 (for the specific command). | -
| param6 | -float | -- - - | -Parameter 6 (for the specific command). | -
| param7 | -float | -- - - | -Parameter 7 (for the specific command). | -
Report status of a command. Includes feedback whether the command was executed.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| command | -uint16_t | -- MAV_CMD - | -Command ID (of acknowledged command). | -
| result | -uint8_t | -- MAV_RESULT - | -Result of command. | -
| progress - ** - - | -uint8_t | -- - - | -WIP: Also used as result_param1, it can be set with a enum containing the errors reasons of why the command was denied or the progress percentage or 255 if unknown the progress when result is MAV_RESULT_IN_PROGRESS. | -
| result_param2 - ** - - | -int32_t | -- - - | -WIP: Additional parameter of the result, example: which parameter of MAV_CMD_NAV_WAYPOINT caused it to be denied. | -
| target_system - ** - - | -uint8_t | -- - - | -WIP: System which requested the command to be executed | -
| target_component - ** - - | -uint8_t | -- - - | -WIP: Component which requested the command to be executed | -
Setpoint in roll, pitch, yaw and thrust from the operator
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| roll | -float | -rad/s | -Desired roll rate | -
| pitch | -float | -rad/s | -Desired pitch rate | -
| yaw | -float | -rad/s | -Desired yaw rate | -
| thrust | -float | -- | -Collective thrust, normalized to 0 .. 1 | -
| mode_switch | -uint8_t | -- | -Flight mode switch position, 0.. 255 | -
| manual_override_switch | -uint8_t | -- | -Override mode switch position, 0.. 255 | -
Sets a desired vehicle attitude. Used by an external controller to command the vehicle (manual controller or other system).
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| target_system | -uint8_t | -- | -System ID | -
| target_component | -uint8_t | -- | -Component ID | -
| type_mask | -uint8_t | -- | -Mappings: If any of these bits are set, the corresponding input should be ignored: bit 1: body roll rate, bit 2: body pitch rate, bit 3: body yaw rate. bit 4-bit 6: reserved, bit 7: throttle, bit 8: attitude | -
| q | -float[4] | -- | -Attitude quaternion (w, x, y, z order, zero-rotation is 1, 0, 0, 0) | -
| body_roll_rate | -float | -rad/s | -Body roll rate | -
| body_pitch_rate | -float | -rad/s | -Body pitch rate | -
| body_yaw_rate | -float | -rad/s | -Body yaw rate | -
| thrust | -float | -- | -Collective thrust, normalized to 0 .. 1 (-1 .. 1 for vehicles capable of reverse trust) | -
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.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| type_mask | -uint8_t | -- | -Mappings: If any of these bits are set, the corresponding input should be ignored: bit 1: body roll rate, bit 2: body pitch rate, bit 3: body yaw rate. bit 4-bit 7: reserved, bit 8: attitude | -
| q | -float[4] | -- | -Attitude quaternion (w, x, y, z order, zero-rotation is 1, 0, 0, 0) | -
| body_roll_rate | -float | -rad/s | -Body roll rate | -
| body_pitch_rate | -float | -rad/s | -Body pitch rate | -
| body_yaw_rate | -float | -rad/s | -Body yaw rate | -
| thrust | -float | -- | -Collective thrust, normalized to 0 .. 1 (-1 .. 1 for vehicles capable of reverse trust) | -
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).
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -- - - | -Timestamp (time since system boot). | -
| target_system | -uint8_t | -- | -- - - | -System ID | -
| target_component | -uint8_t | -- | -- - - | -Component ID | -
| coordinate_frame | -uint8_t | -- | -- MAV_FRAME - | -Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9 | -
| type_mask | -uint16_t | -- | -- - - | -Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate | -
| x | -float | -m | -- - - | -X Position in NED frame | -
| y | -float | -m | -- - - | -Y Position in NED frame | -
| z | -float | -m | -- - - | -Z Position in NED frame (note, altitude is negative in NED) | -
| vx | -float | -m/s | -- - - | -X velocity in NED frame | -
| vy | -float | -m/s | -- - - | -Y velocity in NED frame | -
| vz | -float | -m/s | -- - - | -Z velocity in NED frame | -
| afx | -float | -m/s/s | -- - - | -X acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | -
| afy | -float | -m/s/s | -- - - | -Y acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | -
| afz | -float | -m/s/s | -- - - | -Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | -
| yaw | -float | -rad | -- - - | -yaw setpoint | -
| yaw_rate | -float | -rad/s | -- - - | -yaw rate setpoint | -
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.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -- - - | -Timestamp (time since system boot). | -
| coordinate_frame | -uint8_t | -- | -- MAV_FRAME - | -Valid options are: MAV_FRAME_LOCAL_NED = 1, MAV_FRAME_LOCAL_OFFSET_NED = 7, MAV_FRAME_BODY_NED = 8, MAV_FRAME_BODY_OFFSET_NED = 9 | -
| type_mask | -uint16_t | -- | -- - - | -Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate | -
| x | -float | -m | -- - - | -X Position in NED frame | -
| y | -float | -m | -- - - | -Y Position in NED frame | -
| z | -float | -m | -- - - | -Z Position in NED frame (note, altitude is negative in NED) | -
| vx | -float | -m/s | -- - - | -X velocity in NED frame | -
| vy | -float | -m/s | -- - - | -Y velocity in NED frame | -
| vz | -float | -m/s | -- - - | -Z velocity in NED frame | -
| afx | -float | -m/s/s | -- - - | -X acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | -
| afy | -float | -m/s/s | -- - - | -Y acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | -
| afz | -float | -m/s/s | -- - - | -Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | -
| yaw | -float | -rad | -- - - | -yaw setpoint | -
| yaw_rate | -float | -rad/s | -- - - | -yaw rate setpoint | -
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).
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -- - - | -Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency. | -
| target_system | -uint8_t | -- | -- - - | -System ID | -
| target_component | -uint8_t | -- | -- - - | -Component ID | -
| coordinate_frame | -uint8_t | -- | -- MAV_FRAME - | -Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11 | -
| type_mask | -uint16_t | -- | -- - - | -Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate | -
| lat_int | -int32_t | -degE7 | -- - - | -X Position in WGS84 frame | -
| lon_int | -int32_t | -degE7 | -- - - | -Y Position in WGS84 frame | -
| alt | -float | -m | -- - - | -Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT | -
| vx | -float | -m/s | -- - - | -X velocity in NED frame | -
| vy | -float | -m/s | -- - - | -Y velocity in NED frame | -
| vz | -float | -m/s | -- - - | -Z velocity in NED frame | -
| afx | -float | -m/s/s | -- - - | -X acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | -
| afy | -float | -m/s/s | -- - - | -Y acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | -
| afz | -float | -m/s/s | -- - - | -Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | -
| yaw | -float | -rad | -- - - | -yaw setpoint | -
| yaw_rate | -float | -rad/s | -- - - | -yaw rate setpoint | -
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.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -- - - | -Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency. | -
| coordinate_frame | -uint8_t | -- | -- MAV_FRAME - | -Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11 | -
| type_mask | -uint16_t | -- | -- - - | -Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 10 is set the floats afx afy afz should be interpreted as force instead of acceleration. Mapping: bit 1: x, bit 2: y, bit 3: z, bit 4: vx, bit 5: vy, bit 6: vz, bit 7: ax, bit 8: ay, bit 9: az, bit 10: is force setpoint, bit 11: yaw, bit 12: yaw rate | -
| lat_int | -int32_t | -degE7 | -- - - | -X Position in WGS84 frame | -
| lon_int | -int32_t | -degE7 | -- - - | -Y Position in WGS84 frame | -
| alt | -float | -m | -- - - | -Altitude (AMSL) if absolute or relative, above terrain if GLOBAL_TERRAIN_ALT_INT | -
| vx | -float | -m/s | -- - - | -X velocity in NED frame | -
| vy | -float | -m/s | -- - - | -Y velocity in NED frame | -
| vz | -float | -m/s | -- - - | -Z velocity in NED frame | -
| afx | -float | -m/s/s | -- - - | -X acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | -
| afy | -float | -m/s/s | -- - - | -Y acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | -
| afz | -float | -m/s/s | -- - - | -Z acceleration or force (if bit 10 of type_mask is set) in NED frame in meter / s^2 or N | -
| yaw | -float | -rad | -- - - | -yaw setpoint | -
| yaw_rate | -float | -rad/s | -- - - | -yaw rate setpoint | -
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)
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| x | -float | -m | -X Position | -
| y | -float | -m | -Y Position | -
| z | -float | -m | -Z Position | -
| roll | -float | -rad | -Roll | -
| pitch | -float | -rad | -Pitch | -
| yaw | -float | -rad | -Yaw | -
Sent from simulation to autopilot. This packet is useful for high throughput applications such as hardware in the loop simulations.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| roll | -float | -rad | -Roll angle | -
| pitch | -float | -rad | -Pitch angle | -
| yaw | -float | -rad | -Yaw angle | -
| rollspeed | -float | -rad/s | -Body frame roll / phi angular speed | -
| pitchspeed | -float | -rad/s | -Body frame pitch / theta angular speed | -
| yawspeed | -float | -rad/s | -Body frame yaw / psi angular speed | -
| lat | -int32_t | -degE7 | -Latitude | -
| lon | -int32_t | -degE7 | -Longitude | -
| alt | -int32_t | -mm | -Altitude | -
| vx | -int16_t | -cm/s | -Ground X Speed (Latitude) | -
| vy | -int16_t | -cm/s | -Ground Y Speed (Longitude) | -
| vz | -int16_t | -cm/s | -Ground Z Speed (Altitude) | -
| xacc | -int16_t | -mG | -X acceleration | -
| yacc | -int16_t | -mG | -Y acceleration | -
| zacc | -int16_t | -mG | -Z acceleration | -
Sent from autopilot to simulation. Hardware in the loop control outputs
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_usec | -uint64_t | -us | -- - - | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| roll_ailerons | -float | -- | -- - - | -Control output -1 .. 1 | -
| pitch_elevator | -float | -- | -- - - | -Control output -1 .. 1 | -
| yaw_rudder | -float | -- | -- - - | -Control output -1 .. 1 | -
| throttle | -float | -- | -- - - | -Throttle 0 .. 1 | -
| aux1 | -float | -- | -- - - | -Aux 1, -1 .. 1 | -
| aux2 | -float | -- | -- - - | -Aux 2, -1 .. 1 | -
| aux3 | -float | -- | -- - - | -Aux 3, -1 .. 1 | -
| aux4 | -float | -- | -- - - | -Aux 4, -1 .. 1 | -
| mode | -uint8_t | -- | -- MAV_MODE - | -System mode. | -
| nav_mode | -uint8_t | -- | -- - - | -Navigation mode (MAV_NAV_MODE) | -
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.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| chan1_raw | -uint16_t | -us | -RC channel 1 value | -
| chan2_raw | -uint16_t | -us | -RC channel 2 value | -
| chan3_raw | -uint16_t | -us | -RC channel 3 value | -
| chan4_raw | -uint16_t | -us | -RC channel 4 value | -
| chan5_raw | -uint16_t | -us | -RC channel 5 value | -
| chan6_raw | -uint16_t | -us | -RC channel 6 value | -
| chan7_raw | -uint16_t | -us | -RC channel 7 value | -
| chan8_raw | -uint16_t | -us | -RC channel 8 value | -
| chan9_raw | -uint16_t | -us | -RC channel 9 value | -
| chan10_raw | -uint16_t | -us | -RC channel 10 value | -
| chan11_raw | -uint16_t | -us | -RC channel 11 value | -
| chan12_raw | -uint16_t | -us | -RC channel 12 value | -
| rssi | -uint8_t | -- | -Receive signal strength indicator. Values: [0-100], 255: invalid/unknown. | -
Sent from autopilot to simulation. Hardware in the loop control outputs (replacement for HIL_CONTROLS)
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_usec | -uint64_t | -us | -- - - | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| controls | -float[16] | -- | -- - - | -Control outputs -1 .. 1. Channel assignment depends on the simulated hardware. | -
| mode | -uint8_t | -- | -- MAV_MODE - | -System mode. Includes arming state. | -
| flags | -uint64_t | -- | -- - - | -Flags as bitfield, reserved for future use. | -
Optical flow from a flow sensor (e.g. optical mouse sensor)
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| sensor_id | -uint8_t | -- | -Sensor ID | -
| flow_x | -int16_t | -dpix | -Flow in x-sensor direction | -
| flow_y | -int16_t | -dpix | -Flow in y-sensor direction | -
| flow_comp_m_x | -float | -m | -Flow in x-sensor direction, angular-speed compensated | -
| flow_comp_m_y | -float | -m | -Flow in y-sensor direction, angular-speed compensated | -
| quality | -uint8_t | -- | -Optical flow quality / confidence. 0: bad, 255: maximum quality | -
| ground_distance | -float | -m | -Ground distance. Positive value: distance known. Negative value: Unknown distance | -
| flow_rate_x - ** - - | -float | -rad/s | -Flow rate about X axis | -
| flow_rate_y - ** - - | -float | -rad/s | -Flow rate about Y axis | -
-
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| usec | -uint64_t | -us | -Timestamp (UNIX time or since system boot) | -
| x | -float | -m | -Global X position | -
| y | -float | -m | -Global Y position | -
| z | -float | -m | -Global Z position | -
| roll | -float | -rad | -Roll angle | -
| pitch | -float | -rad | -Pitch angle | -
| yaw | -float | -rad | -Yaw angle | -
| covariance - ** - - | -float[21] | -- | -Pose covariance matrix upper right triangular (first six entries are the first ROW, next five entries are the second ROW, etc.) | -
-
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| usec | -uint64_t | -us | -Timestamp (UNIX time or time since system boot) | -
| x | -float | -m | -Global X position | -
| y | -float | -m | -Global Y position | -
| z | -float | -m | -Global Z position | -
| roll | -float | -rad | -Roll angle | -
| pitch | -float | -rad | -Pitch angle | -
| yaw | -float | -rad | -Yaw angle | -
| covariance - ** - - | -float[21] | -- | -Pose covariance matrix upper right triangular (first six entries are the first ROW, next five entries are the second ROW, etc.) | -
-
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| usec | -uint64_t | -us | -Timestamp (UNIX time or time since system boot) | -
| x | -float | -m/s | -Global X speed | -
| y | -float | -m/s | -Global Y speed | -
| z | -float | -m/s | -Global Z speed | -
| covariance - ** - - | -float[9] | -- | -Linear velocity covariance matrix (1st three entries - 1st row, etc.) | -
-
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| usec | -uint64_t | -us | -Timestamp (UNIX time or time since system boot) | -
| x | -float | -m | -Global X position | -
| y | -float | -m | -Global Y position | -
| z | -float | -m | -Global Z position | -
| roll | -float | -rad | -Roll angle | -
| pitch | -float | -rad | -Pitch angle | -
| yaw | -float | -rad | -Yaw angle | -
| covariance - ** - - | -float[21] | -- | -Pose covariance matrix upper right triangular (first six entries are the first ROW, next five entries are the second ROW, etc.) | -
The IMU readings in SI units in NED body frame
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| xacc | -float | -m/s/s | -X acceleration | -
| yacc | -float | -m/s/s | -Y acceleration | -
| zacc | -float | -m/s/s | -Z acceleration | -
| xgyro | -float | -rad/s | -Angular speed around X axis | -
| ygyro | -float | -rad/s | -Angular speed around Y axis | -
| zgyro | -float | -rad/s | -Angular speed around Z axis | -
| xmag | -float | -gauss | -X Magnetic field | -
| ymag | -float | -gauss | -Y Magnetic field | -
| zmag | -float | -gauss | -Z Magnetic field | -
| abs_pressure | -float | -mbar | -Absolute pressure | -
| diff_pressure | -float | -mbar | -Differential pressure | -
| pressure_alt | -float | -- | -Altitude calculated from pressure | -
| temperature | -float | -degC | -Temperature | -
| fields_updated | -uint16_t | -- | -Bitmap for fields that have updated since last message, bit 0 = xacc, bit 12: temperature | -
Optical flow from an angular rate flow sensor (e.g. PX4FLOW or mouse sensor)
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| sensor_id | -uint8_t | -- | -Sensor ID | -
| integration_time_us | -uint32_t | -us | -Integration time. Divide integrated_x and integrated_y by the integration time to obtain average flow. The integration time also indicates the. | -
| integrated_x | -float | -rad | -Flow around X axis (Sensor RH rotation about the X axis induces a positive flow. Sensor linear motion along the positive Y axis induces a negative flow.) | -
| integrated_y | -float | -rad | -Flow around Y axis (Sensor RH rotation about the Y axis induces a positive flow. Sensor linear motion along the positive X axis induces a positive flow.) | -
| integrated_xgyro | -float | -rad | -RH rotation around X axis | -
| integrated_ygyro | -float | -rad | -RH rotation around Y axis | -
| integrated_zgyro | -float | -rad | -RH rotation around Z axis | -
| temperature | -int16_t | -cdegC | -Temperature | -
| quality | -uint8_t | -- | -Optical flow quality / confidence. 0: no valid flow, 255: maximum quality | -
| time_delta_distance_us | -uint32_t | -us | -Time since the distance was sampled. | -
| distance | -float | -m | -Distance to the center of the flow field. Positive value (including zero): distance known. Negative value: Unknown distance. | -
The IMU readings in SI units in NED body frame
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| xacc | -float | -m/s/s | -X acceleration | -
| yacc | -float | -m/s/s | -Y acceleration | -
| zacc | -float | -m/s/s | -Z acceleration | -
| xgyro | -float | -rad/s | -Angular speed around X axis in body frame | -
| ygyro | -float | -rad/s | -Angular speed around Y axis in body frame | -
| zgyro | -float | -rad/s | -Angular speed around Z axis in body frame | -
| xmag | -float | -gauss | -X Magnetic field | -
| ymag | -float | -gauss | -Y Magnetic field | -
| zmag | -float | -gauss | -Z Magnetic field | -
| abs_pressure | -float | -mbar | -Absolute pressure | -
| diff_pressure | -float | -mbar | -Differential pressure (airspeed) | -
| pressure_alt | -float | -- | -Altitude calculated from pressure | -
| temperature | -float | -degC | -Temperature | -
| fields_updated | -uint32_t | -- | -Bitmap for fields that have updated since last message, bit 0 = xacc, bit 12: temperature, bit 31: full reset of attitude/position/velocities/etc was performed in sim. | -
Status of simulation environment, if used
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| q1 | -float | -- | -True attitude quaternion component 1, w (1 in null-rotation) | -
| q2 | -float | -- | -True attitude quaternion component 2, x (0 in null-rotation) | -
| q3 | -float | -- | -True attitude quaternion component 3, y (0 in null-rotation) | -
| q4 | -float | -- | -True attitude quaternion component 4, z (0 in null-rotation) | -
| roll | -float | -- | -Attitude roll expressed as Euler angles, not recommended except for human-readable outputs | -
| pitch | -float | -- | -Attitude pitch expressed as Euler angles, not recommended except for human-readable outputs | -
| yaw | -float | -- | -Attitude yaw expressed as Euler angles, not recommended except for human-readable outputs | -
| xacc | -float | -m/s/s | -X acceleration | -
| yacc | -float | -m/s/s | -Y acceleration | -
| zacc | -float | -m/s/s | -Z acceleration | -
| xgyro | -float | -rad/s | -Angular speed around X axis | -
| ygyro | -float | -rad/s | -Angular speed around Y axis | -
| zgyro | -float | -rad/s | -Angular speed around Z axis | -
| lat | -float | -deg | -Latitude | -
| lon | -float | -deg | -Longitude | -
| alt | -float | -m | -Altitude | -
| std_dev_horz | -float | -- | -Horizontal position standard deviation | -
| std_dev_vert | -float | -- | -Vertical position standard deviation | -
| vn | -float | -m/s | -True velocity in NORTH direction in earth-fixed NED frame | -
| ve | -float | -m/s | -True velocity in EAST direction in earth-fixed NED frame | -
| vd | -float | -m/s | -True velocity in DOWN direction in earth-fixed NED frame | -
Status generated by radio and injected into MAVLink stream.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| rssi | -uint8_t | -- | -Local signal strength | -
| remrssi | -uint8_t | -- | -Remote signal strength | -
| txbuf | -uint8_t | -- % - | -Remaining free buffer space. | -
| noise | -uint8_t | -- | -Background noise level | -
| remnoise | -uint8_t | -- | -Remote background noise level | -
| rxerrors | -uint16_t | -- | -Receive errors | -
| fixed | -uint16_t | -- | -Count of error corrected packets | -
File transfer message
-| Field Name | -Type | -Description | -
|---|---|---|
| target_network | -uint8_t | -Network ID (0 for broadcast) | -
| target_system | -uint8_t | -System ID (0 for broadcast) | -
| target_component | -uint8_t | -Component ID (0 for broadcast) | -
| payload | -uint8_t[251] | -Variable length payload. The length is defined by the remaining message length when subtracting the header and other fields. The entire content of this block is opaque unless you understand any the encoding message_type. The particular encoding used can be extension specific and might not always be documented as part of the mavlink specification. | -
Time synchronization message.
-| Field Name | -Type | -Description | -
|---|---|---|
| tc1 | -int64_t | -Time sync timestamp 1 | -
| ts1 | -int64_t | -Time sync timestamp 2 | -
Camera-IMU triggering and synchronisation message.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp for image frame (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| seq | -uint32_t | -- | -Image frame sequence | -
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.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| fix_type | -uint8_t | -- | -0-1: no fix, 2: 2D fix, 3: 3D fix. Some applications will not use the value of this field unless it is at least two, so always correctly fill in the fix. | -
| lat | -int32_t | -degE7 | -Latitude (WGS84) | -
| lon | -int32_t | -degE7 | -Longitude (WGS84) | -
| alt | -int32_t | -mm | -Altitude (AMSL). Positive for up. | -
| eph | -uint16_t | -cm | -GPS HDOP horizontal dilution of position. If unknown, set to: 65535 | -
| epv | -uint16_t | -cm | -GPS VDOP vertical dilution of position. If unknown, set to: 65535 | -
| vel | -uint16_t | -cm/s | -GPS ground speed. If unknown, set to: 65535 | -
| vn | -int16_t | -cm/s | -GPS velocity in NORTH direction in earth-fixed NED frame | -
| ve | -int16_t | -cm/s | -GPS velocity in EAST direction in earth-fixed NED frame | -
| vd | -int16_t | -cm/s | -GPS velocity in DOWN direction in earth-fixed NED frame | -
| cog | -uint16_t | -cdeg | -Course over ground (NOT heading, but direction of movement), 0.0..359.99 degrees. If unknown, set to: 65535 | -
| satellites_visible | -uint8_t | -- | -Number of satellites visible. If unknown, set to 255 | -
Simulated optical flow from a flow sensor (e.g. PX4FLOW or optical mouse sensor)
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| sensor_id | -uint8_t | -- | -Sensor ID | -
| integration_time_us | -uint32_t | -us | -Integration time. Divide integrated_x and integrated_y by the integration time to obtain average flow. The integration time also indicates the. | -
| integrated_x | -float | -rad | -Flow in radians around X axis (Sensor RH rotation about the X axis induces a positive flow. Sensor linear motion along the positive Y axis induces a negative flow.) | -
| integrated_y | -float | -rad | -Flow in radians around Y axis (Sensor RH rotation about the Y axis induces a positive flow. Sensor linear motion along the positive X axis induces a positive flow.) | -
| integrated_xgyro | -float | -rad | -RH rotation around X axis | -
| integrated_ygyro | -float | -rad | -RH rotation around Y axis | -
| integrated_zgyro | -float | -rad | -RH rotation around Z axis | -
| temperature | -int16_t | -cdegC | -Temperature | -
| quality | -uint8_t | -- | -Optical flow quality / confidence. 0: no valid flow, 255: maximum quality | -
| time_delta_distance_us | -uint32_t | -us | -Time since the distance was sampled. | -
| distance | -float | -m | -Distance to the center of the flow field. Positive value (including zero): distance known. Negative value: Unknown distance. | -
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.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| attitude_quaternion | -float[4] | -- | -Vehicle attitude expressed as normalized quaternion in w, x, y, z order (with 1 0 0 0 being the null-rotation) | -
| rollspeed | -float | -rad/s | -Body frame roll / phi angular speed | -
| pitchspeed | -float | -rad/s | -Body frame pitch / theta angular speed | -
| yawspeed | -float | -rad/s | -Body frame yaw / psi angular speed | -
| lat | -int32_t | -degE7 | -Latitude | -
| lon | -int32_t | -degE7 | -Longitude | -
| alt | -int32_t | -mm | -Altitude | -
| vx | -int16_t | -cm/s | -Ground X Speed (Latitude) | -
| vy | -int16_t | -cm/s | -Ground Y Speed (Longitude) | -
| vz | -int16_t | -cm/s | -Ground Z Speed (Altitude) | -
| ind_airspeed | -uint16_t | -cm/s | -Indicated airspeed | -
| true_airspeed | -uint16_t | -cm/s | -True airspeed | -
| xacc | -int16_t | -mG | -X acceleration | -
| yacc | -int16_t | -mG | -Y acceleration | -
| zacc | -int16_t | -mG | -Z acceleration | -
The RAW IMU readings for secondary 9DOF sensor setup. This message should contain the scaled values to the described units
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| xacc | -int16_t | -mG | -X acceleration | -
| yacc | -int16_t | -mG | -Y acceleration | -
| zacc | -int16_t | -mG | -Z acceleration | -
| xgyro | -int16_t | -mrad/s | -Angular speed around X axis | -
| ygyro | -int16_t | -mrad/s | -Angular speed around Y axis | -
| zgyro | -int16_t | -mrad/s | -Angular speed around Z axis | -
| xmag | -int16_t | -mT | -X Magnetic field | -
| ymag | -int16_t | -mT | -Y Magnetic field | -
| zmag | -int16_t | -mT | -Z Magnetic field | -
Request a list of available logs. On some systems calling this may stop on-board logging until LOG_REQUEST_END is called.
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
| start | -uint16_t | -First log id (0 for first available) | -
| end | -uint16_t | -Last log id (0xffff for last available) | -
Reply to LOG_REQUEST_LIST
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| id | -uint16_t | -- | -Log id | -
| num_logs | -uint16_t | -- | -Total number of logs | -
| last_log_num | -uint16_t | -- | -High log number | -
| time_utc | -uint32_t | -s | -UTC timestamp of log since 1970, or 0 if not available | -
| size | -uint32_t | -bytes | -Size of the log (may be approximate) | -
Request a chunk of a log
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- | -System ID | -
| target_component | -uint8_t | -- | -Component ID | -
| id | -uint16_t | -- | -Log id (from LOG_ENTRY reply) | -
| ofs | -uint32_t | -- | -Offset into the log | -
| count | -uint32_t | -bytes | -Number of bytes | -
Reply to LOG_REQUEST_DATA
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| id | -uint16_t | -- | -Log id (from LOG_ENTRY reply) | -
| ofs | -uint32_t | -- | -Offset into the log | -
| count | -uint8_t | -bytes | -Number of bytes (zero for end of log) | -
| data | -uint8_t[90] | -- | -log data | -
Erase all logs
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
Stop log transfer and resume normal logging
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
data for injecting into the onboard GPS (used for DGPS)
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- | -System ID | -
| target_component | -uint8_t | -- | -Component ID | -
| len | -uint8_t | -bytes | -data length | -
| data | -uint8_t[110] | -- | -raw data (110 is enough for 12 satellites of RTCMv2) | -
Second GPS data.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_usec | -uint64_t | -us | -- - - | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| fix_type | -uint8_t | -- | -- GPS_FIX_TYPE - | -GPS fix type. | -
| lat | -int32_t | -degE7 | -- - - | -Latitude (WGS84) | -
| lon | -int32_t | -degE7 | -- - - | -Longitude (WGS84) | -
| alt | -int32_t | -mm | -- - - | -Altitude (AMSL). Positive for up. | -
| eph | -uint16_t | -cm | -- - - | -GPS HDOP horizontal dilution of position. If unknown, set to: UINT16_MAX | -
| epv | -uint16_t | -cm | -- - - | -GPS VDOP vertical dilution of position. If unknown, set to: UINT16_MAX | -
| vel | -uint16_t | -cm/s | -- - - | -GPS ground speed. If unknown, set to: UINT16_MAX | -
| cog | -uint16_t | -cdeg | -- - - | -Course over ground (NOT heading, but direction of movement): 0.0..359.99 degrees. If unknown, set to: UINT16_MAX | -
| satellites_visible | -uint8_t | -- | -- - - | -Number of satellites visible. If unknown, set to 255 | -
| dgps_numch | -uint8_t | -- | -- - - | -Number of DGPS satellites | -
| dgps_age | -uint32_t | -ms | -- - - | -Age of DGPS info | -
Power supply status
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| Vcc | -uint16_t | -mV | -- - - | -5V rail voltage. | -
| Vservo | -uint16_t | -mV | -- - - | -Servo rail voltage. | -
| flags | -uint16_t | -- | -- MAV_POWER_STATUS - | -Bitmap of power supply status flags. | -
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.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| device | -uint8_t | -- | -- SERIAL_CONTROL_DEV - | -Serial control device type. | -
| flags | -uint8_t | -- | -- SERIAL_CONTROL_FLAG - | -Bitmap of serial control flags. | -
| timeout | -uint16_t | -ms | -- - - | -Timeout for reply data | -
| baudrate | -uint32_t | -bits/s | -- - - | -Baudrate of transfer. Zero means no change. | -
| count | -uint8_t | -bytes | -- - - | -how many bytes in this transfer | -
| data | -uint8_t[70] | -- | -- - - | -serial data | -
RTK GPS data. Gives information on the relative baseline calculation the GPS is reporting
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_last_baseline_ms | -uint32_t | -ms | -- - - | -Time since boot of last baseline message received. | -
| rtk_receiver_id | -uint8_t | -- | -- - - | -Identification of connected RTK receiver. | -
| wn | -uint16_t | -- | -- - - | -GPS Week Number of last baseline | -
| tow | -uint32_t | -ms | -- - - | -GPS Time of Week of last baseline | -
| rtk_health | -uint8_t | -- | -- - - | -GPS-specific health report for RTK data. | -
| rtk_rate | -uint8_t | -Hz | -- - - | -Rate of baseline messages being received by GPS | -
| nsats | -uint8_t | -- | -- - - | -Current number of sats used for RTK calculation. | -
| baseline_coords_type | -uint8_t | -- | -- RTK_BASELINE_COORDINATE_SYSTEM - | -Coordinate system of baseline | -
| baseline_a_mm | -int32_t | -mm | -- - - | -Current baseline in ECEF x or NED north component. | -
| baseline_b_mm | -int32_t | -mm | -- - - | -Current baseline in ECEF y or NED east component. | -
| baseline_c_mm | -int32_t | -mm | -- - - | -Current baseline in ECEF z or NED down component. | -
| accuracy | -uint32_t | -- | -- - - | -Current estimate of baseline accuracy. | -
| iar_num_hypotheses | -int32_t | -- | -- - - | -Current number of integer ambiguity hypotheses. | -
RTK GPS data. Gives information on the relative baseline calculation the GPS is reporting
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_last_baseline_ms | -uint32_t | -ms | -- - - | -Time since boot of last baseline message received. | -
| rtk_receiver_id | -uint8_t | -- | -- - - | -Identification of connected RTK receiver. | -
| wn | -uint16_t | -- | -- - - | -GPS Week Number of last baseline | -
| tow | -uint32_t | -ms | -- - - | -GPS Time of Week of last baseline | -
| rtk_health | -uint8_t | -- | -- - - | -GPS-specific health report for RTK data. | -
| rtk_rate | -uint8_t | -Hz | -- - - | -Rate of baseline messages being received by GPS | -
| nsats | -uint8_t | -- | -- - - | -Current number of sats used for RTK calculation. | -
| baseline_coords_type | -uint8_t | -- | -- RTK_BASELINE_COORDINATE_SYSTEM - | -Coordinate system of baseline | -
| baseline_a_mm | -int32_t | -mm | -- - - | -Current baseline in ECEF x or NED north component. | -
| baseline_b_mm | -int32_t | -mm | -- - - | -Current baseline in ECEF y or NED east component. | -
| baseline_c_mm | -int32_t | -mm | -- - - | -Current baseline in ECEF z or NED down component. | -
| accuracy | -uint32_t | -- | -- - - | -Current estimate of baseline accuracy. | -
| iar_num_hypotheses | -int32_t | -- | -- - - | -Current number of integer ambiguity hypotheses. | -
The RAW IMU readings for 3rd 9DOF sensor setup. This message should contain the scaled values to the described units
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| xacc | -int16_t | -mG | -X acceleration | -
| yacc | -int16_t | -mG | -Y acceleration | -
| zacc | -int16_t | -mG | -Z acceleration | -
| xgyro | -int16_t | -mrad/s | -Angular speed around X axis | -
| ygyro | -int16_t | -mrad/s | -Angular speed around Y axis | -
| zgyro | -int16_t | -mrad/s | -Angular speed around Z axis | -
| xmag | -int16_t | -mT | -X Magnetic field | -
| ymag | -int16_t | -mT | -Y Magnetic field | -
| zmag | -int16_t | -mT | -Z Magnetic field | -
-
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| type | -uint8_t | -- | -- DATA_TYPES - | -Type of requested/acknowledged data. | -
| size | -uint32_t | -bytes | -- - - | -total data size (set on ACK only). | -
| width | -uint16_t | -- | -- - - | -Width of a matrix or image. | -
| height | -uint16_t | -- | -- - - | -Height of a matrix or image. | -
| packets | -uint16_t | -- | -- - - | -Number of packets being sent (set on ACK only). | -
| payload | -uint8_t | -bytes | -- - - | -Payload size per packet (normally 253 byte, see DATA field size in message ENCAPSULATED_DATA) (set on ACK only). | -
| jpg_quality | -uint8_t | -- % - | -- - - | -JPEG quality. Values: [1-100]. | -
-
-| Field Name | -Type | -Description | -
|---|---|---|
| seqnr | -uint16_t | -sequence number (starting with 0 on every transmission) | -
| data | -uint8_t[253] | -image data bytes | -
-
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -- - - | -Timestamp (time since system boot). | -
| min_distance | -uint16_t | -cm | -- - - | -Minimum distance the sensor can measure | -
| max_distance | -uint16_t | -cm | -- - - | -Maximum distance the sensor can measure | -
| current_distance | -uint16_t | -cm | -- - - | -Current distance reading | -
| type | -uint8_t | -- | -- MAV_DISTANCE_SENSOR - | -Type of distance sensor. | -
| id | -uint8_t | -- | -- - - | -Onboard ID of the sensor | -
| orientation | -uint8_t | -- | -- MAV_SENSOR_ORIENTATION - | -Direction the sensor faces. downward-facing: ROTATION_PITCH_270, upward-facing: ROTATION_PITCH_90, backward-facing: ROTATION_PITCH_180, forward-facing: ROTATION_NONE, left-facing: ROTATION_YAW_90, right-facing: ROTATION_YAW_270 | -
| covariance | -uint8_t | -cm | -- - - | -Measurement covariance, 0 for unknown / invalid readings | -
Request for terrain data and terrain status
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| lat | -int32_t | -degE7 | -Latitude of SW corner of first grid | -
| lon | -int32_t | -degE7 | -Longitude of SW corner of first grid | -
| grid_spacing | -uint16_t | -m | -Grid spacing | -
| mask | -uint64_t | -- | -Bitmask of requested 4x4 grids (row major 8x7 array of grids, 56 bits) | -
Terrain data sent from GCS. The lat/lon and grid_spacing must be the same as a lat/lon from a TERRAIN_REQUEST
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| lat | -int32_t | -degE7 | -Latitude of SW corner of first grid | -
| lon | -int32_t | -degE7 | -Longitude of SW corner of first grid | -
| grid_spacing | -uint16_t | -m | -Grid spacing | -
| gridbit | -uint8_t | -- | -bit within the terrain request mask | -
| data | -int16_t[16] | -m | -Terrain data AMSL | -
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.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| lat | -int32_t | -degE7 | -Latitude | -
| lon | -int32_t | -degE7 | -Longitude | -
Response from a TERRAIN_CHECK request
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| lat | -int32_t | -degE7 | -Latitude | -
| lon | -int32_t | -degE7 | -Longitude | -
| spacing | -uint16_t | -- | -grid spacing (zero if terrain at this location unavailable) | -
| terrain_height | -float | -m | -Terrain height AMSL | -
| current_height | -float | -m | -Current vehicle height above lat/lon terrain height | -
| pending | -uint16_t | -- | -Number of 4x4 terrain blocks waiting to be received or read from disk | -
| loaded | -uint16_t | -- | -Number of 4x4 terrain blocks in memory | -
Barometer readings for 2nd barometer
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| press_abs | -float | -hPa | -Absolute pressure | -
| press_diff | -float | -hPa | -Differential pressure | -
| temperature | -int16_t | -cdegC | -Temperature measurement | -
Motion capture attitude and position
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| q | -float[4] | -- | -Attitude quaternion (w, x, y, z order, zero-rotation is 1, 0, 0, 0) | -
| x | -float | -m | -X position (NED) | -
| y | -float | -m | -Y position (NED) | -
| z | -float | -m | -Z position (NED) | -
| covariance - ** - - | -float[21] | -- | -Pose covariance matrix upper right triangular (first six entries are the first ROW, next five entries are the second ROW, etc.) | -
Set the vehicle attitude and body angular rates.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| group_mlx | -uint8_t | -- | -Actuator group. The "_mlx" indicates this is a multi-instance message and a MAVLink parser should use this field to difference between instances. | -
| target_system | -uint8_t | -- | -System ID | -
| target_component | -uint8_t | -- | -Component ID | -
| controls | -float[8] | -- | -Actuator controls. Normed to -1..+1 where 0 is neutral position. Throttle for single rotation direction motors is 0..1, negative range for reverse direction. Standard mapping for attitude controls (group 0): (index 0-7): roll, pitch, yaw, throttle, flaps, spoilers, airbrakes, landing gear. Load a pass-through mixer to repurpose them as generic outputs. | -
Set the vehicle attitude and body angular rates.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| group_mlx | -uint8_t | -- | -Actuator group. The "_mlx" indicates this is a multi-instance message and a MAVLink parser should use this field to difference between instances. | -
| controls | -float[8] | -- | -Actuator controls. Normed to -1..+1 where 0 is neutral position. Throttle for single rotation direction motors is 0..1, negative range for reverse direction. Standard mapping for attitude controls (group 0): (index 0-7): roll, pitch, yaw, throttle, flaps, spoilers, airbrakes, landing gear. Load a pass-through mixer to repurpose them as generic outputs. | -
The current system altitude.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| altitude_monotonic | -float | -m | -This altitude measure is initialized on system boot and monotonic (it is never reset, but represents the local altitude change). The only guarantee on this field is that it will never be reset and is consistent within a flight. The recommended value for this field is the uncorrected barometric altitude at boot time. This altitude will also drift and vary between flights. | -
| altitude_amsl | -float | -m | -This altitude measure is strictly above mean sea level and might be non-monotonic (it might reset on events like GPS lock or when a new QNH value is set). It should be the altitude to which global altitude waypoints are compared to. Note that it is *not* the GPS altitude, however, most GPS modules already output AMSL by default and not the WGS84 altitude. | -
| altitude_local | -float | -m | -This is the local altitude in the local coordinate frame. It is not the altitude above home, but in reference to the coordinate origin (0, 0, 0). It is up-positive. | -
| altitude_relative | -float | -m | -This is the altitude above the home position. It resets on each change of the current home position. | -
| altitude_terrain | -float | -m | -This is the altitude above terrain. It might be fed by a terrain database or an altimeter. Values smaller than -1000 should be interpreted as unknown. | -
| bottom_clearance | -float | -m | -This is not the altitude, but the clear space below the system according to the fused clearance estimate. It generally should max out at the maximum range of e.g. the laser altimeter. It is generally a moving target. A negative value indicates no measurement available. | -
The autopilot is requesting a resource (file, binary, other type of data)
-| Field Name | -Type | -Description | -
|---|---|---|
| request_id | -uint8_t | -Request ID. This ID should be re-used when sending back URI contents | -
| uri_type | -uint8_t | -The type of requested URI. 0 = a file via URL. 1 = a UAVCAN binary | -
| uri | -uint8_t[120] | -The requested unique resource identifier (URI). It is not necessarily a straight domain name (depends on the URI type enum) | -
| transfer_type | -uint8_t | -The way the autopilot wants to receive the URI. 0 = MAVLink FTP. 1 = binary stream. | -
| storage | -uint8_t[120] | -The storage path the autopilot wants the URI to be stored in. Will only be valid if the transfer_type has a storage associated (e.g. MAVLink FTP). | -
Barometer readings for 3rd barometer
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| press_abs | -float | -hPa | -Absolute pressure | -
| press_diff | -float | -hPa | -Differential pressure | -
| temperature | -int16_t | -cdegC | -Temperature measurement | -
current motion information from a designated system
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| timestamp | -uint64_t | -ms | -Timestamp (time since system boot). | -
| est_capabilities | -uint8_t | -- | -bit positions for tracker reporting capabilities (POS = 0, VEL = 1, ACCEL = 2, ATT + RATES = 3) | -
| lat | -int32_t | -degE7 | -Latitude (WGS84) | -
| lon | -int32_t | -degE7 | -Longitude (WGS84) | -
| alt | -float | -m | -Altitude (AMSL) | -
| vel | -float[3] | -m/s | -target velocity (0,0,0) for unknown | -
| acc | -float[3] | -m/s/s | -linear target acceleration (0,0,0) for unknown | -
| attitude_q | -float[4] | -- | -- (1 0 0 0 for unknown) - | -
| rates | -float[3] | -- | -- (0 0 0 for unknown) - | -
| position_cov | -float[3] | -- | -eph epv | -
| custom_state | -uint64_t | -- | -button states or switches of a tracker device | -
The smoothed, monotonic system state used to feed the control loops of the system.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| x_acc | -float | -m/s/s | -X acceleration in body frame | -
| y_acc | -float | -m/s/s | -Y acceleration in body frame | -
| z_acc | -float | -m/s/s | -Z acceleration in body frame | -
| x_vel | -float | -m/s | -X velocity in body frame | -
| y_vel | -float | -m/s | -Y velocity in body frame | -
| z_vel | -float | -m/s | -Z velocity in body frame | -
| x_pos | -float | -m | -X position in local frame | -
| y_pos | -float | -m | -Y position in local frame | -
| z_pos | -float | -m | -Z position in local frame | -
| airspeed | -float | -m/s | -Airspeed, set to -1 if unknown | -
| vel_variance | -float[3] | -- | -Variance of body velocity estimate | -
| pos_variance | -float[3] | -- | -Variance in local position | -
| q | -float[4] | -- | -The attitude, represented as Quaternion | -
| roll_rate | -float | -rad/s | -Angular rate in roll axis | -
| pitch_rate | -float | -rad/s | -Angular rate in pitch axis | -
| yaw_rate | -float | -rad/s | -Angular rate in yaw axis | -
Battery information
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| id | -uint8_t | -- | -- - - | -Battery ID | -
| battery_function | -uint8_t | -- | -- MAV_BATTERY_FUNCTION - | -Function of the battery | -
| type | -uint8_t | -- | -- MAV_BATTERY_TYPE - | -Type (chemistry) of the battery | -
| temperature | -int16_t | -cdegC | -- - - | -Temperature of the battery. INT16_MAX for unknown temperature. | -
| voltages | -uint16_t[10] | -mV | -- - - | -Battery voltage of cells. Cells above the valid cell count for this battery should have the UINT16_MAX value. | -
| current_battery | -int16_t | -cA | -- - - | -Battery current, -1: autopilot does not measure the current | -
| current_consumed | -int32_t | -mAh | -- - - | -Consumed charge, -1: autopilot does not provide consumption estimate | -
| energy_consumed | -int32_t | -hJ | -- - - | -Consumed energy, -1: autopilot does not provide energy consumption estimate | -
| battery_remaining | -int8_t | -- % - | -- - - | -Remaining battery energy. Values: [0-100], -1: autopilot does not estimate the remaining battery. | -
| time_remaining - ** - - | -int32_t | -s | -- - - | -Remaining battery time, 0: autopilot does not provide remaining battery time estimate | -
| charge_state - ** - - | -uint8_t | -- | -- MAV_BATTERY_CHARGE_STATE - | -State for extent of discharge, provided by autopilot for warning or external reactions | -
Version and capability of autopilot software
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| capabilities | -uint64_t | -- MAV_PROTOCOL_CAPABILITY - | -Bitmap of capabilities | -
| flight_sw_version | -uint32_t | -- - - | -Firmware version number | -
| middleware_sw_version | -uint32_t | -- - - | -Middleware version number | -
| os_sw_version | -uint32_t | -- - - | -Operating system version number | -
| board_version | -uint32_t | -- - - | -HW / board version (last 8 bytes should be silicon ID, if any) | -
| flight_custom_version | -uint8_t[8] | -- - - | -Custom version field, commonly the first 8 bytes of the git hash. This is not an unique identifier, but should allow to identify the commit using the main version number even for very large code bases. | -
| middleware_custom_version | -uint8_t[8] | -- - - | -Custom version field, commonly the first 8 bytes of the git hash. This is not an unique identifier, but should allow to identify the commit using the main version number even for very large code bases. | -
| os_custom_version | -uint8_t[8] | -- - - | -Custom version field, commonly the first 8 bytes of the git hash. This is not an unique identifier, but should allow to identify the commit using the main version number even for very large code bases. | -
| vendor_id | -uint16_t | -- - - | -ID of the board vendor | -
| product_id | -uint16_t | -- - - | -ID of the product | -
| uid | -uint64_t | -- - - | -UID if provided by hardware (see uid2) | -
| uid2 - ** - - | -uint8_t[18] | -- - - | -UID if provided by hardware (supersedes the uid field. If this is non-zero, use this field, otherwise use uid) | -
The location of a landing area captured from a downward facing camera
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_usec | -uint64_t | -us | -- - - | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| target_num | -uint8_t | -- | -- - - | -The ID of the target if multiple targets are present | -
| frame | -uint8_t | -- | -- MAV_FRAME - | -Coordinate frame used for following fields. | -
| angle_x | -float | -rad | -- - - | -X-axis angular offset of the target from the center of the image | -
| angle_y | -float | -rad | -- - - | -Y-axis angular offset of the target from the center of the image | -
| distance | -float | -m | -- - - | -Distance to the target from the vehicle | -
| size_x | -float | -rad | -- - - | -Size of target along x-axis | -
| size_y | -float | -rad | -- - - | -Size of target along y-axis | -
| x - ** - - | -float | -m | -- - - | -X Position of the landing target on MAV_FRAME | -
| y - ** - - | -float | -m | -- - - | -Y Position of the landing target on MAV_FRAME | -
| z - ** - - | -float | -m | -- - - | -Z Position of the landing target on MAV_FRAME | -
| q - ** - - | -float[4] | -- | -- - - | -Quaternion of landing target orientation (w, x, y, z order, zero-rotation is 1, 0, 0, 0) | -
| type - ** - - | -uint8_t | -- | -- LANDING_TARGET_TYPE - | -Type of landing target | -
| position_valid - ** - - | -uint8_t | -- | -- - - | -Boolean indicating known position (1) or default unknown position (0), for validation of positioning of the landing target | -
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.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_usec | -uint64_t | -us | -- - - | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| flags | -uint16_t | -- | -- ESTIMATOR_STATUS_FLAGS - | -Bitmap indicating which EKF outputs are valid. | -
| vel_ratio | -float | -- | -- - - | -Velocity innovation test ratio | -
| pos_horiz_ratio | -float | -- | -- - - | -Horizontal position innovation test ratio | -
| pos_vert_ratio | -float | -- | -- - - | -Vertical position innovation test ratio | -
| mag_ratio | -float | -- | -- - - | -Magnetometer innovation test ratio | -
| hagl_ratio | -float | -- | -- - - | -Height above terrain innovation test ratio | -
| tas_ratio | -float | -- | -- - - | -True airspeed innovation test ratio | -
| pos_horiz_accuracy | -float | -m | -- - - | -Horizontal position 1-STD accuracy relative to the EKF local origin | -
| pos_vert_accuracy | -float | -m | -- - - | -Vertical position 1-STD accuracy relative to the EKF local origin | -
-
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| wind_x | -float | -m/s | -Wind in X (NED) direction | -
| wind_y | -float | -m/s | -Wind in Y (NED) direction | -
| wind_z | -float | -m/s | -Wind in Z (NED) direction | -
| var_horiz | -float | -m/s | -Variability of the wind in XY. RMS of a 1 Hz lowpassed wind estimate. | -
| var_vert | -float | -m/s | -Variability of the wind in Z. RMS of a 1 Hz lowpassed wind estimate. | -
| wind_alt | -float | -m | -Altitude (AMSL) that this measurement was taken at | -
| horiz_accuracy | -float | -m | -Horizontal speed 1-STD accuracy | -
| vert_accuracy | -float | -m | -Vertical speed 1-STD accuracy | -
GPS sensor input message. This is a raw sensor value sent by the GPS. This is NOT the global position estimate of the system.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_usec | -uint64_t | -us | -- - - | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| gps_id | -uint8_t | -- | -- - - | -ID of the GPS for multiple GPS inputs | -
| ignore_flags | -uint16_t | -- | -- GPS_INPUT_IGNORE_FLAGS - | -Bitmap indicating which GPS input flags fields to ignore. All other fields must be provided. | -
| time_week_ms | -uint32_t | -ms | -- - - | -GPS time (from start of GPS week) | -
| time_week | -uint16_t | -- | -- - - | -GPS week number | -
| fix_type | -uint8_t | -- | -- - - | -0-1: no fix, 2: 2D fix, 3: 3D fix. 4: 3D with DGPS. 5: 3D with RTK | -
| lat | -int32_t | -degE7 | -- - - | -Latitude (WGS84) | -
| lon | -int32_t | -degE7 | -- - - | -Longitude (WGS84) | -
| alt | -float | -m | -- - - | -Altitude (AMSL). Positive for up. | -
| hdop | -float | -m | -- - - | -GPS HDOP horizontal dilution of position | -
| vdop | -float | -m | -- - - | -GPS VDOP vertical dilution of position | -
| vn | -float | -m/s | -- - - | -GPS velocity in NORTH direction in earth-fixed NED frame | -
| ve | -float | -m/s | -- - - | -GPS velocity in EAST direction in earth-fixed NED frame | -
| vd | -float | -m/s | -- - - | -GPS velocity in DOWN direction in earth-fixed NED frame | -
| speed_accuracy | -float | -m/s | -- - - | -GPS speed accuracy | -
| horiz_accuracy | -float | -m | -- - - | -GPS horizontal accuracy | -
| vert_accuracy | -float | -m | -- - - | -GPS vertical accuracy | -
| satellites_visible | -uint8_t | -- | -- - - | -Number of satellites visible. | -
RTCM message for injecting into the onboard GPS (used for DGPS)
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| flags | -uint8_t | -- | -LSB: 1 means message is fragmented, next 2 bits are the fragment ID, the remaining 5 bits are used for the sequence ID. Messages are only to be flushed to the GPS when the entire message has been reconstructed on the autopilot. The fragment ID specifies which order the fragments should be assembled into a buffer, while the sequence ID is used to detect a mismatch between different buffers. The buffer is considered fully reconstructed when either all 4 fragments are present, or all the fragments before the first fragment with a non full payload is received. This management is used to ensure that normal GPS operation doesn't corrupt RTCM data, and to recover from a unreliable transport delivery order. | -
| len | -uint8_t | -bytes | -data length | -
| data | -uint8_t[180] | -- | -RTCM message (may be fragmented) | -
Message appropriate for high latency connections like Iridium
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| base_mode | -uint8_t | -- | -- MAV_MODE_FLAG - | -Bitmap of enabled system modes. | -
| custom_mode | -uint32_t | -- | -- - - | -A bitfield for use for autopilot-specific flags. | -
| landed_state | -uint8_t | -- | -- MAV_LANDED_STATE - | -The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown. | -
| roll | -int16_t | -cdeg | -- - - | -roll | -
| pitch | -int16_t | -cdeg | -- - - | -pitch | -
| heading | -uint16_t | -cdeg | -- - - | -heading | -
| throttle | -int8_t | -- % - | -- - - | -throttle (percentage) | -
| heading_sp | -int16_t | -cdeg | -- - - | -heading setpoint | -
| latitude | -int32_t | -degE7 | -- - - | -Latitude | -
| longitude | -int32_t | -degE7 | -- - - | -Longitude | -
| altitude_amsl | -int16_t | -m | -- - - | -Altitude above mean sea level | -
| altitude_sp | -int16_t | -m | -- - - | -Altitude setpoint relative to the home position | -
| airspeed | -uint8_t | -m/s | -- - - | -airspeed | -
| airspeed_sp | -uint8_t | -m/s | -- - - | -airspeed setpoint | -
| groundspeed | -uint8_t | -m/s | -- - - | -groundspeed | -
| climb_rate | -int8_t | -m/s | -- - - | -climb rate | -
| gps_nsat | -uint8_t | -- | -- - - | -Number of satellites visible. If unknown, set to 255 | -
| gps_fix_type | -uint8_t | -- | -- GPS_FIX_TYPE - | -GPS Fix type. | -
| battery_remaining | -uint8_t | -- % - | -- - - | -Remaining battery (percentage) | -
| temperature | -int8_t | -degC | -- - - | -Autopilot temperature (degrees C) | -
| temperature_air | -int8_t | -degC | -- - - | -Air temperature (degrees C) from airspeed sensor | -
| failsafe | -uint8_t | -- | -- - - | -failsafe (each bit represents a failsafe where 0=ok, 1=failsafe active (bit0:RC, bit1:batt, bit2:GPS, bit3:GCS, bit4:fence) | -
| wp_num | -uint8_t | -- | -- - - | -current waypoint number | -
| wp_distance | -uint16_t | -m | -- - - | -distance to target | -
Message appropriate for high latency connections like Iridium (version 2)
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| timestamp | -uint32_t | -ms | -- - - | -Timestamp (milliseconds since boot or Unix epoch) | -
| type | -uint8_t | -- | -- MAV_TYPE - | -Type of the MAV (quadrotor, helicopter, etc.) | -
| autopilot | -uint8_t | -- | -- MAV_AUTOPILOT - | -Autopilot type / class. | -
| custom_mode | -uint16_t | -- | -- - - | -A bitfield for use for autopilot-specific flags (2 byte version). | -
| latitude | -int32_t | -degE7 | -- - - | -Latitude | -
| longitude | -int32_t | -degE7 | -- - - | -Longitude | -
| altitude | -int16_t | -m | -- - - | -Altitude above mean sea level | -
| target_altitude | -int16_t | -m | -- - - | -Altitude setpoint | -
| heading | -uint8_t | -deg/2 | -- - - | -Heading | -
| target_heading | -uint8_t | -deg/2 | -- - - | -Heading setpoint | -
| target_distance | -uint16_t | -dam | -- - - | -Distance to target waypoint or position | -
| throttle | -uint8_t | -- % - | -- - - | -Throttle | -
| airspeed | -uint8_t | -m/s*5 | -- - - | -Airspeed | -
| airspeed_sp | -uint8_t | -m/s*5 | -- - - | -Airspeed setpoint | -
| groundspeed | -uint8_t | -m/s*5 | -- - - | -Groundspeed | -
| windspeed | -uint8_t | -m/s*5 | -- - - | -Windspeed | -
| wind_heading | -uint8_t | -deg/2 | -- - - | -Wind heading | -
| eph | -uint8_t | -dm | -- - - | -Maximum error horizontal position since last message | -
| epv | -uint8_t | -dm | -- - - | -Maximum error vertical position since last message | -
| temperature_air | -int8_t | -degC | -- - - | -Air temperature from airspeed sensor | -
| climb_rate | -int8_t | -dm/s | -- - - | -Maximum climb rate magnitude since last message | -
| battery | -int8_t | -- % - | -- - - | -Battery (percentage, -1 for DNU) | -
| wp_num | -uint16_t | -- | -- - - | -Current waypoint number | -
| failure_flags | -uint16_t | -- | -- HL_FAILURE_FLAG - | -Bitmap of failure flags. | -
| custom0 | -int8_t | -- | -- - - | -Field for custom payload. | -
| custom1 | -int8_t | -- | -- - - | -Field for custom payload. | -
| custom2 | -int8_t | -- | -- - - | -Field for custom payload. | -
Vibration levels and accelerometer clipping
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| vibration_x | -float | -- | -Vibration levels on X-axis | -
| vibration_y | -float | -- | -Vibration levels on Y-axis | -
| vibration_z | -float | -- | -Vibration levels on Z-axis | -
| clipping_0 | -uint32_t | -- | -first accelerometer clipping count | -
| clipping_1 | -uint32_t | -- | -second accelerometer clipping count | -
| clipping_2 | -uint32_t | -- | -third accelerometer clipping count | -
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 position the system will return to and land on. 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.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| latitude | -int32_t | -degE7 | -Latitude (WGS84) | -
| longitude | -int32_t | -degE7 | -Longitude (WGS84) | -
| altitude | -int32_t | -mm | -Altitude (AMSL). Positive for up. | -
| x | -float | -m | -Local X position of this position in the local coordinate frame | -
| y | -float | -m | -Local Y position of this position in the local coordinate frame | -
| z | -float | -m | -Local Z position of this position in the local coordinate frame | -
| q | -float[4] | -- | -World to surface normal and heading transformation of the takeoff position. Used to indicate the heading and slope of the ground | -
| approach_x | -float | -m | -Local X position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone. | -
| approach_y | -float | -m | -Local Y position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone. | -
| approach_z | -float | -m | -Local Z position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone. | -
| time_usec - ** - - | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
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.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- | -System ID. | -
| latitude | -int32_t | -degE7 | -Latitude (WGS84) | -
| longitude | -int32_t | -degE7 | -Longitude (WGS84) | -
| altitude | -int32_t | -mm | -Altitude (AMSL). Positive for up. | -
| x | -float | -m | -Local X position of this position in the local coordinate frame | -
| y | -float | -m | -Local Y position of this position in the local coordinate frame | -
| z | -float | -m | -Local Z position of this position in the local coordinate frame | -
| q | -float[4] | -- | -World to surface normal and heading transformation of the takeoff position. Used to indicate the heading and slope of the ground | -
| approach_x | -float | -m | -Local X position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone. | -
| approach_y | -float | -m | -Local Y position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone. | -
| approach_z | -float | -m | -Local Z position of the end of the approach vector. Multicopters should set this position based on their takeoff path. Grass-landing fixed wing aircraft should set it the same way as multicopters. Runway-landing fixed wing aircraft should set it to the opposite direction of the takeoff, assuming the takeoff happened from the threshold / touchdown zone. | -
| time_usec - ** - - | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
The interval between messages for a particular MAVLink message ID. This interface replaces DATA_STREAM
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| message_id | -uint16_t | -- | -The ID of the requested MAVLink message. v1.0 is limited to 254 messages. | -
| interval_us | -int32_t | -us | -The interval between two messages. A value of -1 indicates this stream is disabled, 0 indicates it is not available, > 0 indicates the interval at which it is sent. | -
Provides state for additional features
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| vtol_state | -uint8_t | -- MAV_VTOL_STATE - | -The VTOL state if applicable. Is set to MAV_VTOL_STATE_UNDEFINED if UAV is not in VTOL configuration. | -
| landed_state | -uint8_t | -- MAV_LANDED_STATE - | -The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown. | -
The location and information of an ADSB vehicle
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| ICAO_address | -uint32_t | -- | -- - - | -ICAO address | -
| lat | -int32_t | -degE7 | -- - - | -Latitude | -
| lon | -int32_t | -degE7 | -- - - | -Longitude | -
| altitude_type | -uint8_t | -- | -- ADSB_ALTITUDE_TYPE - | -ADSB altitude type. | -
| altitude | -int32_t | -mm | -- - - | -Altitude(ASL) | -
| heading | -uint16_t | -cdeg | -- - - | -Course over ground | -
| hor_velocity | -uint16_t | -cm/s | -- - - | -The horizontal velocity | -
| ver_velocity | -int16_t | -cm/s | -- - - | -The vertical velocity. Positive is up | -
| callsign | -char[9] | -- | -- - - | -The callsign, 8+null | -
| emitter_type | -uint8_t | -- | -- ADSB_EMITTER_TYPE - | -ADSB emitter type. | -
| tslc | -uint8_t | -s | -- - - | -Time since last communication in seconds | -
| flags | -uint16_t | -- | -- ADSB_FLAGS - | -Bitmap to indicate various statuses including valid data fields | -
| squawk | -uint16_t | -- | -- - - | -Squawk code | -
Information about a potential collision
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| src | -uint8_t | -- | -- MAV_COLLISION_SRC - | -Collision data source | -
| id | -uint32_t | -- | -- - - | -Unique identifier, domain based on src field | -
| action | -uint8_t | -- | -- MAV_COLLISION_ACTION - | -Action that is being taken to avoid this collision | -
| threat_level | -uint8_t | -- | -- MAV_COLLISION_THREAT_LEVEL - | -How concerned the aircraft is about this collision | -
| time_to_minimum_delta | -float | -s | -- - - | -Estimated time until collision occurs | -
| altitude_minimum_delta | -float | -m | -- - - | -Closest vertical distance between vehicle and object | -
| horizontal_minimum_delta | -float | -m | -- - - | -Closest horizontal distance between vehicle and object | -
Message implementing parts of the V2 payload specs in V1 frames for transitional support.
-| Field Name | -Type | -Description | -
|---|---|---|
| target_network | -uint8_t | -Network ID (0 for broadcast) | -
| target_system | -uint8_t | -System ID (0 for broadcast) | -
| target_component | -uint8_t | -Component ID (0 for broadcast) | -
| message_type | -uint16_t | -A code that identifies the software component that understands this message (analogous to USB device classes or mime type strings). If this code is less than 32768, it is considered a 'registered' protocol extension and the corresponding entry should be added to https://github.com/mavlink/mavlink/extension-message-ids.xml. Software creators can register blocks of message IDs as needed (useful for GCS specific metadata, etc...). Message_types greater than 32767 are considered local experiments and should not be checked in to any widely distributed codebase. | -
| payload | -uint8_t[249] | -Variable length payload. The length is defined by the remaining message length when subtracting the header and other fields. The entire content of this block is opaque unless you understand any the encoding message_type. The particular encoding used can be extension specific and might not always be documented as part of the mavlink specification. | -
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.
-| Field Name | -Type | -Description | -
|---|---|---|
| address | -uint16_t | -Starting address of the debug variables | -
| ver | -uint8_t | -Version code of the type variable. 0=unknown, type ignored and assumed int16_t. 1=as below | -
| type | -uint8_t | -Type code of the memory variables. for ver = 1: 0=16 x int16_t, 1=16 x uint16_t, 2=16 x Q15, 3=16 x 1Q14 | -
| value | -int8_t[32] | -Memory contents at specified address | -
To debug something using a named 3D vector.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| name | -char[10] | -- | -Name | -
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| x | -float | -- | -x | -
| y | -float | -- | -y | -
| z | -float | -- | -z | -
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.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| name | -char[10] | -- | -Name of the debug variable | -
| value | -float | -- | -Floating point value | -
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.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| name | -char[10] | -- | -Name of the debug variable | -
| value | -int32_t | -- | -Signed integer value | -
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).
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| severity | -uint8_t | -- MAV_SEVERITY - | -Severity of status. Relies on the definitions within RFC-5424. | -
| text | -char[50] | -- - - | -Status text message, without null termination character | -
Send a debug value. The index is used to discriminate between values. These values show up in the plot of QGroundControl as DEBUG N.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| ind | -uint8_t | -- | -index of debug variable | -
| value | -float | -- | -DEBUG value | -
- - (MAVLink 2) - Setup a MAVLink2 signing key. If called with secret_key of all zero and zero initial_timestamp will disable signing
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -system id of the target | -
| target_component | -uint8_t | -component ID of the target | -
| secret_key | -uint8_t[32] | -signing key | -
| initial_timestamp | -uint64_t | -initial timestamp | -
- - (MAVLink 2) - Report button state change.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| last_change_ms | -uint32_t | -ms | -Time of last change of button state. | -
| state | -uint8_t | -- | -Bitmap for state of buttons. | -
- - (MAVLink 2) - Control vehicle tone generation (buzzer)
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
| tune | -char[30] | -tune in board specific format | -
| tune2 - ** - - | -char[200] | -tune extension (appended to tune) | -
- - (MAVLink 2) - Information about a camera
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -- - - | -Timestamp (time since system boot). | -
| vendor_name | -uint8_t[32] | -- | -- - - | -Name of the camera vendor | -
| model_name | -uint8_t[32] | -- | -- - - | -Name of the camera model | -
| firmware_version | -uint32_t | -- | -- - - | -Version of the camera firmware (v << 24 & 0xff = Dev, v << 16 & 0xff = Patch, v << 8 & 0xff = Minor, v & 0xff = Major) | -
| focal_length | -float | -mm | -- - - | -Focal length | -
| sensor_size_h | -float | -mm | -- - - | -Image sensor size horizontal | -
| sensor_size_v | -float | -mm | -- - - | -Image sensor size vertical | -
| resolution_h | -uint16_t | -pix | -- - - | -Horizontal image resolution | -
| resolution_v | -uint16_t | -pix | -- - - | -Vertical image resolution | -
| lens_id | -uint8_t | -- | -- - - | -Reserved for a lens ID | -
| flags | -uint32_t | -- | -- CAMERA_CAP_FLAGS - | -Bitmap of camera capability flags. | -
| cam_definition_version | -uint16_t | -- | -- - - | -Camera definition version (iteration) | -
| cam_definition_uri | -char[140] | -- | -- - - | -Camera definition URI (if any, otherwise only basic functions will be available). | -
- - (MAVLink 2) - Settings of a camera, can be requested using MAV_CMD_REQUEST_CAMERA_SETTINGS.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -- - - | -Timestamp (time since system boot). | -
| mode_id | -uint8_t | -- | -- CAMERA_MODE - | -Camera mode | -
- - (MAVLink 2) - Information about a storage medium.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| storage_id | -uint8_t | -- | -Storage ID (1 for first, 2 for second, etc.) | -
| storage_count | -uint8_t | -- | -Number of storage devices | -
| status | -uint8_t | -- | -Status of storage (0 not available, 1 unformatted, 2 formatted) | -
| total_capacity | -float | -MiB | -Total capacity. | -
| used_capacity | -float | -MiB | -Used capacity. | -
| available_capacity | -float | -MiB | -Available storage capacity. | -
| read_speed | -float | -MiB/s | -Read speed. | -
| write_speed | -float | -MiB/s | -Write speed. | -
- - (MAVLink 2) - Information about the status of a capture.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| image_status | -uint8_t | -- | -Current status of image capturing (0: idle, 1: capture in progress, 2: interval set but idle, 3: interval set and capture in progress) | -
| video_status | -uint8_t | -- | -Current status of video capturing (0: idle, 1: capture in progress) | -
| image_interval | -float | -s | -Image capture interval | -
| recording_time_ms | -uint32_t | -ms | -Time since recording started | -
| available_capacity | -float | -MiB | -Available storage capacity. | -
- - (MAVLink 2) - Information about a captured image
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| time_utc | -uint64_t | -us | -Timestamp (time since UNIX epoch) in UTC. 0 for unknown. | -
| camera_id | -uint8_t | -- | -Camera ID (1 for first, 2 for second, etc.) | -
| lat | -int32_t | -degE7 | -Latitude where image was taken | -
| lon | -int32_t | -degE7 | -Longitude where capture was taken | -
| alt | -int32_t | -mm | -Altitude (AMSL) where image was taken | -
| relative_alt | -int32_t | -mm | -Altitude above ground | -
| q | -float[4] | -- | -Quaternion of camera orientation (w, x, y, z order, zero-rotation is 0, 0, 0, 0) | -
| image_index | -int32_t | -- | -Zero based index of this image (image count since armed -1) | -
| capture_result | -int8_t | -- | -Boolean indicating success (1) or failure (0) while capturing this image. | -
| file_url | -char[205] | -- | -URL of image taken. Either local storage or http://foo.jpg if camera provides an HTTP interface. | -
- - (MAVLink 2) - Information about flight since last arming.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| arming_time_utc | -uint64_t | -us | -Timestamp at arming (time since UNIX epoch) in UTC, 0 for unknown | -
| takeoff_time_utc | -uint64_t | -us | -Timestamp at takeoff (time since UNIX epoch) in UTC, 0 for unknown | -
| flight_uuid | -uint64_t | -- | -Universally unique identifier (UUID) of flight, should correspond to name of log files | -
- - (MAVLink 2) - Orientation of a mount
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_boot_ms | -uint32_t | -ms | -Timestamp (time since system boot). | -
| roll | -float | -deg | -Roll in global frame (set to NaN for invalid). | -
| pitch | -float | -deg | -Pitch in global frame (set to NaN for invalid). | -
| yaw | -float | -deg | -Yaw relative to vehicle(set to NaN for invalid). | -
| yaw_absolute - ** - - | -float | -deg | -Yaw in absolute frame, North is 0 (set to NaN for invalid). | -
- - (MAVLink 2) - A message containing logged data (see also MAV_CMD_LOGGING_START)
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- | -system ID of the target | -
| target_component | -uint8_t | -- | -component ID of the target | -
| sequence | -uint16_t | -- | -sequence number (can wrap) | -
| length | -uint8_t | -bytes | -data length | -
| first_message_offset | -uint8_t | -bytes | -offset into data where first message starts. This can be used for recovery, when a previous message got lost (set to 255 if no start exists). | -
| data | -uint8_t[249] | -- | -logged data | -
- - (MAVLink 2) - A message containing logged data which requires a LOGGING_ACK to be sent back
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- | -system ID of the target | -
| target_component | -uint8_t | -- | -component ID of the target | -
| sequence | -uint16_t | -- | -sequence number (can wrap) | -
| length | -uint8_t | -bytes | -data length | -
| first_message_offset | -uint8_t | -bytes | -offset into data where first message starts. This can be used for recovery, when a previous message got lost (set to 255 if no start exists). | -
| data | -uint8_t[249] | -- | -logged data | -
- - (MAVLink 2) - An ack for a LOGGING_DATA_ACKED message
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -system ID of the target | -
| target_component | -uint8_t | -component ID of the target | -
| sequence | -uint16_t | -sequence number (must match the one in LOGGING_DATA_ACKED) | -
- - (MAVLink 2) - Information about video stream
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| camera_id | -uint8_t | -- | -Camera ID (1 for first, 2 for second, etc.) | -
| status | -uint8_t | -- | -Current status of video streaming (0: not running, 1: in progress) | -
| framerate | -float | -Hz | -Frame rate | -
| resolution_h | -uint16_t | -pix | -Horizontal resolution | -
| resolution_v | -uint16_t | -pix | -Vertical resolution | -
| bitrate | -uint32_t | -bits/s | -Bit rate in bits per second | -
| rotation | -uint16_t | -deg | -Video image rotation clockwise | -
| uri | -char[230] | -- | -Video stream URI | -
- - (MAVLink 2) - Message that sets video stream settings
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- | -system ID of the target | -
| target_component | -uint8_t | -- | -component ID of the target | -
| camera_id | -uint8_t | -- | -Camera ID (1 for first, 2 for second, etc.) | -
| framerate | -float | -Hz | -Frame rate (set to -1 for highest framerate possible) | -
| resolution_h | -uint16_t | -pix | -Horizontal resolution (set to -1 for highest resolution possible) | -
| resolution_v | -uint16_t | -pix | -Vertical resolution (set to -1 for highest resolution possible) | -
| bitrate | -uint32_t | -bits/s | -Bit rate (set to -1 for auto) | -
| rotation | -uint16_t | -deg | -Video image rotation clockwise (0-359 degrees) | -
| uri | -char[230] | -- | -Video stream URI | -
- - (MAVLink 2) - Configure AP SSID and Password.
-| Field Name | -Type | -Description | -
|---|---|---|
| ssid | -char[32] | -Name of Wi-Fi network (SSID). Leave it blank to leave it unchanged. | -
| password | -char[64] | -Password. Leave it blank for an open AP. | -
- - (MAVLink 2) - Version and capability of protocol version. This message is the response to REQUEST_PROTOCOL_VERSION and is used as part of the handshaking to establish which MAVLink version should be used on the network. Every node should respond to REQUEST_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 Name | -Type | -Description | -
|---|---|---|
| version | -uint16_t | -Currently active MAVLink version number * 100: v1.0 is 100, v2.0 is 200, etc. | -
| min_version | -uint16_t | -Minimum MAVLink version supported | -
| max_version | -uint16_t | -Maximum MAVLink version supported (set to the same value as version by default) | -
| spec_version_hash | -uint8_t[8] | -The first 8 bytes (not characters printed in hex!) of the git hash. | -
| library_version_hash | -uint8_t[8] | -The first 8 bytes (not characters printed in hex!) of the git hash. | -
- - (MAVLink 2) - 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.
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_usec | -uint64_t | -us | -- - - | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| uptime_sec | -uint32_t | -s | -- - - | -Time since the start-up of the node. | -
| health | -uint8_t | -- | -- UAVCAN_NODE_HEALTH - | -Generalized node health status. | -
| mode | -uint8_t | -- | -- UAVCAN_NODE_MODE - | -Generalized operating mode. | -
| sub_mode | -uint8_t | -- | -- - - | -Not used currently. | -
| vendor_specific_status_code | -uint16_t | -- | -- - - | -Vendor-specific status information. | -
- - (MAVLink 2) - 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.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| uptime_sec | -uint32_t | -s | -Time since the start-up of the node. | -
| name | -char[80] | -- | -Node name string. For example, "sapog.px4.io". | -
| hw_version_major | -uint8_t | -- | -Hardware major version number. | -
| hw_version_minor | -uint8_t | -- | -Hardware minor version number. | -
| hw_unique_id | -uint8_t[16] | -- | -Hardware unique 128-bit ID. | -
| sw_version_major | -uint8_t | -- | -Software major version number. | -
| sw_version_minor | -uint8_t | -- | -Software minor version number. | -
| sw_vcs_commit | -uint32_t | -- | -Version control system (VCS) revision identifier (e.g. git short commit hash). Zero if unknown. | -
- - (MAVLink 2) - Request to read the value of a parameter with the either the param_id string id or param_index.
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
| param_id | -char[16] | -Parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string | -
| param_index | -int16_t | -Parameter index. Set to -1 to use the Parameter ID field as identifier (else param_id will be ignored) | -
- - (MAVLink 2) - Request all parameters of this component. After this request, all parameters are emitted.
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
- - (MAVLink 2) - 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.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| param_id | -char[16] | -- - - | -Parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string | -
| param_value | -char[128] | -- - - | -Parameter value | -
| param_type | -uint8_t | -- MAV_PARAM_EXT_TYPE - | -Parameter type. | -
| param_count | -uint16_t | -- - - | -Total number of parameters | -
| param_index | -uint16_t | -- - - | -Index of this parameter | -
- - (MAVLink 2) - 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.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target_system | -uint8_t | -- - - | -System ID | -
| target_component | -uint8_t | -- - - | -Component ID | -
| param_id | -char[16] | -- - - | -Parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string | -
| param_value | -char[128] | -- - - | -Parameter value | -
| param_type | -uint8_t | -- MAV_PARAM_EXT_TYPE - | -Parameter type. | -
- - (MAVLink 2) - Response from a PARAM_EXT_SET message.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| param_id | -char[16] | -- - - | -Parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string | -
| param_value | -char[128] | -- - - | -Parameter value (new value if PARAM_ACK_ACCEPTED, current value otherwise) | -
| param_type | -uint8_t | -- MAV_PARAM_EXT_TYPE - | -Parameter type. | -
| param_result | -uint8_t | -- PARAM_ACK - | -Result code. | -
- - (MAVLink 2) - Obstacle distances in front of the sensor, starting from the left in increment degrees to the right
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_usec | -uint64_t | -us | -- - - | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| sensor_type | -uint8_t | -- | -- MAV_DISTANCE_SENSOR - | -Class id of the distance sensor type. | -
| distances | -uint16_t[72] | -cm | -- - - | -Distance of obstacles around the UAV with index 0 corresponding to local North. A value of 0 means that the obstacle is right in front of the sensor. A value of max_distance +1 means no obstacle is present. A value of UINT16_MAX for unknown/not used. In a array element, one unit corresponds to 1cm. | -
| increment | -uint8_t | -deg | -- - - | -Angular width in degrees of each array element. | -
| min_distance | -uint16_t | -cm | -- - - | -Minimum distance the sensor can measure. | -
| max_distance | -uint16_t | -cm | -- - - | -Maximum distance the sensor can measure. | -
- - (MAVLink 2) - 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).
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| time_usec | -uint64_t | -us | -- - - | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| frame_id | -uint8_t | -- | -- MAV_FRAME - | -Coordinate frame of reference for the pose data. | -
| child_frame_id | -uint8_t | -- | -- MAV_FRAME - | -Coordinate frame of reference for the velocity in free space (twist) data. | -
| x | -float | -m | -- - - | -X Position | -
| y | -float | -m | -- - - | -Y Position | -
| z | -float | -m | -- - - | -Z Position | -
| q | -float[4] | -- | -- - - | -Quaternion components, w, x, y, z (1 0 0 0 is the null-rotation) | -
| vx | -float | -m/s | -- - - | -X linear speed | -
| vy | -float | -m/s | -- - - | -Y linear speed | -
| vz | -float | -m/s | -- - - | -Z linear speed | -
| rollspeed | -float | -rad/s | -- - - | -Roll angular speed | -
| pitchspeed | -float | -rad/s | -- - - | -Pitch angular speed | -
| yawspeed | -float | -rad/s | -- - - | -Yaw angular speed | -
| pose_covariance | -float[21] | -- | -- - - | -Pose (states: x, y, z, roll, pitch, yaw) covariance matrix upper right triangle (first six entries are the first ROW, next five entries are the second ROW, etc.) | -
| twist_covariance | -float[21] | -- | -- - - | -Twist (states: vx, vy, vz, rollspeed, pitchspeed, yawspeed) covariance matrix upper right triangle (first six entries are the first ROW, next five entries are the second ROW, etc.) | -
- - (MAVLink 2) - Describe a trajectory using an array of up-to 5 waypoints in the local frame.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| valid_points | -uint8_t | -- | -Number of valid points (up-to 5 waypoints are possible) | -
| pos_x | -float[5] | -m | -X-coordinate of waypoint, set to NaN if not being used | -
| pos_y | -float[5] | -m | -Y-coordinate of waypoint, set to NaN if not being used | -
| pos_z | -float[5] | -m | -Z-coordinate of waypoint, set to NaN if not being used | -
| vel_x | -float[5] | -m/s | -X-velocity of waypoint, set to NaN if not being used | -
| vel_y | -float[5] | -m/s | -Y-velocity of waypoint, set to NaN if not being used | -
| vel_z | -float[5] | -m/s | -Z-velocity of waypoint, set to NaN if not being used | -
| acc_x | -float[5] | -m/s/s | -X-acceleration of waypoint, set to NaN if not being used | -
| acc_y | -float[5] | -m/s/s | -Y-acceleration of waypoint, set to NaN if not being used | -
| acc_z | -float[5] | -m/s/s | -Z-acceleration of waypoint, set to NaN if not being used | -
| pos_yaw | -float[5] | -rad | -Yaw angle, set to NaN if not being used | -
| vel_yaw | -float[5] | -rad/s | -Yaw rate, set to NaN if not being used | -
- - (MAVLink 2) - Describe a trajectory using an array of up-to 5 bezier points in the local frame.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| time_usec | -uint64_t | -us | -Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number. | -
| valid_points | -uint8_t | -- | -Number of valid points (up-to 5 waypoints are possible) | -
| pos_x | -float[5] | -m | -X-coordinate of starting bezier point, set to NaN if not being used | -
| pos_y | -float[5] | -m | -Y-coordinate of starting bezier point, set to NaN if not being used | -
| pos_z | -float[5] | -m | -Z-coordinate of starting bezier point, set to NaN if not being used | -
| delta | -float[5] | -s | -Bezier time horizon, set to NaN if velocity/acceleration should not be incorporated | -
| pos_yaw | -float[5] | -rad | -Yaw, set to NaN for unchanged | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- ICAROUS_TRACK_BAND_TYPE_NONE - | -- | -
| 1 | -- ICAROUS_TRACK_BAND_TYPE_NEAR - | -- | -
| 2 | -- ICAROUS_TRACK_BAND_TYPE_RECOVERY - | -- | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- ICAROUS_FMS_STATE_IDLE - | -- | -
| 1 | -- ICAROUS_FMS_STATE_TAKEOFF - | -- | -
| 2 | -- ICAROUS_FMS_STATE_CLIMB - | -- | -
| 3 | -- ICAROUS_FMS_STATE_CRUISE - | -- | -
| 4 | -- ICAROUS_FMS_STATE_APPROACH - | -- | -
| 5 | -- ICAROUS_FMS_STATE_LAND - | -- | -
- - (MAVLink 2) - ICAROUS heartbeat
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| status | -uint8_t | -- ICAROUS_FMS_STATE - | -See the FMS_STATE enum. | -
- - (MAVLink 2) - Kinematic multi bands (track) output from Daidalus
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| numBands | -int8_t | -- | -- - - | -Number of track bands | -
| type1 | -uint8_t | -- | -- ICAROUS_TRACK_BAND_TYPES - | -See the TRACK_BAND_TYPES enum. | -
| min1 | -float | -deg | -- - - | -min angle (degrees) | -
| max1 | -float | -deg | -- - - | -max angle (degrees) | -
| type2 | -uint8_t | -- | -- ICAROUS_TRACK_BAND_TYPES - | -See the TRACK_BAND_TYPES enum. | -
| min2 | -float | -deg | -- - - | -min angle (degrees) | -
| max2 | -float | -deg | -- - - | -max angle (degrees) | -
| type3 | -uint8_t | -- | -- ICAROUS_TRACK_BAND_TYPES - | -See the TRACK_BAND_TYPES enum. | -
| min3 | -float | -deg | -- - - | -min angle (degrees) | -
| max3 | -float | -deg | -- - - | -max angle (degrees) | -
| type4 | -uint8_t | -- | -- ICAROUS_TRACK_BAND_TYPES - | -See the TRACK_BAND_TYPES enum. | -
| min4 | -float | -deg | -- - - | -min angle (degrees) | -
| max4 | -float | -deg | -- - - | -max angle (degrees) | -
| type5 | -uint8_t | -- | -- ICAROUS_TRACK_BAND_TYPES - | -See the TRACK_BAND_TYPES enum. | -
| min5 | -float | -deg | -- - - | -min angle (degrees) | -
| max5 | -float | -deg | -- - - | -max angle (degrees) | -
- MAVLink Include Files: - common.xml -
-Action required when performing CMD_PREFLIGHT_STORAGE
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_PFS_CMD_READ_ALL - | -Read all parameters from storage | -
| 1 | -- MAV_PFS_CMD_WRITE_ALL - | -Write all parameters to storage | -
| 2 | -- MAV_PFS_CMD_CLEAR_ALL - | -Clear all parameters in storage | -
| 3 | -- MAV_PFS_CMD_READ_SPECIFIC - | -Read specific parameters from storage | -
| 4 | -- MAV_PFS_CMD_WRITE_SPECIFIC - | -Write specific parameters to storage | -
| 5 | -- MAV_PFS_CMD_CLEAR_SPECIFIC - | -Clear specific parameters in storage | -
| 6 | -- MAV_PFS_CMD_DO_NOTHING - | -do nothing | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_CMD_PREFLIGHT_STORAGE_ADVANCED - | -Request storage of different parameter values and logs. This command will be only accepted if in pre-flight mode. | -
| - | -||
| - | -Mission Param #1 | -Storage action: Action defined by MAV_PREFLIGHT_STORAGE_ACTION_ADVANCED | -
| - | -Mission Param #2 | -Storage area as defined by parameter database | -
| - | -Mission Param #3 | -Storage flags as defined by parameter database | -
| - | -Mission Param #4 | -Empty | -
| - | -Mission Param #5 | -Empty | -
| - | -Mission Param #6 | -Empty | -
| - | -Mission Param #7 | -Empty | -
|
- - |
- ||
Depreciated but used as a compiler flag. Do not remove
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
Reqest reading of flexifunction data
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
| read_req_type | -int16_t | -Type of flexifunction data requested | -
| data_index | -int16_t | -index into data where needed | -
Flexifunction type and parameters for component at function index from buffer
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
| func_index | -uint16_t | -Function index | -
| func_count | -uint16_t | -Total count of functions | -
| data_address | -uint16_t | -Address in the flexifunction data, Set to 0xFFFF to use address in target memory | -
| data_size | -uint16_t | -Size of the | -
| data | -int8_t[48] | -Settings data | -
Flexifunction type and parameters for component at function index from buffer
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
| func_index | -uint16_t | -Function index | -
| result | -uint16_t | -result of acknowledge, 0=fail, 1=good | -
Acknowldge sucess or failure of a flexifunction command
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
| directory_type | -uint8_t | -0=inputs, 1=outputs | -
| start_index | -uint8_t | -index of first directory entry to write | -
| count | -uint8_t | -count of directory entries to write | -
| directory_data | -int8_t[48] | -Settings data | -
Acknowldge sucess or failure of a flexifunction command
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
| directory_type | -uint8_t | -0=inputs, 1=outputs | -
| start_index | -uint8_t | -index of first directory entry to write | -
| count | -uint8_t | -count of directory entries to write | -
| result | -uint16_t | -result of acknowledge, 0=fail, 1=good | -
Acknowldge sucess or failure of a flexifunction command
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
| command_type | -uint8_t | -Flexifunction command type | -
Acknowldge sucess or failure of a flexifunction command
-| Field Name | -Type | -Description | -
|---|---|---|
| command_type | -uint16_t | -Command acknowledged | -
| result | -uint16_t | -result of acknowledge | -
Backwards compatible MAVLink version of SERIAL_UDB_EXTRA - F2: Format Part A
-| Field Name | -Type | -Description | -
|---|---|---|
| sue_time | -uint32_t | -Serial UDB Extra Time | -
| sue_status | -uint8_t | -Serial UDB Extra Status | -
| sue_latitude | -int32_t | -Serial UDB Extra Latitude | -
| sue_longitude | -int32_t | -Serial UDB Extra Longitude | -
| sue_altitude | -int32_t | -Serial UDB Extra Altitude | -
| sue_waypoint_index | -uint16_t | -Serial UDB Extra Waypoint Index | -
| sue_rmat0 | -int16_t | -Serial UDB Extra Rmat 0 | -
| sue_rmat1 | -int16_t | -Serial UDB Extra Rmat 1 | -
| sue_rmat2 | -int16_t | -Serial UDB Extra Rmat 2 | -
| sue_rmat3 | -int16_t | -Serial UDB Extra Rmat 3 | -
| sue_rmat4 | -int16_t | -Serial UDB Extra Rmat 4 | -
| sue_rmat5 | -int16_t | -Serial UDB Extra Rmat 5 | -
| sue_rmat6 | -int16_t | -Serial UDB Extra Rmat 6 | -
| sue_rmat7 | -int16_t | -Serial UDB Extra Rmat 7 | -
| sue_rmat8 | -int16_t | -Serial UDB Extra Rmat 8 | -
| sue_cog | -uint16_t | -Serial UDB Extra GPS Course Over Ground | -
| sue_sog | -int16_t | -Serial UDB Extra Speed Over Ground | -
| sue_cpu_load | -uint16_t | -Serial UDB Extra CPU Load | -
| sue_air_speed_3DIMU | -uint16_t | -Serial UDB Extra 3D IMU Air Speed | -
| sue_estimated_wind_0 | -int16_t | -Serial UDB Extra Estimated Wind 0 | -
| sue_estimated_wind_1 | -int16_t | -Serial UDB Extra Estimated Wind 1 | -
| sue_estimated_wind_2 | -int16_t | -Serial UDB Extra Estimated Wind 2 | -
| sue_magFieldEarth0 | -int16_t | -Serial UDB Extra Magnetic Field Earth 0 | -
| sue_magFieldEarth1 | -int16_t | -Serial UDB Extra Magnetic Field Earth 1 | -
| sue_magFieldEarth2 | -int16_t | -Serial UDB Extra Magnetic Field Earth 2 | -
| sue_svs | -int16_t | -Serial UDB Extra Number of Sattelites in View | -
| sue_hdop | -int16_t | -Serial UDB Extra GPS Horizontal Dilution of Precision | -
Backwards compatible version of SERIAL_UDB_EXTRA - F2: Part B
-| Field Name | -Type | -Description | -
|---|---|---|
| sue_time | -uint32_t | -Serial UDB Extra Time | -
| sue_pwm_input_1 | -int16_t | -Serial UDB Extra PWM Input Channel 1 | -
| sue_pwm_input_2 | -int16_t | -Serial UDB Extra PWM Input Channel 2 | -
| sue_pwm_input_3 | -int16_t | -Serial UDB Extra PWM Input Channel 3 | -
| sue_pwm_input_4 | -int16_t | -Serial UDB Extra PWM Input Channel 4 | -
| sue_pwm_input_5 | -int16_t | -Serial UDB Extra PWM Input Channel 5 | -
| sue_pwm_input_6 | -int16_t | -Serial UDB Extra PWM Input Channel 6 | -
| sue_pwm_input_7 | -int16_t | -Serial UDB Extra PWM Input Channel 7 | -
| sue_pwm_input_8 | -int16_t | -Serial UDB Extra PWM Input Channel 8 | -
| sue_pwm_input_9 | -int16_t | -Serial UDB Extra PWM Input Channel 9 | -
| sue_pwm_input_10 | -int16_t | -Serial UDB Extra PWM Input Channel 10 | -
| sue_pwm_input_11 | -int16_t | -Serial UDB Extra PWM Input Channel 11 | -
| sue_pwm_input_12 | -int16_t | -Serial UDB Extra PWM Input Channel 12 | -
| sue_pwm_output_1 | -int16_t | -Serial UDB Extra PWM Output Channel 1 | -
| sue_pwm_output_2 | -int16_t | -Serial UDB Extra PWM Output Channel 2 | -
| sue_pwm_output_3 | -int16_t | -Serial UDB Extra PWM Output Channel 3 | -
| sue_pwm_output_4 | -int16_t | -Serial UDB Extra PWM Output Channel 4 | -
| sue_pwm_output_5 | -int16_t | -Serial UDB Extra PWM Output Channel 5 | -
| sue_pwm_output_6 | -int16_t | -Serial UDB Extra PWM Output Channel 6 | -
| sue_pwm_output_7 | -int16_t | -Serial UDB Extra PWM Output Channel 7 | -
| sue_pwm_output_8 | -int16_t | -Serial UDB Extra PWM Output Channel 8 | -
| sue_pwm_output_9 | -int16_t | -Serial UDB Extra PWM Output Channel 9 | -
| sue_pwm_output_10 | -int16_t | -Serial UDB Extra PWM Output Channel 10 | -
| sue_pwm_output_11 | -int16_t | -Serial UDB Extra PWM Output Channel 11 | -
| sue_pwm_output_12 | -int16_t | -Serial UDB Extra PWM Output Channel 12 | -
| sue_imu_location_x | -int16_t | -Serial UDB Extra IMU Location X | -
| sue_imu_location_y | -int16_t | -Serial UDB Extra IMU Location Y | -
| sue_imu_location_z | -int16_t | -Serial UDB Extra IMU Location Z | -
| sue_location_error_earth_x | -int16_t | -Serial UDB Location Error Earth X | -
| sue_location_error_earth_y | -int16_t | -Serial UDB Location Error Earth Y | -
| sue_location_error_earth_z | -int16_t | -Serial UDB Location Error Earth Z | -
| sue_flags | -uint32_t | -Serial UDB Extra Status Flags | -
| sue_osc_fails | -int16_t | -Serial UDB Extra Oscillator Failure Count | -
| sue_imu_velocity_x | -int16_t | -Serial UDB Extra IMU Velocity X | -
| sue_imu_velocity_y | -int16_t | -Serial UDB Extra IMU Velocity Y | -
| sue_imu_velocity_z | -int16_t | -Serial UDB Extra IMU Velocity Z | -
| sue_waypoint_goal_x | -int16_t | -Serial UDB Extra Current Waypoint Goal X | -
| sue_waypoint_goal_y | -int16_t | -Serial UDB Extra Current Waypoint Goal Y | -
| sue_waypoint_goal_z | -int16_t | -Serial UDB Extra Current Waypoint Goal Z | -
| sue_aero_x | -int16_t | -Aeroforce in UDB X Axis | -
| sue_aero_y | -int16_t | -Aeroforce in UDB Y Axis | -
| sue_aero_z | -int16_t | -Aeroforce in UDB Z axis | -
| sue_barom_temp | -int16_t | -SUE barometer temperature | -
| sue_barom_press | -int32_t | -SUE barometer pressure | -
| sue_barom_alt | -int32_t | -SUE barometer altitude | -
| sue_bat_volt | -int16_t | -SUE battery voltage | -
| sue_bat_amp | -int16_t | -SUE battery current | -
| sue_bat_amp_hours | -int16_t | -SUE battery milli amp hours used | -
| sue_desired_height | -int16_t | -Sue autopilot desired height | -
| sue_memory_stack_free | -int16_t | -Serial UDB Extra Stack Memory Free | -
Backwards compatible version of SERIAL_UDB_EXTRA F4: format
-| Field Name | -Type | -Description | -
|---|---|---|
| sue_ROLL_STABILIZATION_AILERONS | -uint8_t | -Serial UDB Extra Roll Stabilization with Ailerons Enabled | -
| sue_ROLL_STABILIZATION_RUDDER | -uint8_t | -Serial UDB Extra Roll Stabilization with Rudder Enabled | -
| sue_PITCH_STABILIZATION | -uint8_t | -Serial UDB Extra Pitch Stabilization Enabled | -
| sue_YAW_STABILIZATION_RUDDER | -uint8_t | -Serial UDB Extra Yaw Stabilization using Rudder Enabled | -
| sue_YAW_STABILIZATION_AILERON | -uint8_t | -Serial UDB Extra Yaw Stabilization using Ailerons Enabled | -
| sue_AILERON_NAVIGATION | -uint8_t | -Serial UDB Extra Navigation with Ailerons Enabled | -
| sue_RUDDER_NAVIGATION | -uint8_t | -Serial UDB Extra Navigation with Rudder Enabled | -
| sue_ALTITUDEHOLD_STABILIZED | -uint8_t | -Serial UDB Extra Type of Alitude Hold when in Stabilized Mode | -
| sue_ALTITUDEHOLD_WAYPOINT | -uint8_t | -Serial UDB Extra Type of Alitude Hold when in Waypoint Mode | -
| sue_RACING_MODE | -uint8_t | -Serial UDB Extra Firmware racing mode enabled | -
Backwards compatible version of SERIAL_UDB_EXTRA F5: format
-| Field Name | -Type | -Description | -
|---|---|---|
| sue_YAWKP_AILERON | -float | -Serial UDB YAWKP_AILERON Gain for Proporional control of navigation | -
| sue_YAWKD_AILERON | -float | -Serial UDB YAWKD_AILERON Gain for Rate control of navigation | -
| sue_ROLLKP | -float | -Serial UDB Extra ROLLKP Gain for Proportional control of roll stabilization | -
| sue_ROLLKD | -float | -Serial UDB Extra ROLLKD Gain for Rate control of roll stabilization | -
Backwards compatible version of SERIAL_UDB_EXTRA F6: format
-| Field Name | -Type | -Description | -
|---|---|---|
| sue_PITCHGAIN | -float | -Serial UDB Extra PITCHGAIN Proportional Control | -
| sue_PITCHKD | -float | -Serial UDB Extra Pitch Rate Control | -
| sue_RUDDER_ELEV_MIX | -float | -Serial UDB Extra Rudder to Elevator Mix | -
| sue_ROLL_ELEV_MIX | -float | -Serial UDB Extra Roll to Elevator Mix | -
| sue_ELEVATOR_BOOST | -float | -Gain For Boosting Manual Elevator control When Plane Stabilized | -
Backwards compatible version of SERIAL_UDB_EXTRA F7: format
-| Field Name | -Type | -Description | -
|---|---|---|
| sue_YAWKP_RUDDER | -float | -Serial UDB YAWKP_RUDDER Gain for Proporional control of navigation | -
| sue_YAWKD_RUDDER | -float | -Serial UDB YAWKD_RUDDER Gain for Rate control of navigation | -
| sue_ROLLKP_RUDDER | -float | -Serial UDB Extra ROLLKP_RUDDER Gain for Proportional control of roll stabilization | -
| sue_ROLLKD_RUDDER | -float | -Serial UDB Extra ROLLKD_RUDDER Gain for Rate control of roll stabilization | -
| sue_RUDDER_BOOST | -float | -SERIAL UDB EXTRA Rudder Boost Gain to Manual Control when stabilized | -
| sue_RTL_PITCH_DOWN | -float | -Serial UDB Extra Return To Landing - Angle to Pitch Plane Down | -
Backwards compatible version of SERIAL_UDB_EXTRA F8: format
-| Field Name | -Type | -Description | -
|---|---|---|
| sue_HEIGHT_TARGET_MAX | -float | -Serial UDB Extra HEIGHT_TARGET_MAX | -
| sue_HEIGHT_TARGET_MIN | -float | -Serial UDB Extra HEIGHT_TARGET_MIN | -
| sue_ALT_HOLD_THROTTLE_MIN | -float | -Serial UDB Extra ALT_HOLD_THROTTLE_MIN | -
| sue_ALT_HOLD_THROTTLE_MAX | -float | -Serial UDB Extra ALT_HOLD_THROTTLE_MAX | -
| sue_ALT_HOLD_PITCH_MIN | -float | -Serial UDB Extra ALT_HOLD_PITCH_MIN | -
| sue_ALT_HOLD_PITCH_MAX | -float | -Serial UDB Extra ALT_HOLD_PITCH_MAX | -
| sue_ALT_HOLD_PITCH_HIGH | -float | -Serial UDB Extra ALT_HOLD_PITCH_HIGH | -
Backwards compatible version of SERIAL_UDB_EXTRA F13: format
-| Field Name | -Type | -Description | -
|---|---|---|
| sue_week_no | -int16_t | -Serial UDB Extra GPS Week Number | -
| sue_lat_origin | -int32_t | -Serial UDB Extra MP Origin Latitude | -
| sue_lon_origin | -int32_t | -Serial UDB Extra MP Origin Longitude | -
| sue_alt_origin | -int32_t | -Serial UDB Extra MP Origin Altitude Above Sea Level | -
Backwards compatible version of SERIAL_UDB_EXTRA F14: format
-| Field Name | -Type | -Description | -
|---|---|---|
| sue_WIND_ESTIMATION | -uint8_t | -Serial UDB Extra Wind Estimation Enabled | -
| sue_GPS_TYPE | -uint8_t | -Serial UDB Extra Type of GPS Unit | -
| sue_DR | -uint8_t | -Serial UDB Extra Dead Reckoning Enabled | -
| sue_BOARD_TYPE | -uint8_t | -Serial UDB Extra Type of UDB Hardware | -
| sue_AIRFRAME | -uint8_t | -Serial UDB Extra Type of Airframe | -
| sue_RCON | -int16_t | -Serial UDB Extra Reboot Register of DSPIC | -
| sue_TRAP_FLAGS | -int16_t | -Serial UDB Extra Last dspic Trap Flags | -
| sue_TRAP_SOURCE | -uint32_t | -Serial UDB Extra Type Program Address of Last Trap | -
| sue_osc_fail_count | -int16_t | -Serial UDB Extra Number of Ocillator Failures | -
| sue_CLOCK_CONFIG | -uint8_t | -Serial UDB Extra UDB Internal Clock Configuration | -
| sue_FLIGHT_PLAN_TYPE | -uint8_t | -Serial UDB Extra Type of Flight Plan | -
Backwards compatible version of SERIAL_UDB_EXTRA F15 format
-| Field Name | -Type | -Description | -
|---|---|---|
| sue_ID_VEHICLE_MODEL_NAME | -uint8_t[40] | -Serial UDB Extra Model Name Of Vehicle | -
| sue_ID_VEHICLE_REGISTRATION | -uint8_t[20] | -Serial UDB Extra Registraton Number of Vehicle | -
Backwards compatible version of SERIAL_UDB_EXTRA F16 format
-| Field Name | -Type | -Description | -
|---|---|---|
| sue_ID_LEAD_PILOT | -uint8_t[40] | -Serial UDB Extra Name of Expected Lead Pilot | -
| sue_ID_DIY_DRONES_URL | -uint8_t[70] | -Serial UDB Extra URL of Lead Pilot or Team | -
The altitude measured by sensors and IMU
-| Field Name | -Type | -Description | -
|---|---|---|
| time_boot_ms | -uint32_t | -Timestamp (milliseconds since system boot) | -
| alt_gps | -int32_t | -GPS altitude in meters, expressed as * 1000 (millimeters), above MSL | -
| alt_imu | -int32_t | -IMU altitude above ground in meters, expressed as * 1000 (millimeters) | -
| alt_barometric | -int32_t | -barometeric altitude above ground in meters, expressed as * 1000 (millimeters) | -
| alt_optical_flow | -int32_t | -Optical flow altitude above ground in meters, expressed as * 1000 (millimeters) | -
| alt_range_finder | -int32_t | -Rangefinder Altitude above ground in meters, expressed as * 1000 (millimeters) | -
| alt_extra | -int32_t | -Extra altitude above ground in meters, expressed as * 1000 (millimeters) | -
The airspeed measured by sensors and IMU
-| Field Name | -Type | -Description | -
|---|---|---|
| time_boot_ms | -uint32_t | -Timestamp (milliseconds since system boot) | -
| airspeed_imu | -int16_t | -Airspeed estimate from IMU, cm/s | -
| airspeed_pitot | -int16_t | -Pitot measured forward airpseed, cm/s | -
| airspeed_hot_wire | -int16_t | -Hot wire anenometer measured airspeed, cm/s | -
| airspeed_ultrasonic | -int16_t | -Ultrasonic measured airspeed, cm/s | -
| aoa | -int16_t | -Angle of attack sensor, degrees * 10 | -
| aoy | -int16_t | -Yaw angle sensor, degrees * 10 | -
Backwards compatible version of SERIAL_UDB_EXTRA F17 format
-| Field Name | -Type | -Description | -
|---|---|---|
| sue_feed_forward | -float | -SUE Feed Forward Gain | -
| sue_turn_rate_nav | -float | -SUE Max Turn Rate when Navigating | -
| sue_turn_rate_fbw | -float | -SUE Max Turn Rate in Fly By Wire Mode | -
Backwards compatible version of SERIAL_UDB_EXTRA F18 format
-| Field Name | -Type | -Description | -
|---|---|---|
| angle_of_attack_normal | -float | -SUE Angle of Attack Normal | -
| angle_of_attack_inverted | -float | -SUE Angle of Attack Inverted | -
| elevator_trim_normal | -float | -SUE Elevator Trim Normal | -
| elevator_trim_inverted | -float | -SUE Elevator Trim Inverted | -
| reference_speed | -float | -SUE reference_speed | -
Backwards compatible version of SERIAL_UDB_EXTRA F19 format
-| Field Name | -Type | -Description | -
|---|---|---|
| sue_aileron_output_channel | -uint8_t | -SUE aileron output channel | -
| sue_aileron_reversed | -uint8_t | -SUE aileron reversed | -
| sue_elevator_output_channel | -uint8_t | -SUE elevator output channel | -
| sue_elevator_reversed | -uint8_t | -SUE elevator reversed | -
| sue_throttle_output_channel | -uint8_t | -SUE throttle output channel | -
| sue_throttle_reversed | -uint8_t | -SUE throttle reversed | -
| sue_rudder_output_channel | -uint8_t | -SUE rudder output channel | -
| sue_rudder_reversed | -uint8_t | -SUE rudder reversed | -
Backwards compatible version of SERIAL_UDB_EXTRA F20 format
-| Field Name | -Type | -Description | -
|---|---|---|
| sue_number_of_inputs | -uint8_t | -SUE Number of Input Channels | -
| sue_trim_value_input_1 | -int16_t | -SUE UDB PWM Trim Value on Input 1 | -
| sue_trim_value_input_2 | -int16_t | -SUE UDB PWM Trim Value on Input 2 | -
| sue_trim_value_input_3 | -int16_t | -SUE UDB PWM Trim Value on Input 3 | -
| sue_trim_value_input_4 | -int16_t | -SUE UDB PWM Trim Value on Input 4 | -
| sue_trim_value_input_5 | -int16_t | -SUE UDB PWM Trim Value on Input 5 | -
| sue_trim_value_input_6 | -int16_t | -SUE UDB PWM Trim Value on Input 6 | -
| sue_trim_value_input_7 | -int16_t | -SUE UDB PWM Trim Value on Input 7 | -
| sue_trim_value_input_8 | -int16_t | -SUE UDB PWM Trim Value on Input 8 | -
| sue_trim_value_input_9 | -int16_t | -SUE UDB PWM Trim Value on Input 9 | -
| sue_trim_value_input_10 | -int16_t | -SUE UDB PWM Trim Value on Input 10 | -
| sue_trim_value_input_11 | -int16_t | -SUE UDB PWM Trim Value on Input 11 | -
| sue_trim_value_input_12 | -int16_t | -SUE UDB PWM Trim Value on Input 12 | -
Backwards compatible version of SERIAL_UDB_EXTRA F21 format
-| Field Name | -Type | -Description | -
|---|---|---|
| sue_accel_x_offset | -int16_t | -SUE X accelerometer offset | -
| sue_accel_y_offset | -int16_t | -SUE Y accelerometer offset | -
| sue_accel_z_offset | -int16_t | -SUE Z accelerometer offset | -
| sue_gyro_x_offset | -int16_t | -SUE X gyro offset | -
| sue_gyro_y_offset | -int16_t | -SUE Y gyro offset | -
| sue_gyro_z_offset | -int16_t | -SUE Z gyro offset | -
Backwards compatible version of SERIAL_UDB_EXTRA F22 format
-| Field Name | -Type | -Description | -
|---|---|---|
| sue_accel_x_at_calibration | -int16_t | -SUE X accelerometer at calibration time | -
| sue_accel_y_at_calibration | -int16_t | -SUE Y accelerometer at calibration time | -
| sue_accel_z_at_calibration | -int16_t | -SUE Z accelerometer at calibration time | -
| sue_gyro_x_at_calibration | -int16_t | -SUE X gyro at calibration time | -
| sue_gyro_y_at_calibration | -int16_t | -SUE Y gyro at calibration time | -
| sue_gyro_z_at_calibration | -int16_t | -SUE Z gyro at calibration time | -
The current MAVLink version is 2.2. The minor version numbers (after the dot) range from 1-255.
-Micro air vehicle / autopilot classes. This identifies the individual model.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_AUTOPILOT_GENERIC - | -Generic autopilot, full support for everything | -
| 1 | -- MAV_AUTOPILOT_PIXHAWK - | -PIXHAWK autopilot, http://pixhawk.ethz.ch | -
| 2 | -- MAV_AUTOPILOT_SLUGS - | -SLUGS autopilot, http://slugsuav.soe.ucsc.edu | -
| 3 | -- MAV_AUTOPILOT_ARDUPILOTMEGA - | -ArduPilotMega / ArduCopter, http://diydrones.com | -
| 4 | -- MAV_AUTOPILOT_OPENPILOT - | -OpenPilot, http://openpilot.org | -
| 5 | -- MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY - | -Generic autopilot only supporting simple waypoints | -
| 6 | -- MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY - | -Generic autopilot supporting waypoints and other simple navigation commands | -
| 7 | -- MAV_AUTOPILOT_GENERIC_MISSION_FULL - | -Generic autopilot supporting the full mission command set | -
| 8 | -- MAV_AUTOPILOT_INVALID - | -No valid autopilot, e.g. a GCS or other MAVLink component | -
| 9 | -- MAV_AUTOPILOT_PPZ - | -PPZ UAV - http://nongnu.org/paparazzi | -
| 10 | -- MAV_AUTOPILOT_UDB - | -UAV Dev Board | -
| 11 | -- MAV_AUTOPILOT_FP - | -FlexiPilot | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_TYPE_GENERIC - | -Generic micro air vehicle. | -
| 1 | -- MAV_TYPE_FIXED_WING - | -Fixed wing aircraft. | -
| 2 | -- MAV_TYPE_QUADROTOR - | -Quadrotor | -
| 3 | -- MAV_TYPE_COAXIAL - | -Coaxial helicopter | -
| 4 | -- MAV_TYPE_HELICOPTER - | -Normal helicopter with tail rotor. | -
| 5 | -- MAV_TYPE_ANTENNA_TRACKER - | -Ground installation | -
| 6 | -- MAV_TYPE_GCS - | -Operator control unit / ground control station | -
| 7 | -- MAV_TYPE_AIRSHIP - | -Airship, controlled | -
| 8 | -- MAV_TYPE_FREE_BALLOON - | -Free balloon, uncontrolled | -
| 9 | -- MAV_TYPE_ROCKET - | -Rocket | -
| 10 | -- MAV_TYPE_GROUND_ROVER - | -Ground rover | -
| 11 | -- MAV_TYPE_SURFACE_BOAT - | -Surface vessel, boat, ship | -
| 12 | -- MAV_TYPE_SUBMARINE - | -Submarine | -
| 13 | -- MAV_TYPE_HEXAROTOR - | -Hexarotor | -
| 14 | -- MAV_TYPE_OCTOROTOR - | -Octorotor | -
| 15 | -- MAV_TYPE_TRICOPTER - | -Octorotor | -
| 16 | -- MAV_TYPE_FLAPPING_WING - | -Flapping wing | -
These flags encode the MAV mode.
-| Value | -Field Name | -Description | -
|---|---|---|
| 128 | -- MAV_MODE_FLAG_SAFETY_ARMED - | -0b10000000 MAV safety set to armed. Motors are enabled / running / can start. Ready to fly. | -
| 64 | -- MAV_MODE_FLAG_MANUAL_INPUT_ENABLED - | -0b01000000 remote control input is enabled. | -
| 32 | -- MAV_MODE_FLAG_HIL_ENABLED - | -0b00100000 hardware in the loop simulation. All motors / actuators are blocked, but internal software is full operational. | -
| 16 | -- MAV_MODE_FLAG_STABILIZE_ENABLED - | -0b00010000 system stabilizes electronically its attitude (and optionally position). It needs however further control inputs to move around. | -
| 8 | -- MAV_MODE_FLAG_GUIDED_ENABLED - | -0b00001000 guided mode enabled, system flies waypoints / mission items. | -
| 4 | -- MAV_MODE_FLAG_AUTO_ENABLED - | -0b00000100 autonomous mode enabled, system finds its own goal positions. Guided flag can be set or not, depends on the actual implementation. | -
| 2 | -- MAV_MODE_FLAG_TEST_ENABLED - | -0b00000010 system has a test mode enabled. This flag is intended for temporary system tests and should not be used for stable implementations. | -
| 1 | -- MAV_MODE_FLAG_CUSTOM_MODE_ENABLED - | -0b00000001 Reserved for future use. | -
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.
-| Value | -Field Name | -Description | -
|---|---|---|
| 128 | -- MAV_MODE_FLAG_DECODE_POSITION_SAFETY - | -First bit: 10000000 | -
| 64 | -- MAV_MODE_FLAG_DECODE_POSITION_MANUAL - | -Second bit: 01000000 | -
| 32 | -- MAV_MODE_FLAG_DECODE_POSITION_HIL - | -Third bit: 00100000 | -
| 16 | -- MAV_MODE_FLAG_DECODE_POSITION_STABILIZE - | -Fourth bit: 00010000 | -
| 8 | -- MAV_MODE_FLAG_DECODE_POSITION_GUIDED - | -Fifth bit: 00001000 | -
| 4 | -- MAV_MODE_FLAG_DECODE_POSITION_AUTO - | -Sixt bit: 00000100 | -
| 2 | -- MAV_MODE_FLAG_DECODE_POSITION_TEST - | -Seventh bit: 00000010 | -
| 1 | -- MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODE - | -Eighth bit: 00000001 | -
-
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- MAV_STATE_UNINIT - | -Uninitialized system, state is unknown. | -
| - | -- MAV_STATE_BOOT - | -System is booting up. | -
| - | -- MAV_STATE_CALIBRATING - | -System is calibrating and not flight-ready. | -
| - | -- MAV_STATE_STANDBY - | -System is grounded and on standby. It can be launched any time. | -
| - | -- MAV_STATE_ACTIVE - | -System is active and might be already airborne. Motors are engaged. | -
| - | -- MAV_STATE_CRITICAL - | -System is in a non-normal flight mode. It can however still navigate. | -
| - | -- MAV_STATE_EMERGENCY - | -System 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_POWEROFF - | -System just initialized its power-down sequence, will shut down now. | -
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 Name | -Type | -Values | -Description | -
|---|---|---|---|
| type | -uint8_t | -- MAV_TYPE - | -Type of the MAV (quadrotor, helicopter, etc., up to 15 types, defined in MAV_TYPE ENUM) | -
| autopilot | -uint8_t | -- MAV_AUTOPILOT - | -Autopilot type / class. defined in MAV_AUTOPILOT ENUM | -
| base_mode | -uint8_t | -- - - | -System mode bitfield, see MAV_MODE_FLAGS ENUM in mavlink/include/mavlink_types.h | -
| custom_mode | -uint32_t | -- - - | -A bitfield for use for autopilot-specific flags. | -
| system_status | -uint8_t | -- MAV_STATE - | -System status flag, see MAV_STATE ENUM | -
| mavlink_version | -uint8_t_mavlink_version | -- - - | -MAVLink version | -
- MAVLink Include Files: - common.xml -
-The current MAVLink version is 2.3. The minor version numbers (after the dot) range from 1-255.
-Message encoding a mission script item. This message is emitted upon a request for the next script item.
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
| seq | -uint16_t | -Sequence | -
| name | -char[50] | -The name of the mission script, NULL terminated. | -
Request script item with the sequence number seq. The response of the system to this message should be a SCRIPT_ITEM message.
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
| seq | -uint16_t | -Sequence | -
Request the overall list of mission items from the system/component.
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
This message is emitted as response to SCRIPT_REQUEST_LIST by the MAV to get the number of mission scripts.
-| Field Name | -Type | -Description | -
|---|---|---|
| target_system | -uint8_t | -System ID | -
| target_component | -uint8_t | -Component ID | -
| count | -uint16_t | -Number of script items in the sequence | -
This message informs about the currently active SCRIPT.
-| Field Name | -Type | -Description | -
|---|---|---|
| seq | -uint16_t | -Active Sequence | -
- MAVLink Include Files: - common.xml -
-Array test #0.
-| Field Name | -Type | -Description | -
|---|---|---|
| v1 | -uint8_t | -Stub field | -
| ar_i8 | -int8_t[4] | -Value array | -
| ar_u8 | -uint8_t[4] | -Value array | -
| ar_u16 | -uint16_t[4] | -Value array | -
| ar_u32 | -uint32_t[4] | -Value array | -
Array test #1.
-| Field Name | -Type | -Description | -
|---|---|---|
| ar_u32 | -uint32_t[4] | -Value array | -
Array test #3.
-| Field Name | -Type | -Description | -
|---|---|---|
| v | -uint8_t | -Stub field | -
| ar_u32 | -uint32_t[4] | -Value array | -
Array test #4.
-| Field Name | -Type | -Description | -
|---|---|---|
| ar_u32 | -uint32_t[4] | -Value array | -
| v | -uint8_t | -Stub field | -
Array test #5.
-| Field Name | -Type | -Description | -
|---|---|---|
| c1 | -char[5] | -Value array | -
| c2 | -char[5] | -Value array | -
Array test #6.
-| Field Name | -Type | -Description | -
|---|---|---|
| v1 | -uint8_t | -Stub field | -
| v2 | -uint16_t | -Stub field | -
| v3 | -uint32_t | -Stub field | -
| ar_u32 | -uint32_t[2] | -Value array | -
| ar_i32 | -int32_t[2] | -Value array | -
| ar_u16 | -uint16_t[2] | -Value array | -
| ar_i16 | -int16_t[2] | -Value array | -
| ar_u8 | -uint8_t[2] | -Value array | -
| ar_i8 | -int8_t[2] | -Value array | -
| ar_c | -char[32] | -Value array | -
| ar_d | -double[2] | -Value array | -
| ar_f | -float[2] | -Value array | -
Array test #7.
-| Field Name | -Type | -Description | -
|---|---|---|
| ar_d | -double[2] | -Value array | -
| ar_f | -float[2] | -Value array | -
| ar_u32 | -uint32_t[2] | -Value array | -
| ar_i32 | -int32_t[2] | -Value array | -
| ar_u16 | -uint16_t[2] | -Value array | -
| ar_i16 | -int16_t[2] | -Value array | -
| ar_u8 | -uint8_t[2] | -Value array | -
| ar_i8 | -int8_t[2] | -Value array | -
| ar_c | -char[32] | -Value array | -
Array test #8.
-| Field Name | -Type | -Description | -
|---|---|---|
| v3 | -uint32_t | -Stub field | -
| ar_d | -double[2] | -Value array | -
| ar_u16 | -uint16_t[2] | -Value array | -
- MAVLink Include Files: - common.xml -
--
-| Value | -Field Name | -Description | -
|---|---|---|
| 10001 | -- MAV_CMD_DO_NOTHING - | -Does nothing. | -
| - | -||
| - | -Mission Param #1 | -1 to arm, 0 to disarm | -
|
- - |
- ||
| 10011 | -- MAV_CMD_RETURN_TO_BASE - | -Return vehicle to base. | -
| - | -||
| - | -Mission Param #1 | -0: return to base, 1: track mobile base | -
|
- - |
- ||
| 10012 | -- MAV_CMD_STOP_RETURN_TO_BASE - | -Stops the vehicle from returning to base and resumes flight. | -
| 10013 | -- MAV_CMD_TURN_LIGHT - | -Turns the vehicle's visible or infrared lights on or off. | -
| - | -||
| - | -Mission Param #1 | -0: visible lights, 1: infrared lights | -
| - | -Mission Param #2 | -0: turn on, 1: turn off | -
|
- - |
- ||
| 10014 | -- MAV_CMD_GET_MID_LEVEL_COMMANDS - | -Requests vehicle to send current mid-level commands to ground station. | -
| 10015 | -- MAV_CMD_MIDLEVEL_STORAGE - | -Requests storage of mid-level commands. | -
| - | -||
| - | -Mission Param #1 | -Mid-level command storage: 0: read from flash/EEPROM, 1: write to flash/EEPROM | -
|
- - |
- ||
Slugs-specific navigation modes.
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- SLUGS_MODE_NONE - | -No change to SLUGS mode. | -
| 1 | -- SLUGS_MODE_LIFTOFF - | -Vehicle is in liftoff mode. | -
| 2 | -- SLUGS_MODE_PASSTHROUGH - | -Vehicle is in passthrough mode, being controlled by a pilot. | -
| 3 | -- SLUGS_MODE_WAYPOINT - | -Vehicle is in waypoint mode, navigating to waypoints. | -
| 4 | -- SLUGS_MODE_MID_LEVEL - | -Vehicle is executing mid-level commands. | -
| 5 | -- SLUGS_MODE_RETURNING - | -Vehicle is returning to the home location. | -
| 6 | -- SLUGS_MODE_LANDING - | -Vehicle is landing. | -
| 7 | -- SLUGS_MODE_LOST - | -Lost connection with vehicle. | -
| 8 | -- SLUGS_MODE_SELECTIVE_PASSTHROUGH - | -Vehicle is in selective passthrough mode, where selected surfaces are being manually controlled. | -
| 9 | -- SLUGS_MODE_ISR - | -Vehicle is in ISR mode, performing reconaissance at a point specified by ISR_LOCATION message. | -
| 10 | -- SLUGS_MODE_LINE_PATROL - | -Vehicle is patrolling along lines between waypoints. | -
| 11 | -- SLUGS_MODE_GROUNDED - | -Vehicle is grounded or an error has occurred. | -
These flags encode the control surfaces for selective passthrough mode. If a bit is set then the pilot console - has control of the surface, and if not then the autopilot has control of the surface.
-| Value | -Field Name | -Description | -
|---|---|---|
| 128 | -- CONTROL_SURFACE_FLAG_THROTTLE - | -0b10000000 Throttle control passes through to pilot console. | -
| 64 | -- CONTROL_SURFACE_FLAG_LEFT_AILERON - | -0b01000000 Left aileron control passes through to pilot console. | -
| 32 | -- CONTROL_SURFACE_FLAG_RIGHT_AILERON - | -0b00100000 Right aileron control passes through to pilot console. | -
| 16 | -- CONTROL_SURFACE_FLAG_RUDDER - | -0b00010000 Rudder control passes through to pilot console. | -
| 8 | -- CONTROL_SURFACE_FLAG_LEFT_ELEVATOR - | -0b00001000 Left elevator control passes through to pilot console. | -
| 4 | -- CONTROL_SURFACE_FLAG_RIGHT_ELEVATOR - | -0b00000100 Right elevator control passes through to pilot console. | -
| 2 | -- CONTROL_SURFACE_FLAG_LEFT_FLAP - | -0b00000010 Left flap control passes through to pilot console. | -
| 1 | -- CONTROL_SURFACE_FLAG_RIGHT_FLAP - | -0b00000001 Right flap control passes through to pilot console. | -
Sensor and DSC control loads.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| sensLoad | -uint8_t | -- | -Sensor DSC Load | -
| ctrlLoad | -uint8_t | -- | -Control DSC Load | -
| batVolt | -uint16_t | -mV | -Battery Voltage | -
Accelerometer and gyro biases.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| axBias | -float | -m/s | -Accelerometer X bias | -
| ayBias | -float | -m/s | -Accelerometer Y bias | -
| azBias | -float | -m/s | -Accelerometer Z bias | -
| gxBias | -float | -rad/s | -Gyro X bias | -
| gyBias | -float | -rad/s | -Gyro Y bias | -
| gzBias | -float | -rad/s | -Gyro Z bias | -
Configurable diagnostic messages.
-| Field Name | -Type | -Description | -
|---|---|---|
| diagFl1 | -float | -Diagnostic float 1 | -
| diagFl2 | -float | -Diagnostic float 2 | -
| diagFl3 | -float | -Diagnostic float 3 | -
| diagSh1 | -int16_t | -Diagnostic short 1 | -
| diagSh2 | -int16_t | -Diagnostic short 2 | -
| diagSh3 | -int16_t | -Diagnostic short 3 | -
Data used in the navigation algorithm.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| u_m | -float | -m/s | -Measured Airspeed prior to the nav filter | -
| phi_c | -float | -- | -Commanded Roll | -
| theta_c | -float | -- | -Commanded Pitch | -
| psiDot_c | -float | -- | -Commanded Turn rate | -
| ay_body | -float | -- | -Y component of the body acceleration | -
| totalDist | -float | -- | -Total Distance to Run on this leg of Navigation | -
| dist2Go | -float | -- | -Remaining distance to Run on this leg of Navigation | -
| fromWP | -uint8_t | -- | -Origin WP | -
| toWP | -uint8_t | -- | -Destination WP | -
| h_c | -uint16_t | -dm | -Commanded altitude | -
Configurable data log probes to be used inside Simulink
-| Field Name | -Type | -Description | -
|---|---|---|
| fl_1 | -float | -Log value 1 | -
| fl_2 | -float | -Log value 2 | -
| fl_3 | -float | -Log value 3 | -
| fl_4 | -float | -Log value 4 | -
| fl_5 | -float | -Log value 5 | -
| fl_6 | -float | -Log value 6 | -
Pilot console PWM messges.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| year | -uint8_t | -- | -Year reported by Gps | -
| month | -uint8_t | -- | -Month reported by Gps | -
| day | -uint8_t | -- | -Day reported by Gps | -
| hour | -uint8_t | -- | -Hour reported by Gps | -
| min | -uint8_t | -- | -Min reported by Gps | -
| sec | -uint8_t | -- | -Sec reported by Gps | -
| clockStat | -uint8_t | -- | -Clock Status. See table 47 page 211 OEMStar Manual | -
| visSat | -uint8_t | -- | -Visible satellites reported by Gps | -
| useSat | -uint8_t | -- | -Used satellites in Solution | -
| GppGl | -uint8_t | -- | -GPS+GLONASS satellites in Solution | -
| sigUsedMask | -uint8_t | -- | -GPS and GLONASS usage mask (bit 0 GPS_used? bit_4 GLONASS_used?) | -
| percentUsed | -uint8_t | -- % - | -Percent used GPS | -
Mid Level commands sent from the GS to the autopilot. These are only sent when being operated in mid-level commands mode from the ground.
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| target | -uint8_t | -- | -The system setting the commands | -
| hCommand | -float | -m | -Commanded Altitude | -
| uCommand | -float | -m/s | -Commanded Airspeed | -
| rCommand | -float | -rad/s | -Commanded Turnrate | -
This message sets the control surfaces for selective passthrough mode.
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| target | -uint8_t | -- - - | -The system setting the commands | -
| bitfieldPt | -uint16_t | -- CONTROL_SURFACE_FLAG - | -Bitfield containing the passthrough configuration, see CONTROL_SURFACE_FLAG ENUM. | -
Orders generated to the SLUGS camera mount.
-| Field Name | -Type | -Description | -
|---|---|---|
| target | -uint8_t | -The system reporting the action | -
| pan | -int8_t | -Order the mount to pan: -1 left, 0 No pan motion, +1 right | -
| tilt | -int8_t | -Order the mount to tilt: -1 down, 0 No tilt motion, +1 up | -
| zoom | -int8_t | -Order the zoom values 0 to 10 | -
| moveHome | -int8_t | -Orders the camera mount to move home. The other fields are ignored when this field is set. 1: move home, 0 ignored | -
Control for surface; pending and order to origin.
-| Field Name | -Type | -Description | -
|---|---|---|
| target | -uint8_t | -The system setting the commands | -
| idSurface | -uint8_t | -ID control surface send 0: throttle 1: aileron 2: elevator 3: rudder | -
| mControl | -float | -Pending | -
| bControl | -float | -Order to origin | -
Transmits the last known position of the mobile GS to the UAV. Very relevant when Track Mobile is enabled
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| target | -uint8_t | -- | -The system reporting the action | -
| latitude | -float | -deg | -Mobile Latitude | -
| longitude | -float | -deg | -Mobile Longitude | -
Control for camara.
-| Field Name | -Type | -Description | -
|---|---|---|
| target | -uint8_t | -The system setting the commands | -
| idOrder | -uint8_t | -ID 0: brightness 1: aperture 2: iris 3: ICR 4: backlight | -
| order | -uint8_t | -1: up/on 2: down/off 3: auto/reset/no action | -
Transmits the position of watch
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| target | -uint8_t | -- | -The system reporting the action | -
| latitude | -float | -deg | -ISR Latitude | -
| longitude | -float | -deg | -ISR Longitude | -
| height | -float | -- | -ISR Height | -
| option1 | -uint8_t | -- | -Option 1 | -
| option2 | -uint8_t | -- | -Option 2 | -
| option3 | -uint8_t | -- | -Option 3 | -
Transmits the readings from the voltage and current sensors
-| Field Name | -Type | -Description | -
|---|---|---|
| r2Type | -uint8_t | -It is the value of reading 2: 0 - Current, 1 - Foreward Sonar, 2 - Back Sonar, 3 - RPM | -
| voltage | -uint16_t | -Voltage in uS of PWM. 0 uS = 0V, 20 uS = 21.5V | -
| reading2 | -uint16_t | -Depends on the value of r2Type (0) Current consumption in uS of PWM, 20 uS = 90Amp (1) Distance in cm (2) Distance in cm (3) Absolute value | -
Transmits the actual Pan, Tilt and Zoom values of the camera unit
-| Field Name | -Type | -Description | -
|---|---|---|
| zoom | -uint8_t | -The actual Zoom Value | -
| pan | -int16_t | -The Pan value in 10ths of degree | -
| tilt | -int16_t | -The Tilt value in 10ths of degree | -
Transmits the actual status values UAV in flight
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| target | -uint8_t | -- | -The ID system reporting the action | -
| latitude | -float | -deg | -Latitude UAV | -
| longitude | -float | -deg | -Longitude UAV | -
| altitude | -float | -m | -Altitude UAV | -
| speed | -float | -m/s | -Speed UAV | -
| course | -float | -- | -Course UAV | -
This contains the status of the GPS readings
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| csFails | -uint16_t | -- | -Number of times checksum has failed | -
| gpsQuality | -uint8_t | -- | -The quality indicator, 0=fix not available or invalid, 1=GPS fix, 2=C/A differential GPS, 6=Dead reckoning mode, 7=Manual input mode (fixed position), 8=Simulator mode, 9= WAAS a | -
| msgsType | -uint8_t | -- | -Indicates if GN, GL or GP messages are being received | -
| posStatus | -uint8_t | -- | -A = data valid, V = data invalid | -
| magVar | -float | -deg | -Magnetic variation | -
| magDir | -int8_t | -- | -Magnetic variation direction E/W. Easterly variation (E) subtracts from True course and Westerly variation (W) adds to True course | -
| modeInd | -uint8_t | -- | -Positioning system mode indicator. A - Autonomous;D-Differential; E-Estimated (dead reckoning) mode;M-Manual input; N-Data not valid | -
Transmits the diagnostics data from the Novatel OEMStar GPS
-| Field Name | -Type | -Units | -Description | -
|---|---|---|---|
| timeStatus | -uint8_t | -- | -The Time Status. See Table 8 page 27 Novatel OEMStar Manual | -
| receiverStatus | -uint32_t | -- | -Status Bitfield. See table 69 page 350 Novatel OEMstar Manual | -
| solStatus | -uint8_t | -- | -solution Status. See table 44 page 197 | -
| posType | -uint8_t | -- | -position type. See table 43 page 196 | -
| velType | -uint8_t | -- | -velocity type. See table 43 page 196 | -
| posSolAge | -float | -s | -Age of the position solution | -
| csFails | -uint16_t | -- | -Times the CRC has failed since boot | -
Diagnostic data Sensor MCU
-| Field Name | -Type | -Description | -
|---|---|---|
| float1 | -float | -Float field 1 | -
| float2 | -float | -Float field 2 | -
| int1 | -int16_t | -Int 16 field 1 | -
| char1 | -int8_t | -Int 8 field 1 | -
The boot message indicates that a system is starting. The onboard software version allows to keep track of onboard soft/firmware revisions. This message allows the sensor and control MCUs to communicate version numbers on startup.
-| Field Name | -Type | -Description | -
|---|---|---|
| version | -uint32_t | -The onboard software version | -
- MAVLink Include Files: - common.xml -
-This file has protocol dialect: 0.
-The current MAVLink version is 2.3. The minor version numbers (after the dot) range from 1-255.
-Test all field types
-| Field Name | -Type | -Description | -
|---|---|---|
| c | -char | -char | -
| s | -char[10] | -string | -
| u8 | -uint8_t | -uint8_t | -
| u16 | -uint16_t | -uint16_t | -
| u32 | -uint32_t | -uint32_t | -
| u64 | -uint64_t | -uint64_t | -
| s8 | -int8_t | -int8_t | -
| s16 | -int16_t | -int16_t | -
| s32 | -int32_t | -int32_t | -
| s64 | -int64_t | -int64_t | -
| f | -float | -float | -
| d | -double | -double | -
| u8_array | -uint8_t[3] | -uint8_t_array | -
| u16_array | -uint16_t[3] | -uint16_t_array | -
| u32_array | -uint32_t[3] | -uint32_t_array | -
| u64_array | -uint64_t[3] | -uint64_t_array | -
| s8_array | -int8_t[3] | -int8_t_array | -
| s16_array | -int16_t[3] | -int16_t_array | -
| s32_array | -int32_t[3] | -int32_t_array | -
| s64_array | -int64_t[3] | -int64_t_array | -
| f_array | -float[3] | -float_array | -
| d_array | -double[3] | -double_array | -
State flags for ADS-B transponder dynamic report
-| Value | -Field Name | -Description | -
|---|---|---|
| 1 | -- UAVIONIX_ADSB_OUT_DYNAMIC_STATE_INTENT_CHANGE - | -- | -
| 2 | -- UAVIONIX_ADSB_OUT_DYNAMIC_STATE_AUTOPILOT_ENABLED - | -- | -
| 4 | -- UAVIONIX_ADSB_OUT_DYNAMIC_STATE_NICBARO_CROSSCHECKED - | -- | -
| 8 | -- UAVIONIX_ADSB_OUT_DYNAMIC_STATE_ON_GROUND - | -- | -
| 16 | -- UAVIONIX_ADSB_OUT_DYNAMIC_STATE_IDENT - | -- | -
Transceiver RF control flags for ADS-B transponder dynamic reports
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- UAVIONIX_ADSB_OUT_RF_SELECT_STANDBY - | -- | -
| 1 | -- UAVIONIX_ADSB_OUT_RF_SELECT_RX_ENABLED - | -- | -
| 2 | -- UAVIONIX_ADSB_OUT_RF_SELECT_TX_ENABLED - | -- | -
Status for ADS-B transponder dynamic input
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX_NONE_0 - | -- | -
| 1 | -- UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX_NONE_1 - | -- | -
| 2 | -- UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX_2D - | -- | -
| 3 | -- UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX_3D - | -- | -
| 4 | -- UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX_DGPS - | -- | -
| 5 | -- UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX_RTK - | -- | -
Status flags for ADS-B transponder dynamic output
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- UAVIONIX_ADSB_RF_HEALTH_INITIALIZING - | -- | -
| 1 | -- UAVIONIX_ADSB_RF_HEALTH_OK - | -- | -
| 2 | -- UAVIONIX_ADSB_RF_HEALTH_FAIL_TX - | -- | -
| 16 | -- UAVIONIX_ADSB_RF_HEALTH_FAIL_RX - | -- | -
Definitions for aircraft size
-GPS lataral offset encoding
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_NO_DATA - | -- | -
| 1 | -- UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_LEFT_2M - | -- | -
| 2 | -- UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_LEFT_4M - | -- | -
| 3 | -- UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_LEFT_6M - | -- | -
| 4 | -- UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_RIGHT_0M - | -- | -
| 5 | -- UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_RIGHT_2M - | -- | -
| 6 | -- UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_RIGHT_4M - | -- | -
| 7 | -- UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_RIGHT_6M - | -- | -
GPS longitudinal offset encoding
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LON_NO_DATA - | -- | -
| 1 | -- UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LON_APPLIED_BY_SENSOR - | -- | -
Emergency status encoding
-| Value | -Field Name | -Description | -
|---|---|---|
| 0 | -- UAVIONIX_ADSB_OUT_NO_EMERGENCY - | -- | -
| 1 | -- UAVIONIX_ADSB_OUT_GENERAL_EMERGENCY - | -- | -
| 2 | -- UAVIONIX_ADSB_OUT_LIFEGUARD_EMERGENCY - | -- | -
| 3 | -- UAVIONIX_ADSB_OUT_MINIMUM_FUEL_EMERGENCY - | -- | -
| 4 | -- UAVIONIX_ADSB_OUT_NO_COMM_EMERGENCY - | -- | -
| 5 | -- UAVIONIX_ADSB_OUT_UNLAWFUL_INTERFERANCE_EMERGENCY - | -- | -
| 6 | -- UAVIONIX_ADSB_OUT_DOWNED_AIRCRAFT_EMERGENCY - | -- | -
| 7 | -- UAVIONIX_ADSB_OUT_RESERVED - | -- | -
- - (MAVLink 2) - Static data to configure the ADS-B transponder (send within 10 sec of a POR and every 10 sec thereafter)
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| ICAO | -uint32_t | -- | -- - - | -Vehicle address (24 bit) | -
| callsign | -char[9] | -- | -- - - | -Vehicle identifier (8 characters, null terminated, valid characters are A-Z, 0-9, " " only) | -
| emitterType | -uint8_t | -- | -- ADSB_EMITTER_TYPE - | -Transmitting vehicle type. See ADSB_EMITTER_TYPE enum | -
| aircraftSize | -uint8_t | -- | -- UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE - | -Aircraft length and width encoding (table 2-35 of DO-282B) | -
| gpsOffsetLat | -uint8_t | -- | -- UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT - | -GPS antenna lateral offset (table 2-36 of DO-282B) | -
| gpsOffsetLon | -uint8_t | -- | -- UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LON - | -GPS antenna longitudinal offset from nose [if non-zero, take position (in meters) divide by 2 and add one] (table 2-37 DO-282B) | -
| stallSpeed | -uint16_t | -cm/s | -- - - | -Aircraft stall speed in cm/s | -
| rfSelect | -uint8_t | -- | -- UAVIONIX_ADSB_OUT_RF_SELECT - | -ADS-B transponder reciever and transmit enable flags | -
- - (MAVLink 2) - Dynamic data used to generate ADS-B out transponder data (send at 5Hz)
-| Field Name | -Type | -Units | -Values | -Description | -
|---|---|---|---|---|
| utcTime | -uint32_t | -s | -- - - | -UTC time in seconds since GPS epoch (Jan 6, 1980). If unknown set to UINT32_MAX | -
| gpsLat | -int32_t | -degE7 | -- - - | -Latitude WGS84 (deg * 1E7). If unknown set to INT32_MAX | -
| gpsLon | -int32_t | -degE7 | -- - - | -Longitude WGS84 (deg * 1E7). If unknown set to INT32_MAX | -
| gpsAlt | -int32_t | -mm | -- - - | -Altitude in mm (m * 1E-3) UP +ve. WGS84 altitude. If unknown set to INT32_MAX | -
| gpsFix | -uint8_t | -- | -- UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX - | -0-1: no fix, 2: 2D fix, 3: 3D fix, 4: DGPS, 5: RTK | -
| numSats | -uint8_t | -- | -- - - | -Number of satellites visible. If unknown set to UINT8_MAX | -
| baroAltMSL | -int32_t | -mbar | -- - - | -Barometric pressure altitude relative to a standard atmosphere of 1013.2 mBar and NOT bar corrected altitude (m * 1E-3). (up +ve). If unknown set to INT32_MAX | -
| accuracyHor | -uint32_t | -mm | -- - - | -Horizontal accuracy in mm (m * 1E-3). If unknown set to UINT32_MAX | -
| accuracyVert | -uint16_t | -cm | -- - - | -Vertical accuracy in cm. If unknown set to UINT16_MAX | -
| accuracyVel | -uint16_t | -mm/s | -- - - | -Velocity accuracy in mm/s (m * 1E-3). If unknown set to UINT16_MAX | -
| velVert | -int16_t | -cm/s | -- - - | -GPS vertical speed in cm/s. If unknown set to INT16_MAX | -
| velNS | -int16_t | -cm/s | -- - - | -North-South velocity over ground in cm/s North +ve. If unknown set to INT16_MAX | -
| VelEW | -int16_t | -cm/s | -- - - | -East-West velocity over ground in cm/s East +ve. If unknown set to INT16_MAX | -
| emergencyStatus | -uint8_t | -- | -- UAVIONIX_ADSB_EMERGENCY_STATUS - | -Emergency status | -
| state | -uint16_t | -- | -- UAVIONIX_ADSB_OUT_DYNAMIC_STATE - | -ADS-B transponder dynamic input state flags | -
| squawk | -uint16_t | -- | -- - - | -Mode A code (typically 1200 [0x04B0] for VFR) | -
- - (MAVLink 2) - Transceiver heartbeat with health report (updated every 10s)
-| Field Name | -Type | -Values | -Description | -
|---|---|---|---|
| rfHealth | -uint8_t | -- UAVIONIX_ADSB_RF_HEALTH - | -ADS-B transponder messages | -
- MAVLink Include Files: - common.xml -
-Available autopilot modes for ualberta uav
-| Value | -Field Name | -Description | -
|---|---|---|
| - | -- MODE_MANUAL_DIRECT - | -Raw input pulse widts sent to output | -
| - | -- MODE_MANUAL_SCALED - | -Inputs are normalized using calibration, the converted back to raw pulse widths for output | -
| - | -- MODE_AUTO_PID_ATT - | -dfsdfs | -
| - | -- MODE_AUTO_PID_VEL - | -dfsfds | -
| - | -- MODE_AUTO_PID_POS - | -dfsdfsdfs | -
Navigation filter mode
-| Value | -Field Name | -Description | -
|---|---|---|
| - | -- NAV_AHRS_INIT - | -- | -
| - | -- NAV_AHRS - | -AHRS mode | -
| - | -- NAV_INS_GPS_INIT - | -INS/GPS initialization mode | -
| - | -- NAV_INS_GPS - | -INS/GPS mode | -
Mode currently commanded by pilot
-| Value | -Field Name | -Description | -
|---|---|---|
| - | -- PILOT_MANUAL - | -sdf | -
| - | -- PILOT_AUTO - | -dfs | -
| - | -- PILOT_ROTO - | -Rotomotion mode | -
Accelerometer and Gyro biases from the navigation filter
-| Field Name | -Type | -Description | -
|---|---|---|
| usec | -uint64_t | -Timestamp (microseconds) | -
| accel_0 | -float | -b_f[0] | -
| accel_1 | -float | -b_f[1] | -
| accel_2 | -float | -b_f[2] | -
| gyro_0 | -float | -b_f[0] | -
| gyro_1 | -float | -b_f[1] | -
| gyro_2 | -float | -b_f[2] | -
Complete set of calibration parameters for the radio
-| Field Name | -Type | -Description | -
|---|---|---|
| aileron | -uint16_t[3] | -Aileron setpoints: left, center, right | -
| elevator | -uint16_t[3] | -Elevator setpoints: nose down, center, nose up | -
| rudder | -uint16_t[3] | -Rudder setpoints: nose left, center, nose right | -
| gyro | -uint16_t[2] | -Tail gyro mode/gain setpoints: heading hold, rate mode | -
| pitch | -uint16_t[5] | -Pitch curve setpoints (every 25%) | -
| throttle | -uint16_t[5] | -Throttle curve setpoints (every 25%) | -
System status specific to ualberta uav
-| Field Name | -Type | -Description | -
|---|---|---|
| mode | -uint8_t | -System mode, see UALBERTA_AUTOPILOT_MODE ENUM | -
| nav_mode | -uint8_t | -Navigation mode, see UALBERTA_NAV_MODE ENUM | -
| pilot | -uint8_t | -Pilot mode, see UALBERTA_PILOT_MODE | -