docs: auto-sync metadata [skip ci]

Co-Authored-By: PX4 BuildBot <bot@px4.io>
This commit is contained in:
PX4BuildBot committed 2026-10-23 20:56:40 +00:00
1 parent f17973b725
commit d78b06f789
15 files changed
+1035 -26

No files matched your search

+11 -1
View File
@@ -41351,9 +41351,19 @@ Reboot | minValue | maxValue | increment | default | unit | Read-Only
MAVLink system ID.
IDs above 255 use the 32-bit system ID extension of MAVLink 2,
which forces MAV_PROTO_VER to 2. Every system on the network needs
to support the extension to talk to such a system.
Only use IDs above 255 for vehicles, and keep ground stations and
other controlling systems at 255 or below. The gimbal protocol and
other messages that carry a system ID inside the payload, such as
the ID of the system in control, still only support IDs up to 255.
Reboot | minValue | maxValue | increment | default | unit | Read-Only
--- | --- | --- | --- | --- | --- | ---
&check; | 1 | 250 | | 1 | | &nbsp;
&check; | 1 | 2147483647 | | 1 | | &nbsp;
</div>
+4
View File
@@ -208,6 +208,7 @@ They are not build into the module, and hence are neither published or subscribe
- [MagWorkerData](../msg_docs/MagWorkerData.md)
- [MagnetometerBiasEstimate](../msg_docs/MagnetometerBiasEstimate.md)
- [ManualControlSetpointV0](../msg_docs/ManualControlSetpointV0.md)
- [ManualControlSetpointV1](../msg_docs/ManualControlSetpointV1.md)
- [ManualControlSwitches](../msg_docs/ManualControlSwitches.md)
- [MavlinkLog](../msg_docs/MavlinkLog.md)
- [MavlinkTunnel](../msg_docs/MavlinkTunnel.md)
@@ -304,6 +305,8 @@ They are not build into the module, and hence are neither published or subscribe
- [VehicleAngularVelocity](../msg_docs/VehicleAngularVelocity.md)
- [VehicleAttitudeSetpointV0](../msg_docs/VehicleAttitudeSetpointV0.md)
- [VehicleCommandAckV0](../msg_docs/VehicleCommandAckV0.md)
- [VehicleCommandAckV1](../msg_docs/VehicleCommandAckV1.md)
- [VehicleCommandV0](../msg_docs/VehicleCommandV0.md)
- [VehicleConstraints](../msg_docs/VehicleConstraints.md)
- [VehicleGlobalPositionV0](../msg_docs/VehicleGlobalPositionV0.md)
- [VehicleGnssHeading](../msg_docs/VehicleGnssHeading.md)
@@ -319,6 +322,7 @@ They are not build into the module, and hence are neither published or subscribe
- [VehicleStatusV1](../msg_docs/VehicleStatusV1.md)
- [VehicleStatusV2](../msg_docs/VehicleStatusV2.md)
- [VehicleStatusV3](../msg_docs/VehicleStatusV3.md)
- [VehicleStatusV4](../msg_docs/VehicleStatusV4.md)
- [VelocityLimits](../msg_docs/VelocityLimits.md)
- [VteAidSource1d](../msg_docs/VteAidSource1d.md)
- [VteAidSource3d](../msg_docs/VteAidSource3d.md)
+2 -2
View File
@@ -11,7 +11,7 @@ pageClass: is-wide-page
| Name | Type | Unit [Frame] | Range/Enum | Description |
| --------------------------------------------- | -------- | ------------ | ---------- | ------------------------------------------------ |
| <a id="fld_timestamp"></a>timestamp | `uint64` | | | time since system start (microseconds) |
| <a id="fld_active_sys_id"></a>active_sys_id | `uint8` | | | mavlink system id of the currently active camera |
| <a id="fld_active_sys_id"></a>active_sys_id | `uint32` | | | mavlink system id of the currently active camera |
| <a id="fld_active_comp_id"></a>active_comp_id | `uint8` | | | mavlink component id of currently active camera |
## Source Message
@@ -23,7 +23,7 @@ pageClass: is-wide-page
```c
uint64 timestamp # time since system start (microseconds)
uint8 active_sys_id # mavlink system id of the currently active camera
uint32 active_sys_id # mavlink system id of the currently active camera
uint8 active_comp_id # mavlink component id of currently active camera
```
+4 -4
View File
@@ -26,7 +26,7 @@ The message includes fields for the roll, pitch, yaw, throttle and flaps, along
| <a id="fld_timestamp_sample"></a>timestamp_sample | `uint64` | | | the timestamp of the raw data (microseconds) |
| <a id="fld_valid"></a>valid | `bool` | | |
| <a id="fld_data_source"></a>data_source | `uint8` | | |
| <a id="fld_source_system_id"></a>source_system_id | `uint8` | | | MAVLink system ID of the manual control source (Invalid: 0) |
| <a id="fld_source_system_id"></a>source_system_id | `uint32` | | | MAVLink system ID of the manual control source (Invalid: 0) |
| <a id="fld_source_component_id"></a>source_component_id | `uint8` | | | MAVLink component ID of the manual control source (Invalid: 0) |
| <a id="fld_roll"></a>roll | `float32` | | | move right, positive roll rotation, right side down |
| <a id="fld_pitch"></a>pitch | `float32` | | | move forward, negative pitch rotation, nose down |
@@ -46,7 +46,7 @@ The message includes fields for the roll, pitch, yaw, throttle and flaps, along
| Name | Type | Value | Description |
| ----------------------------------------------- | -------- | ----- | ------------------------ |
| <a id="#MESSAGE_VERSION"></a> MESSAGE_VERSION | `uint32` | 1 |
| <a id="#MESSAGE_VERSION"></a> MESSAGE_VERSION | `uint32` | 2 |
| <a id="#SOURCE_UNKNOWN"></a> SOURCE_UNKNOWN | `uint8` | 0 |
| <a id="#SOURCE_RC"></a> SOURCE_RC | `uint8` | 1 | radio control (input_rc) |
| <a id="#SOURCE_MAVLINK_0"></a> SOURCE_MAVLINK_0 | `uint8` | 2 | mavlink instance 0 |
@@ -75,7 +75,7 @@ The message includes fields for the roll, pitch, yaw, throttle and flaps, along
#
# The message includes fields for the roll, pitch, yaw, throttle and flaps, along with auxiliary channels and button states.
uint32 MESSAGE_VERSION = 1
uint32 MESSAGE_VERSION = 2
uint64 timestamp # time since system start (microseconds)
uint64 timestamp_sample # the timestamp of the raw data (microseconds)
@@ -92,7 +92,7 @@ uint8 SOURCE_MAVLINK_4 = 6 # mavlink instance 4
uint8 SOURCE_MAVLINK_5 = 7 # mavlink instance 5
uint8 data_source
uint8 source_system_id # [@invalid 0] MAVLink system ID of the manual control source
uint32 source_system_id # [@invalid 0] MAVLink system ID of the manual control source
uint8 source_component_id # [@invalid 0] MAVLink component ID of the manual control source
# Any of the channels may not be available and be set to NaN
+130
View File
@@ -0,0 +1,130 @@
---
pageClass: is-wide-page
---
# ManualControlSetpointV1 (UORB message)
Manual control input.
This message provides a representation of manual control input sources,
such as RC controllers and MAVLink controller (Joystick).
It defines the `manual_control_input` topic to represent each configured input,
and the `manual_control_setpoint` topic to represent the input that is currently
in charge of the vehicle (based on parameter COM_RC_IN_MODE).
`manual_control_setpoint` is the topic that is published to the controllers.
The message includes fields for the roll, pitch, yaw, throttle and flaps, along with auxiliary channels and button states.
**TOPICS:** manual_control_setpoint manual_control_input
## Fields
| Name | Type | Unit [Frame] | Range/Enum | Description |
| ------------------------------------------------------- | --------- | ------------ | ---------- | ------------------------------------------------------------------------------------------------- |
| <a id="fld_timestamp"></a>timestamp | `uint64` | | | time since system start (microseconds) |
| <a id="fld_timestamp_sample"></a>timestamp_sample | `uint64` | | | the timestamp of the raw data (microseconds) |
| <a id="fld_valid"></a>valid | `bool` | | |
| <a id="fld_data_source"></a>data_source | `uint8` | | |
| <a id="fld_source_system_id"></a>source_system_id | `uint8` | | | MAVLink system ID of the manual control source (Invalid: 0) |
| <a id="fld_source_component_id"></a>source_component_id | `uint8` | | | MAVLink component ID of the manual control source (Invalid: 0) |
| <a id="fld_roll"></a>roll | `float32` | | | move right, positive roll rotation, right side down |
| <a id="fld_pitch"></a>pitch | `float32` | | | move forward, negative pitch rotation, nose down |
| <a id="fld_yaw"></a>yaw | `float32` | | | positive yaw rotation, clockwise when seen top down |
| <a id="fld_throttle"></a>throttle | `float32` | | | move up, positive thrust, -1 is minimum available 0% or -100% +1 is 100% thrust |
| <a id="fld_flaps"></a>flaps | `float32` | | | position of flaps switch/knob/lever [-1, 1] |
| <a id="fld_aux1"></a>aux1 | `float32` | | |
| <a id="fld_aux2"></a>aux2 | `float32` | | |
| <a id="fld_aux3"></a>aux3 | `float32` | | |
| <a id="fld_aux4"></a>aux4 | `float32` | | |
| <a id="fld_aux5"></a>aux5 | `float32` | | |
| <a id="fld_aux6"></a>aux6 | `float32` | | |
| <a id="fld_sticks_moving"></a>sticks_moving | `bool` | | | manual control override request in an auto or offboard mode, only gets true if feature is enabled |
| <a id="fld_buttons"></a>buttons | `uint16` | | | From uint16 buttons field of Mavlink manual_control message |
## Constants
| Name | Type | Value | Description |
| ----------------------------------------------- | -------- | ----- | ------------------------ |
| <a id="#MESSAGE_VERSION"></a> MESSAGE_VERSION | `uint32` | 1 |
| <a id="#SOURCE_UNKNOWN"></a> SOURCE_UNKNOWN | `uint8` | 0 |
| <a id="#SOURCE_RC"></a> SOURCE_RC | `uint8` | 1 | radio control (input_rc) |
| <a id="#SOURCE_MAVLINK_0"></a> SOURCE_MAVLINK_0 | `uint8` | 2 | mavlink instance 0 |
| <a id="#SOURCE_MAVLINK_1"></a> SOURCE_MAVLINK_1 | `uint8` | 3 | mavlink instance 1 |
| <a id="#SOURCE_MAVLINK_2"></a> SOURCE_MAVLINK_2 | `uint8` | 4 | mavlink instance 2 |
| <a id="#SOURCE_MAVLINK_3"></a> SOURCE_MAVLINK_3 | `uint8` | 5 | mavlink instance 3 |
| <a id="#SOURCE_MAVLINK_4"></a> SOURCE_MAVLINK_4 | `uint8` | 6 | mavlink instance 4 |
| <a id="#SOURCE_MAVLINK_5"></a> SOURCE_MAVLINK_5 | `uint8` | 7 | mavlink instance 5 |
## Source Message
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/px4_msgs_old/msg/ManualControlSetpointV1.msg)
::: details Click here to see original file
```c
# Manual control input
#
# This message provides a representation of manual control input sources,
# such as RC controllers and MAVLink controller (Joystick).
#
# It defines the `manual_control_input` topic to represent each configured input,
# and the `manual_control_setpoint` topic to represent the input that is currently
# in charge of the vehicle (based on parameter COM_RC_IN_MODE).
# `manual_control_setpoint` is the topic that is published to the controllers.
#
# The message includes fields for the roll, pitch, yaw, throttle and flaps, along with auxiliary channels and button states.
uint32 MESSAGE_VERSION = 1
uint64 timestamp # time since system start (microseconds)
uint64 timestamp_sample # the timestamp of the raw data (microseconds)
bool valid
uint8 SOURCE_UNKNOWN = 0
uint8 SOURCE_RC = 1 # radio control (input_rc)
uint8 SOURCE_MAVLINK_0 = 2 # mavlink instance 0
uint8 SOURCE_MAVLINK_1 = 3 # mavlink instance 1
uint8 SOURCE_MAVLINK_2 = 4 # mavlink instance 2
uint8 SOURCE_MAVLINK_3 = 5 # mavlink instance 3
uint8 SOURCE_MAVLINK_4 = 6 # mavlink instance 4
uint8 SOURCE_MAVLINK_5 = 7 # mavlink instance 5
uint8 data_source
uint8 source_system_id # [@invalid 0] MAVLink system ID of the manual control source
uint8 source_component_id # [@invalid 0] MAVLink component ID of the manual control source
# Any of the channels may not be available and be set to NaN
# to indicate that it does not contain valid data.
# Stick positions [-1,1]
# on a common RC mode 1/2/3/4 remote/joystick the stick deflection: -1 is down/left, 1 is up/right
# Note: QGC sends throttle/z in range [0,1000] - [0,1]. The MAVLink input conversion [0,1] to [-1,1] is at the moment kept backwards compatible.
# Positive values are generally used for:
float32 roll # move right, positive roll rotation, right side down
float32 pitch # move forward, negative pitch rotation, nose down
float32 yaw # positive yaw rotation, clockwise when seen top down
float32 throttle # move up, positive thrust, -1 is minimum available 0% or -100% +1 is 100% thrust
float32 flaps # position of flaps switch/knob/lever [-1, 1]
float32 aux1
float32 aux2
float32 aux3
float32 aux4
float32 aux5
float32 aux6
bool sticks_moving # manual control override request in an auto or offboard mode, only gets true if feature is enabled
uint16 buttons # From uint16 buttons field of Mavlink manual_control message
# TOPICS manual_control_setpoint manual_control_input
# DEPRECATED: float32 x
# DEPRECATED: float32 y
# DEPRECATED: float32 z
# DEPRECATED: float32 r
```
:::
+2 -2
View File
@@ -14,7 +14,7 @@ MAV_TUNNEL_PAYLOAD_TYPE enum.
| ------------------------------------------------- | ------------ | ------------ | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <a id="fld_timestamp"></a>timestamp | `uint64` | | | Time since system start (microseconds) |
| <a id="fld_payload_type"></a>payload_type | `uint16` | | | A code that identifies the content of the payload (0 for unknown, which is the default). If this code is less than 32768, it is a 'registered' payload type and the corresponding code should be added to the MAV_TUNNEL_PAYLOAD_TYPE enum. Software creators can register blocks of types as needed. Codes greater than 32767 are considered local experiments and should not be checked in to any widely distributed codebase. |
| <a id="fld_target_system"></a>target_system | `uint8` | | | System ID (can be 0 for broadcast, but this is discouraged) |
| <a id="fld_target_system"></a>target_system | `uint32` | | | System ID (can be 0 for broadcast, but this is discouraged) |
| <a id="fld_target_component"></a>target_component | `uint8` | | | Component ID (can be 0 for broadcast, but this is discouraged) |
| <a id="fld_payload_length"></a>payload_length | `uint8` | | | Length of the data transported in payload |
| <a id="fld_payload"></a>payload | `uint8[128]` | | | Data itself |
@@ -58,7 +58,7 @@ uint8 MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED9 = 209 # Registered for STorM3
uint64 timestamp # Time since system start (microseconds)
uint16 payload_type # A code that identifies the content of the payload (0 for unknown, which is the default). If this code is less than 32768, it is a 'registered' payload type and the corresponding code should be added to the MAV_TUNNEL_PAYLOAD_TYPE enum. Software creators can register blocks of types as needed. Codes greater than 32767 are considered local experiments and should not be checked in to any widely distributed codebase.
uint8 target_system # System ID (can be 0 for broadcast, but this is discouraged)
uint32 target_system # System ID (can be 0 for broadcast, but this is discouraged)
uint8 target_component # Component ID (can be 0 for broadcast, but this is discouraged)
uint8 payload_length # Length of the data transported in payload
uint8[128] payload # Data itself
+2 -2
View File
@@ -15,7 +15,7 @@ pageClass: is-wide-page
| <a id="fld_ping_sequence"></a>ping_sequence | `uint32` | | | Sequence number of the ping packet |
| <a id="fld_dropped_packets"></a>dropped_packets | `uint32` | | | Number of dropped ping packets |
| <a id="fld_rtt_ms"></a>rtt_ms | `float32` | | | Round trip time (in ms) |
| <a id="fld_system_id"></a>system_id | `uint8` | | | System ID of the remote system |
| <a id="fld_system_id"></a>system_id | `uint32` | | | System ID of the remote system |
| <a id="fld_component_id"></a>component_id | `uint8` | | | Component ID of the remote system |
## Source Message
@@ -30,7 +30,7 @@ uint64 ping_time # Timestamp of the ping packet
uint32 ping_sequence # Sequence number of the ping packet
uint32 dropped_packets # Number of dropped ping packets
float32 rtt_ms # Round trip time (in ms)
uint8 system_id # System ID of the remote system
uint32 system_id # System ID of the remote system
uint8 component_id # Component ID of the remote system
```
+6 -6
View File
@@ -21,9 +21,9 @@ Vehicle Command uORB message. Used for commanding a mission / action / etc. Foll
| <a id="fld_param6"></a>param6 | `float64` | | | Parameter 6, as defined by MAVLink uint16 VEHICLE_CMD enum. |
| <a id="fld_param7"></a>param7 | `float32` | | | Parameter 7, as defined by MAVLink uint16 VEHICLE_CMD enum. |
| <a id="fld_command"></a>command | `uint32` | | | Command ID. |
| <a id="fld_target_system"></a>target_system | `uint8` | | | System which should execute the command. |
| <a id="fld_target_system"></a>target_system | `uint32` | | | System which should execute the command. |
| <a id="fld_target_component"></a>target_component | `uint8` | | | Component which should execute the command, 0 for all components. |
| <a id="fld_source_system"></a>source_system | `uint8` | | | System sending the command. |
| <a id="fld_source_system"></a>source_system | `uint32` | | | System sending the command. |
| <a id="fld_source_component"></a>source_component | `uint16` | | | Component / mode executor sending the command. |
| <a id="fld_confirmation"></a>confirmation | `uint8` | | | 0: First transmission of this command. 1-255: Confirmation transmissions (e.g. for kill command). |
| <a id="fld_from_external"></a>from_external | `bool` | | |
@@ -1624,7 +1624,7 @@ Change heading/course. param1: heading type (0=course-over-ground, 1=heading). p
| Name | Type | Value | Description |
| --------------------------------------------------------------------------------------------------------- | -------- | ----- | ----------------------------------------------------------------------------------------------------- |
| <a id="#MESSAGE_VERSION"></a> MESSAGE_VERSION | `uint32` | 0 |
| <a id="#MESSAGE_VERSION"></a> MESSAGE_VERSION | `uint32` | 1 |
| <a id="#PREFLIGHT_CALIBRATION_TEMPERATURE_CALIBRATION"></a> PREFLIGHT_CALIBRATION_TEMPERATURE_CALIBRATION | `uint16` | 3 | Param value for VEHICLE_CMD_PREFLIGHT_CALIBRATION to start temperature calibration. |
| <a id="#FUSION_SOURCE_GPS"></a> FUSION_SOURCE_GPS | `uint8` | 0 | GNSS (EKF2_GPS{i}\_CTRL, use instance param) |
| <a id="#FUSION_SOURCE_OF"></a> FUSION_SOURCE_OF | `uint8` | 1 | Optical Flow (EKF2_OF_CTRL) |
@@ -1705,7 +1705,7 @@ Change heading/course. param1: heading type (0=course-over-ground, 1=heading). p
# Vehicle Command uORB message. Used for commanding a mission / action / etc.
# Follows the MAVLink COMMAND_INT / COMMAND_LONG definition
uint32 MESSAGE_VERSION = 0
uint32 MESSAGE_VERSION = 1
uint64 timestamp # [us] Time since system start.
@@ -1946,9 +1946,9 @@ float64 param5 # Parameter 5, as defined by MAVLink uint16 VEHICLE_CMD enum.
float64 param6 # Parameter 6, as defined by MAVLink uint16 VEHICLE_CMD enum.
float32 param7 # Parameter 7, as defined by MAVLink uint16 VEHICLE_CMD enum.
uint32 command # Command ID.
uint8 target_system # System which should execute the command.
uint32 target_system # System which should execute the command.
uint8 target_component # Component which should execute the command, 0 for all components.
uint8 source_system # System sending the command.
uint32 source_system # System sending the command.
uint16 source_component # Component / mode executor sending the command.
uint8 confirmation # 0: First transmission of this command. 1-255: Confirmation transmissions (e.g. for kill command).
bool from_external
+4 -4
View File
@@ -20,7 +20,7 @@ Follows the MAVLink COMMAND_ACK message definition
| <a id="fld_result"></a>result | `uint8` | | [VEHICLE_CMD_RESULT](#VEHICLE_CMD_RESULT) | Command result |
| <a id="fld_result_param1"></a>result_param1 | `uint8` | | | Can be set with the reason why the command was denied, or the progress percentage when result is MAV_RESULT_IN_PROGRESS (%) |
| <a id="fld_result_param2"></a>result_param2 | `int32` | enum ARM_AUTH_DENIED_REASON | | Additional parameter of the result, example: which parameter of MAV_CMD_NAV_WAYPOINT caused it to be denied, or what ARM_AUTH_DENIED_REASON |
| <a id="fld_target_system"></a>target_system | `uint8` | | | Target system |
| <a id="fld_target_system"></a>target_system | `uint32` | | | Target system |
| <a id="fld_target_component"></a>target_component | `uint16` | | | Target component / mode executor |
| <a id="fld_from_external"></a>from_external | `bool` | | | Indicates if the command came from an external source |
@@ -47,7 +47,7 @@ Used in field(s): [result](#fld_result)
| Name | Type | Value | Description |
| --------------------------------------------------------------------------------------------- | -------- | ----- | ----------- |
| <a id="#MESSAGE_VERSION"></a> MESSAGE_VERSION | `uint32` | 1 |
| <a id="#MESSAGE_VERSION"></a> MESSAGE_VERSION | `uint32` | 2 |
| <a id="#ORB_QUEUE_LENGTH"></a> ORB_QUEUE_LENGTH | `uint8` | 8 |
| <a id="#ARM_AUTH_DENIED_REASON_GENERIC"></a> ARM_AUTH_DENIED_REASON_GENERIC | `uint16` | 0 |
| <a id="#ARM_AUTH_DENIED_REASON_NONE"></a> ARM_AUTH_DENIED_REASON_NONE | `uint16` | 1 |
@@ -68,7 +68,7 @@ Used in field(s): [result](#fld_result)
# Used for acknowledging the vehicle command being received.
# Follows the MAVLink COMMAND_ACK message definition
uint32 MESSAGE_VERSION = 1
uint32 MESSAGE_VERSION = 2
uint64 timestamp # [us] time since system start
@@ -100,7 +100,7 @@ uint16 ARM_AUTH_DENIED_REASON_TIMEOUT = 3
uint16 ARM_AUTH_DENIED_REASON_AIRSPACE_IN_USE = 4
uint16 ARM_AUTH_DENIED_REASON_BAD_WEATHER = 5
uint8 target_system # [-] Target system
uint32 target_system # [-] Target system
uint16 target_component # Target component / mode executor
bool from_external # Indicates if the command came from an external source
+109
View File
@@ -0,0 +1,109 @@
---
pageClass: is-wide-page
---
# VehicleCommandAckV1 (UORB message)
Vehicle Command Acknowledgement uORB message.
Used for acknowledging the vehicle command being received.
Follows the MAVLink COMMAND_ACK message definition
**TOPICS:** vehicle_command_ack_v1
## Fields
| Name | Type | Unit [Frame] | Range/Enum | Description |
| ------------------------------------------------- | -------- | --------------------------- | ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| <a id="fld_timestamp"></a>timestamp | `uint64` | us | | time since system start |
| <a id="fld_command"></a>command | `uint32` | | | Command that is being acknowledged |
| <a id="fld_result"></a>result | `uint8` | | [VEHICLE_CMD_RESULT](#VEHICLE_CMD_RESULT) | Command result |
| <a id="fld_result_param1"></a>result_param1 | `uint8` | | | Can be set with the reason why the command was denied, or the progress percentage when result is MAV_RESULT_IN_PROGRESS (%) |
| <a id="fld_result_param2"></a>result_param2 | `int32` | enum ARM_AUTH_DENIED_REASON | | Additional parameter of the result, example: which parameter of MAV_CMD_NAV_WAYPOINT caused it to be denied, or what ARM_AUTH_DENIED_REASON |
| <a id="fld_target_system"></a>target_system | `uint8` | | | Target system |
| <a id="fld_target_component"></a>target_component | `uint16` | | | Target component / mode executor |
| <a id="fld_from_external"></a>from_external | `bool` | | | Indicates if the command came from an external source |
## Enums
### VEHICLE_CMD_RESULT {#VEHICLE_CMD_RESULT}
Used in field(s): [result](#fld_result)
| Name | Type | Value | Description |
| ----------------------------------------------------------------------------------------------- | ------- | ----- | ---------------------------------------------------- |
| <a id="#VEHICLE_CMD_RESULT_ACCEPTED"></a> VEHICLE_CMD_RESULT_ACCEPTED | `uint8` | 0 | Command ACCEPTED and EXECUTED |
| <a id="#VEHICLE_CMD_RESULT_TEMPORARILY_REJECTED"></a> VEHICLE_CMD_RESULT_TEMPORARILY_REJECTED | `uint8` | 1 | Command TEMPORARY REJECTED/DENIED |
| <a id="#VEHICLE_CMD_RESULT_DENIED"></a> VEHICLE_CMD_RESULT_DENIED | `uint8` | 2 | Command PERMANENTLY DENIED |
| <a id="#VEHICLE_CMD_RESULT_UNSUPPORTED"></a> VEHICLE_CMD_RESULT_UNSUPPORTED | `uint8` | 3 | Command UNKNOWN/UNSUPPORTED |
| <a id="#VEHICLE_CMD_RESULT_FAILED"></a> VEHICLE_CMD_RESULT_FAILED | `uint8` | 4 | Command executed, but failed |
| <a id="#VEHICLE_CMD_RESULT_IN_PROGRESS"></a> VEHICLE_CMD_RESULT_IN_PROGRESS | `uint8` | 5 | Command being executed |
| <a id="#VEHICLE_CMD_RESULT_CANCELLED"></a> VEHICLE_CMD_RESULT_CANCELLED | `uint8` | 6 | Command Canceled |
| <a id="#VEHICLE_CMD_RESULT_COMMAND_LONG_ONLY"></a> VEHICLE_CMD_RESULT_COMMAND_LONG_ONLY | `uint8` | 7 | Command is only accepted when sent as a COMMAND_LONG |
| <a id="#VEHICLE_CMD_RESULT_COMMAND_INT_ONLY"></a> VEHICLE_CMD_RESULT_COMMAND_INT_ONLY | `uint8` | 8 | Command is only accepted when sent as a COMMAND_INT |
| <a id="#VEHICLE_CMD_RESULT_UNSUPPORTED_MAV_FRAME"></a> VEHICLE_CMD_RESULT_UNSUPPORTED_MAV_FRAME | `uint8` | 9 | Command does not support specified frame |
## Constants
| Name | Type | Value | Description |
| --------------------------------------------------------------------------------------------- | -------- | ----- | ----------- |
| <a id="#MESSAGE_VERSION"></a> MESSAGE_VERSION | `uint32` | 1 |
| <a id="#ORB_QUEUE_LENGTH"></a> ORB_QUEUE_LENGTH | `uint8` | 8 |
| <a id="#ARM_AUTH_DENIED_REASON_GENERIC"></a> ARM_AUTH_DENIED_REASON_GENERIC | `uint16` | 0 |
| <a id="#ARM_AUTH_DENIED_REASON_NONE"></a> ARM_AUTH_DENIED_REASON_NONE | `uint16` | 1 |
| <a id="#ARM_AUTH_DENIED_REASON_INVALID_WAYPOINT"></a> ARM_AUTH_DENIED_REASON_INVALID_WAYPOINT | `uint16` | 2 |
| <a id="#ARM_AUTH_DENIED_REASON_TIMEOUT"></a> ARM_AUTH_DENIED_REASON_TIMEOUT | `uint16` | 3 |
| <a id="#ARM_AUTH_DENIED_REASON_AIRSPACE_IN_USE"></a> ARM_AUTH_DENIED_REASON_AIRSPACE_IN_USE | `uint16` | 4 |
| <a id="#ARM_AUTH_DENIED_REASON_BAD_WEATHER"></a> ARM_AUTH_DENIED_REASON_BAD_WEATHER | `uint16` | 5 |
## Source Message
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/px4_msgs_old/msg/VehicleCommandAckV1.msg)
::: details Click here to see original file
```c
# Vehicle Command Acknowledgement uORB message.
#
# Used for acknowledging the vehicle command being received.
# Follows the MAVLink COMMAND_ACK message definition
uint32 MESSAGE_VERSION = 1
uint64 timestamp # [us] time since system start
uint8 ORB_QUEUE_LENGTH = 8
uint32 command # [-] Command that is being acknowledged
uint8 result # [@enum VEHICLE_CMD_RESULT] Command result
# VEHICLE_CMD_RESULT Result cases. Follows the MAVLink MAV_RESULT enum definition
uint8 VEHICLE_CMD_RESULT_ACCEPTED = 0 # Command ACCEPTED and EXECUTED
uint8 VEHICLE_CMD_RESULT_TEMPORARILY_REJECTED = 1 # Command TEMPORARY REJECTED/DENIED
uint8 VEHICLE_CMD_RESULT_DENIED = 2 # Command PERMANENTLY DENIED
uint8 VEHICLE_CMD_RESULT_UNSUPPORTED = 3 # Command UNKNOWN/UNSUPPORTED
uint8 VEHICLE_CMD_RESULT_FAILED = 4 # Command executed, but failed
uint8 VEHICLE_CMD_RESULT_IN_PROGRESS = 5 # Command being executed
uint8 VEHICLE_CMD_RESULT_CANCELLED = 6 # Command Canceled
uint8 VEHICLE_CMD_RESULT_COMMAND_LONG_ONLY = 7 # Command is only accepted when sent as a COMMAND_LONG
uint8 VEHICLE_CMD_RESULT_COMMAND_INT_ONLY = 8 # Command is only accepted when sent as a COMMAND_INT
uint8 VEHICLE_CMD_RESULT_UNSUPPORTED_MAV_FRAME = 9 # Command does not support specified frame
uint8 result_param1 # [-] Can be set with the reason why the command was denied, or the progress percentage when result is MAV_RESULT_IN_PROGRESS (%)
int32 result_param2 # [enum ARM_AUTH_DENIED_REASON] Additional parameter of the result, example: which parameter of MAV_CMD_NAV_WAYPOINT caused it to be denied, or what ARM_AUTH_DENIED_REASON
# Arming denied specific cases
uint16 ARM_AUTH_DENIED_REASON_GENERIC = 0
uint16 ARM_AUTH_DENIED_REASON_NONE = 1
uint16 ARM_AUTH_DENIED_REASON_INVALID_WAYPOINT = 2
uint16 ARM_AUTH_DENIED_REASON_TIMEOUT = 3
uint16 ARM_AUTH_DENIED_REASON_AIRSPACE_IN_USE = 4
uint16 ARM_AUTH_DENIED_REASON_BAD_WEATHER = 5
uint8 target_system # [-] Target system
uint16 target_component # Target component / mode executor
bool from_external # Indicates if the command came from an external source
```
:::
+502
View File
@@ -0,0 +1,502 @@
---
pageClass: is-wide-page
---
# VehicleCommandV0 (UORB message)
Vehicle Command uORB message. Used for commanding a mission / action / etc. Follows the MAVLink COMMAND_INT / COMMAND_LONG definition.
**TOPICS:** vehicle_command gimbal_v1_command vehicle_command_mode_executor
## Fields
| Name | Type | Unit [Frame] | Range/Enum | Description |
| ------------------------------------------------- | --------- | ------------ | ---------- | ------------------------------------------------------------------------------------------------- |
| <a id="fld_timestamp"></a>timestamp | `uint64` | us | | Time since system start. |
| <a id="fld_param1"></a>param1 | `float32` | | | Parameter 1, as defined by MAVLink uint16 VEHICLE_CMD enum. |
| <a id="fld_param2"></a>param2 | `float32` | | | Parameter 2, as defined by MAVLink uint16 VEHICLE_CMD enum. |
| <a id="fld_param3"></a>param3 | `float32` | | | Parameter 3, as defined by MAVLink uint16 VEHICLE_CMD enum. |
| <a id="fld_param4"></a>param4 | `float32` | | | Parameter 4, as defined by MAVLink uint16 VEHICLE_CMD enum. |
| <a id="fld_param5"></a>param5 | `float64` | | | Parameter 5, as defined by MAVLink uint16 VEHICLE_CMD enum. |
| <a id="fld_param6"></a>param6 | `float64` | | | Parameter 6, as defined by MAVLink uint16 VEHICLE_CMD enum. |
| <a id="fld_param7"></a>param7 | `float32` | | | Parameter 7, as defined by MAVLink uint16 VEHICLE_CMD enum. |
| <a id="fld_command"></a>command | `uint32` | | | Command ID. |
| <a id="fld_target_system"></a>target_system | `uint8` | | | System which should execute the command. |
| <a id="fld_target_component"></a>target_component | `uint8` | | | Component which should execute the command, 0 for all components. |
| <a id="fld_source_system"></a>source_system | `uint8` | | | System sending the command. |
| <a id="fld_source_component"></a>source_component | `uint16` | | | Component / mode executor sending the command. |
| <a id="fld_confirmation"></a>confirmation | `uint8` | | | 0: First transmission of this command. 1-255: Confirmation transmissions (e.g. for kill command). |
| <a id="fld_from_external"></a>from_external | `bool` | | |
## Constants
| Name | Type | Value | Description |
| --------------------------------------------------------------------------------------------------------------- | -------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- | ---------------------------------------------- | ---------------------------------------------------- |
| <a id="#MESSAGE_VERSION"></a> MESSAGE_VERSION | `uint32` | 0 |
| <a id="#VEHICLE_CMD_CUSTOM_0"></a> VEHICLE_CMD_CUSTOM_0 | `uint16` | 0 | Test command. |
| <a id="#VEHICLE_CMD_CUSTOM_1"></a> VEHICLE_CMD_CUSTOM_1 | `uint16` | 1 | Test command. |
| <a id="#VEHICLE_CMD_CUSTOM_2"></a> VEHICLE_CMD_CUSTOM_2 | `uint16` | 2 | Test command. |
| <a id="#VEHICLE_CMD_NAV_WAYPOINT"></a> VEHICLE_CMD_NAV_WAYPOINT | `uint16` | 16 | Navigate to MISSION. | [s] (decimal) Hold time. (ignored by fixed wing, time to stay at MISSION for rotary wing) | [m] Acceptance radius (if the sphere with this radius is hit, the MISSION counts as reached) | 0 to pass through the WP, if > 0 radius [m] to pass by WP. Positive value for clockwise orbit, negative value for counter-clockwise orbit. Allows trajectory control. | Desired yaw angle at MISSION (rotary wing) | Latitude | Longitude | Altitude |
| <a id="#VEHICLE_CMD_NAV_LOITER_UNLIM"></a> VEHICLE_CMD_NAV_LOITER_UNLIM | `uint16` | 17 | Loiter around this MISSION an unlimited amount of time. | Unused | Unused | [m] Radius around MISSION. If positive loiter clockwise, else counter-clockwise | Desired yaw angle. | Latitude | Longitude | Altitude |
| <a id="#VEHICLE_CMD_NAV_LOITER_TURNS"></a> VEHICLE_CMD_NAV_LOITER_TURNS | `uint16` | 18 | Loiter around this MISSION for X turns. | Turns | Unused | Radius around MISSION [m]. If positive loiter clockwise, else counter-clockwise | Desired yaw angle. | Latitude | Longitude | Altitude |
| <a id="#VEHICLE_CMD_NAV_LOITER_TIME"></a> VEHICLE_CMD_NAV_LOITER_TIME | `uint16` | 19 | Loiter around this MISSION for time. | [s] Seconds (decimal) | Unused | Radius around MISSION [m]. If positive loiter clockwise, else counter-clockwise | Desired yaw angle. | Latitude | Longitude | Altitude |
| <a id="#VEHICLE_CMD_NAV_RETURN_TO_LAUNCH"></a> VEHICLE_CMD_NAV_RETURN_TO_LAUNCH | `uint16` | 20 | Return to launch location. | Unused | Unused | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_NAV_LAND"></a> VEHICLE_CMD_NAV_LAND | `uint16` | 21 | Land at location. | Unused | Unused | Unused | Desired yaw angle. | Latitude | Longitude | Altitude |
| <a id="#VEHICLE_CMD_NAV_TAKEOFF"></a> VEHICLE_CMD_NAV_TAKEOFF | `uint16` | 22 | Takeoff from ground / hand. | Unused (FW pitch from FW_TKO_PITCH_MIN) | Unused | Unused | [deg] [@range 0,360] Yaw angle in NED if yaw source available, ignored otherwise | Latitude (WGS-84) | Longitude (WGS-84) | [m] Altitude AMSL |
| <a id="#VEHICLE_CMD_NAV_PRECLAND"></a> VEHICLE_CMD_NAV_PRECLAND | `uint16` | 23 | Attempt a precision landing. |
| <a id="#VEHICLE_CMD_DO_ORBIT"></a> VEHICLE_CMD_DO_ORBIT | `uint16` | 34 | Start orbiting on the circumference of a circle defined by the parameters. | [m] Radius | [m/s] Velocity | [@enum ORBIT_YAW_BEHAVIOUR] Yaw behaviour | Unused | Latitude/X | Longitude/Y | Altitude/Z |
| <a id="#VEHICLE_CMD_DO_FIGUREEIGHT"></a> VEHICLE_CMD_DO_FIGUREEIGHT | `uint16` | 35 | Start flying on the outline of a figure eight defined by the parameters. | [m] Major radius | [m] Minor radius | [m/s] Velocity | Orientation | Latitude/X | Longitude/Y | Altitude/Z |
| <a id="#VEHICLE_CMD_NAV_ROI"></a> VEHICLE_CMD_NAV_ROI | `uint16` | 80 | 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. | [@enum VEHICLE_ROI] Region of interest mode. | MISSION index/ target ID. | ROI index (allows a vehicle to manage multiple ROI's) | Unused | x the location of the fixed ROI (see MAV_FRAME) | y | z |
| <a id="#VEHICLE_CMD_NAV_PATHPLANNING"></a> VEHICLE_CMD_NAV_PATHPLANNING | `uint16` | 81 | Control autonomous path planning on the MAV. | 0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning | 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 | Unused | [deg] [@range 0, 360] Yaw angle at goal, in compass degrees | Latitude/X of goal | Longitude/Y of goal | Altitude/Z of goal |
| <a id="#VEHICLE_CMD_NAV_VTOL_TAKEOFF"></a> VEHICLE_CMD_NAV_VTOL_TAKEOFF | `uint16` | 84 | Takeoff from ground / hand and transition to fixed wing. | Minimum pitch (if airspeed sensor present), desired pitch without sensor | Transition heading, 0: Default, 3: Use specified transition heading | Unused | Yaw angle (if magnetometer present), ignored without magnetometer | Latitude | Longitude | Altitude |
| <a id="#VEHICLE_CMD_NAV_VTOL_LAND"></a> VEHICLE_CMD_NAV_VTOL_LAND | `uint16` | 85 | Transition to MC and land at location. | Unused | Unused | Unused | Desired yaw angle. | Latitude | Longitude | Altitude |
| <a id="#VEHICLE_CMD_NAV_GUIDED_LIMITS"></a> VEHICLE_CMD_NAV_GUIDED_LIMITS | `uint16` | 90 | Set limits for external control. | [s] Timeout - maximum time that external controller will be allowed to control vehicle. 0 means no timeout | [m] Absolute altitude min AMSL - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit | [m] Absolute altitude max - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit | [m] Horizontal move limit (AMSL) - if vehicle moves more than this distance from it's location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal altitude limit | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_NAV_GUIDED_MASTER"></a> VEHICLE_CMD_NAV_GUIDED_MASTER | `uint16` | 91 | Set id of master controller. | System ID | Component ID | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_NAV_DELAY"></a> VEHICLE_CMD_NAV_DELAY | `uint16` | 93 | Delay the next navigation command a number of seconds or until a specified time. | [s] Delay (decimal, -1 to enable time-of-day fields) | [h] hour (24h format, UTC, -1 to ignore) | minute (24h format, UTC, -1 to ignore) | second (24h format, UTC) | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_NAV_LAST"></a> VEHICLE_CMD_NAV_LAST | `uint16` | 95 | NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration. | Unused | Unused | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_CONDITION_DELAY"></a> VEHICLE_CMD_CONDITION_DELAY | `uint16` | 112 | Delay mission state machine. | [s] Delay (decimal seconds) | Unused | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_CONDITION_CHANGE_ALT"></a> VEHICLE_CMD_CONDITION_CHANGE_ALT | `uint16` | 113 | Ascend/descend at rate. Delay mission state machine until desired altitude reached. | Descent / Ascend rate (m/s) | Unused | Unused | Unused | Unused | Unused | Finish Altitude |
| <a id="#VEHICLE_CMD_CONDITION_DISTANCE"></a> VEHICLE_CMD_CONDITION_DISTANCE | `uint16` | 114 | Delay mission state machine until within desired distance of next NAV point. | Distance [m] | Unused | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_CONDITION_YAW"></a> VEHICLE_CMD_CONDITION_YAW | `uint16` | 115 | Reach a certain target angle. | [deg] [@range 0,360] Target angle. 0 is north | [deg/s] Speed during yaw change | [@range -1,1] Direction: negative: counter clockwise, positive: clockwise | [ 1,0] Relative offset or absolute angle | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_CONDITION_LAST"></a> VEHICLE_CMD_CONDITION_LAST | `uint16` | 159 | NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration. | Unused | Unused | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_CONDITION_GATE"></a> VEHICLE_CMD_CONDITION_GATE | `uint16` | 4501 | Wait until passing a threshold. | 2D coord mode: 0: Orthogonal to planned route | Altitude mode: 0: Ignore altitude | Unused | Unused | Lat | Lon | Alt |
| <a id="#VEHICLE_CMD_DO_SET_MODE"></a> VEHICLE_CMD_DO_SET_MODE | `uint16` | 176 | Set system mode. | Mode, as defined by ENUM MAV_MODE | Unused | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_JUMP"></a> VEHICLE_CMD_DO_JUMP | `uint16` | 177 | Jump to the desired command in the mission list. Repeat this action only the specified number of times. | Sequence number | Repeat count | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_CHANGE_SPEED"></a> VEHICLE_CMD_DO_CHANGE_SPEED | `uint16` | 178 | Change speed and/or throttle set points. | [@enum SPEED_TYPE] Speed type (0=Airspeed, 1=Ground Speed) | Speed (m/s, -1 indicates no change) | [%] Throttle ( Percent, -1 indicates no change) | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_SET_HOME"></a> VEHICLE_CMD_DO_SET_HOME | `uint16` | 179 | Changes the home location either to the current location or a specified location. | Use current (1=use current location, 0=use specified location) | Unused | Unused | Unused | Latitude | Longitude | Altitude |
| <a id="#VEHICLE_CMD_DO_SET_PARAMETER"></a> VEHICLE_CMD_DO_SET_PARAMETER | `uint16` | 180 | Set a system parameter. Caution! Use of this command requires knowledge of the numeric enumeration value of the parameter. | Parameter number | Parameter value | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_SET_RELAY"></a> VEHICLE_CMD_DO_SET_RELAY | `uint16` | 181 | Set a relay to a condition. | Relay number | Setting (1=on, 0=off, others possible depending on system hardware) | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_REPEAT_RELAY"></a> VEHICLE_CMD_DO_REPEAT_RELAY | `uint16` | 182 | Cycle a relay on and off for a desired number of cycles with a desired period. | Relay number | Cycle count | [s] Cycle time (decimal seconds) | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_REPEAT_SERVO"></a> VEHICLE_CMD_DO_REPEAT_SERVO | `uint16` | 184 | Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period. | Servo number | [us] PWM rate (1000 to 2000 typical) | Cycle count | [s] Cycle time | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_FLIGHTTERMINATION"></a> VEHICLE_CMD_DO_FLIGHTTERMINATION | `uint16` | 185 | Terminate flight immediately. | Flight termination activated if > 0.5 | Unused | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_CHANGE_ALTITUDE"></a> VEHICLE_CMD_DO_CHANGE_ALTITUDE | `uint16` | 186 | Set the vehicle to Loiter mode and change the altitude to specified value. | Altitude | Frame of new altitude | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_SET_ACTUATOR"></a> VEHICLE_CMD_DO_SET_ACTUATOR | `uint16` | 187 | Sets actuators (e.g. servos) to a desired value. | Actuator 1 | Actuator 2 | Actuator 3 | Actuator 4 | Actuator 5 | Actuator 6 | Index |
| <a id="#VEHICLE_CMD_DO_LAND_START"></a> VEHICLE_CMD_DO_LAND_START | `uint16` | 189 | 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/0 if not needed. If specified then it will be used to help find the closest landing sequence. | Unused | Unused | Unused | Unused | Latitude | Longitude | Unused |
| <a id="#VEHICLE_CMD_DO_GO_AROUND"></a> VEHICLE_CMD_DO_GO_AROUND | `uint16` | 191 | Mission command to safely abort an autonomous landing. | [m] Altitude | Unused | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_REPOSITION"></a> VEHICLE_CMD_DO_REPOSITION | `uint16` | 192 | Reposition to specific WGS84 GPS position. | [m/s] Ground speed | Bitmask | [m] Loiter radius for planes | [deg] Yaw | Latitude | Longitude | Altitude |
| <a id="#VEHICLE_CMD_DO_PAUSE_CONTINUE"></a> VEHICLE_CMD_DO_PAUSE_CONTINUE | `uint16` | 193 |
| <a id="#VEHICLE_CMD_DO_SET_ROI_LOCATION"></a> VEHICLE_CMD_DO_SET_ROI_LOCATION | `uint16` | 195 | 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. | Unused | Unused | Unused | Unused | Latitude | Longitude | Altitude |
| <a id="#VEHICLE_CMD_DO_SET_ROI_WPNEXT_OFFSET"></a> VEHICLE_CMD_DO_SET_ROI_WPNEXT_OFFSET | `uint16` | 196 | 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. | Unused | Unused | Unused | Unused | Pitch offset from next waypoint | Roll offset from next waypoint | Yaw offset from next waypoint |
| <a id="#VEHICLE_CMD_DO_SET_ROI_NONE"></a> VEHICLE_CMD_DO_SET_ROI_NONE | `uint16` | 197 | 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. | Unused | Unused | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_CONTROL_VIDEO"></a> VEHICLE_CMD_DO_CONTROL_VIDEO | `uint16` | 200 | Control onboard camera system. | Camera ID (-1 for all) | Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw | Transmission mode: 0: video stream, >0: single images every n seconds (decimal seconds) | Recording: 0: disabled, 1: enabled compressed, 2: enabled raw | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_SET_ROI"></a> VEHICLE_CMD_DO_SET_ROI | `uint16` | 201 | 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. | [@enum VEHICLE_ROI] Region of interest mode. | MISSION index/ target ID. | ROI index (allows a vehicle to manage multiple ROI's) | Unused | x the location of the fixed ROI (see MAV_FRAME) | y | z |
| <a id="#VEHICLE_CMD_DO_DIGICAM_CONTROL"></a> VEHICLE_CMD_DO_DIGICAM_CONTROL | `uint16` | 203 |
| <a id="#VEHICLE_CMD_DO_MOUNT_CONFIGURE"></a> VEHICLE_CMD_DO_MOUNT_CONFIGURE | `uint16` | 204 | Mission command to configure a camera or antenna mount. | [@enum MAV_MOUNT_MODE] Mount operation mode | Stabilize roll? (1 = yes, 0 = no) | Stabilize pitch? (1 = yes, 0 = no) | stabilize yaw? (1 = yes, 0 = no) | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_MOUNT_CONTROL"></a> VEHICLE_CMD_DO_MOUNT_CONTROL | `uint16` | 205 | Mission command to control a camera or antenna mount. | [deg] Pitch or lat, depending on mount mode. | [deg] Roll or lon depending on mount mode | [deg]/[m] Yaw or alt depending on mount mode | Unused | Unused | Unused | [@enum MAV_MOUNT_MODE] |
| <a id="#VEHICLE_CMD_DO_SET_CAM_TRIGG_DIST"></a> VEHICLE_CMD_DO_SET_CAM_TRIGG_DIST | `uint16` | 206 | Mission command to set TRIG_DIST for this flight. | [m] Camera trigger distance | [ms] Shutter integration time | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_FENCE_ENABLE"></a> VEHICLE_CMD_DO_FENCE_ENABLE | `uint16` | 207 | Mission command to enable the geofence. | enable? (0=disable, 1=enable) | Unused | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_PARACHUTE"></a> VEHICLE_CMD_DO_PARACHUTE | `uint16` | 208 | Mission command to trigger a parachute. | action [@enum PARACHUTE_ACTION] (0=disable, 1=enable, 2=release, for some systems see [@enum PARACHUTE_ACTION], not in general message set.) | Unused | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_MOTOR_TEST"></a> VEHICLE_CMD_DO_MOTOR_TEST | `uint16` | 209 | Motor test command. | Instance (@range 1, ) | throttle type | throttle | timeout [s] | Motor count | Test order | Unused |
| <a id="#VEHICLE_CMD_DO_INVERTED_FLIGHT"></a> VEHICLE_CMD_DO_INVERTED_FLIGHT | `uint16` | 210 | Change to/from inverted flight. | inverted (0=normal, 1=inverted) | Unused | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_GRIPPER"></a> VEHICLE_CMD_DO_GRIPPER | `uint16` | 211 | Command to operate a gripper. |
| <a id="#VEHICLE_CMD_DO_AUTOTUNE_ENABLE"></a> VEHICLE_CMD_DO_AUTOTUNE_ENABLE | `uint16` | 212 | Enable autotune module. | 1 to enable | Unused | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_SET_CAM_TRIGG_INTERVAL"></a> VEHICLE_CMD_DO_SET_CAM_TRIGG_INTERVAL | `uint16` | 214 | Mission command to set TRIG_INTERVAL for this flight. | [m] Camera trigger distance | Shutter integration time (ms) | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_MOUNT_CONTROL_QUAT"></a> VEHICLE_CMD_DO_MOUNT_CONTROL_QUAT | `uint16` | 220 | Mission command to control a camera or antenna mount, using a quaternion as reference. | q1 - quaternion param #1, w (1 in null-rotation) | q2 - quaternion param #2, x (0 in null-rotation) | q3 - quaternion param #3, y (0 in null-rotation) | q4 - quaternion param #4, z (0 in null-rotation) | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_GUIDED_MASTER"></a> VEHICLE_CMD_DO_GUIDED_MASTER | `uint16` | 221 | Set id of master controller. | System ID | Component ID | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_GUIDED_LIMITS"></a> VEHICLE_CMD_DO_GUIDED_LIMITS | `uint16` | 222 | Set limits for external control. | [s] Timeout - maximum time that external controller will be allowed to control vehicle. 0 means no timeout | [m] Absolute altitude min(AMSL) - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit | [m] Absolute altitude max - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit | [m] Horizontal move limit (AMSL) - if vehicle moves more than this distance from it's location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal altitude limit | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_SET_MISSION_CURRENT"></a> VEHICLE_CMD_DO_SET_MISSION_CURRENT | `uint16` | 224 | Set the mission item with sequence number seq as current item and emit MISSION_CURRENT (whether or not the mission mode is active). ACKs FAILED if seq is out of range or there is no current mission item. | Mission sequence value to set, -1 for the current mission item (use to reset jump counters without changing the current item) | Reset repeat/jump counters and clear mission complete flag (1=true,0=false; default:0) | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_LAST"></a> VEHICLE_CMD_DO_LAST | `uint16` | 240 | NOP - This command is only used to mark the upper limit of the DO commands in the enumeration. | Unused | Unused | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_PREFLIGHT_CALIBRATION"></a> VEHICLE_CMD_PREFLIGHT_CALIBRATION | `uint16` | 241 | Trigger calibration. This command will be only accepted if in pre-flight mode. See MAVLink spec MAV_CMD_PREFLIGHT_CALIBRATION. |
| <a id="#PREFLIGHT_CALIBRATION_TEMPERATURE_CALIBRATION"></a> PREFLIGHT_CALIBRATION_TEMPERATURE_CALIBRATION | `uint16` | 3 | Param value for VEHICLE_CMD_PREFLIGHT_CALIBRATION to start temperature calibration. |
| <a id="#VEHICLE_CMD_PREFLIGHT_SET_SENSOR_OFFSETS"></a> VEHICLE_CMD_PREFLIGHT_SET_SENSOR_OFFSETS | `uint16` | 242 | Set sensor offsets. This command will be only accepted if in pre-flight mode. | Sensor to adjust the offsets for: 0: gyros, 1: accelerometer, 2: magnetometer, 3: barometer, 4: optical flow | X axis offset (or generic dimension 1), in the sensor's raw units | Y axis offset (or generic dimension 2), in the sensor's raw units | Z axis offset (or generic dimension 3), in the sensor's raw units | Generic dimension 4, in the sensor's raw units | Generic dimension 5, in the sensor's raw units | Generic dimension 6, in the sensor's raw units |
| <a id="#VEHICLE_CMD_PREFLIGHT_UAVCAN"></a> VEHICLE_CMD_PREFLIGHT_UAVCAN | `uint16` | 243 | UAVCAN configuration. If param 1 == 1 actuator mapping and direction assignment should be started. |
| <a id="#VEHICLE_CMD_PREFLIGHT_STORAGE"></a> VEHICLE_CMD_PREFLIGHT_STORAGE | `uint16` | 245 | Request storage of different parameter values and logs. This command will be only accepted if in pre-flight mode. | Parameter storage: 0: READ FROM FLASH/EEPROM, 1: WRITE CURRENT TO FLASH/EEPROM | Mission storage: 0: READ FROM FLASH/EEPROM, 1: WRITE CURRENT TO FLASH/EEPROM | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_PREFLIGHT_REBOOT_SHUTDOWN"></a> VEHICLE_CMD_PREFLIGHT_REBOOT_SHUTDOWN | `uint16` | 246 | Request the reboot or shutdown of system components. | 0: Do nothing for autopilot, 1: Reboot autopilot, 2: Shutdown autopilot. | 0: Do nothing for onboard computer, 1: Reboot onboard computer, 2: Shutdown onboard computer. | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_OBLIQUE_SURVEY"></a> VEHICLE_CMD_OBLIQUE_SURVEY | `uint16` | 260 | Mission command to set a Camera Auto Mount Pivoting Oblique Survey for this flight. | [m] Camera trigger distance | [ms] Shutter integration time | Camera minimum trigger interval | Number of positions | Roll | Pitch | Unused |
| <a id="#VEHICLE_CMD_DO_SET_STANDARD_MODE"></a> VEHICLE_CMD_DO_SET_STANDARD_MODE | `uint16` | 262 | Enable the specified standard MAVLink mode. | MAV_STANDARD_MODE |
| <a id="#VEHICLE_CMD_GIMBAL_DEVICE_INFORMATION"></a> VEHICLE_CMD_GIMBAL_DEVICE_INFORMATION | `uint16` | 283 | Command to ask information about a low level gimbal. |
| <a id="#VEHICLE_CMD_MISSION_START"></a> VEHICLE_CMD_MISSION_START | `uint16` | 300 | Start running a mission. | first_item: the first mission item to run | last_item: the last mission item to run (after this item is run, the mission ends) |
| <a id="#VEHICLE_CMD_ACTUATOR_GROUP_TEST"></a> VEHICLE_CMD_ACTUATOR_GROUP_TEST | `uint16` | 309 | Test groups of related actuators (e.g. all actuators contributing to roll torque). | [@enum ACTUATOR_TEST_GROUP] Group | [@range -1,1] Value | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_ACTUATOR_TEST"></a> VEHICLE_CMD_ACTUATOR_TEST | `uint16` | 310 | Actuator testing command. | [@range -1,1] value | [s] timeout | Unused | Unused | output function |
| <a id="#VEHICLE_CMD_CONFIGURE_ACTUATOR"></a> VEHICLE_CMD_CONFIGURE_ACTUATOR | `uint16` | 311 | Actuator configuration command. | configuration | Unused | Unused | Unused | output function |
| <a id="#VEHICLE_CMD_ESC_REQUEST_EEPROM"></a> VEHICLE_CMD_ESC_REQUEST_EEPROM | `uint16` | 312 | Request EEPROM data from an ESC. | ESC Index | Firmware Type | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_COMPONENT_ARM_DISARM"></a> VEHICLE_CMD_COMPONENT_ARM_DISARM | `uint16` | 400 | Arms / Disarms a component. | 1 to arm, 0 to disarm. |
| <a id="#VEHICLE_CMD_RUN_PREARM_CHECKS"></a> VEHICLE_CMD_RUN_PREARM_CHECKS | `uint16` | 401 | Instructs a target system to run pre-arm checks. |
| <a id="#VEHICLE_CMD_INJECT_FAILURE"></a> VEHICLE_CMD_INJECT_FAILURE | `uint16` | 420 | Inject artificial failure for testing purposes. |
| <a id="#VEHICLE_CMD_START_RX_PAIR"></a> VEHICLE_CMD_START_RX_PAIR | `uint16` | 500 | Starts receiver pairing. | 0:Spektrum | 0:Spektrum DSM2, 1:Spektrum DSMX |
| <a id="#VEHICLE_CMD_REQUEST_MESSAGE"></a> VEHICLE_CMD_REQUEST_MESSAGE | `uint16` | 512 | Request to send a single instance of the specified message. |
| <a id="#VEHICLE_CMD_REQUEST_CAMERA_INFORMATION"></a> VEHICLE_CMD_REQUEST_CAMERA_INFORMATION | `uint16` | 521 | Request camera information (CAMERA_INFORMATION). | 0: No action 1: Request camera capabilities | Reserved (all remaining params) | Reserved (default:0) | Reserved (default:0) | Reserved (default:0) | Reserved (default:0) | Reserved (default:0) |
| <a id="#VEHICLE_CMD_SET_CAMERA_MODE"></a> VEHICLE_CMD_SET_CAMERA_MODE | `uint16` | 530 | Set camera capture mode (photo, video, etc.). |
| <a id="#VEHICLE_CMD_SET_CAMERA_ZOOM"></a> VEHICLE_CMD_SET_CAMERA_ZOOM | `uint16` | 531 | Set camera zoom. |
| <a id="#VEHICLE_CMD_SET_CAMERA_FOCUS"></a> VEHICLE_CMD_SET_CAMERA_FOCUS | `uint16` | 532 |
| <a id="#VEHICLE_CMD_EXTERNAL_ATTITUDE_ESTIMATE"></a> VEHICLE_CMD_EXTERNAL_ATTITUDE_ESTIMATE | `uint16` | 620 | Set an external estimate of vehicle attitude in degrees. |
| <a id="#VEHICLE_CMD_DO_GIMBAL_MANAGER_PITCHYAW"></a> VEHICLE_CMD_DO_GIMBAL_MANAGER_PITCHYAW | `uint16` | 1000 | Setpoint to be sent to a gimbal manager to set a gimbal pitch and yaw. |
| <a id="#VEHICLE_CMD_DO_GIMBAL_MANAGER_CONFIGURE"></a> VEHICLE_CMD_DO_GIMBAL_MANAGER_CONFIGURE | `uint16` | 1001 | Gimbal configuration to set which sysid/compid is in primary and secondary control. |
| <a id="#VEHICLE_CMD_IMAGE_START_CAPTURE"></a> VEHICLE_CMD_IMAGE_START_CAPTURE | `uint16` | 2000 | Start image capture sequence. |
| <a id="#VEHICLE_CMD_DO_TRIGGER_CONTROL"></a> VEHICLE_CMD_DO_TRIGGER_CONTROL | `uint16` | 2003 | Enable or disable on-board camera triggering system. |
| <a id="#VEHICLE_CMD_VIDEO_START_CAPTURE"></a> VEHICLE_CMD_VIDEO_START_CAPTURE | `uint16` | 2500 | Start a video capture. |
| <a id="#VEHICLE_CMD_VIDEO_STOP_CAPTURE"></a> VEHICLE_CMD_VIDEO_STOP_CAPTURE | `uint16` | 2501 | Stop the current video capture. |
| <a id="#VEHICLE_CMD_LOGGING_START"></a> VEHICLE_CMD_LOGGING_START | `uint16` | 2510 | Start streaming ULog data. |
| <a id="#VEHICLE_CMD_LOGGING_STOP"></a> VEHICLE_CMD_LOGGING_STOP | `uint16` | 2511 | Stop streaming ULog data. |
| <a id="#VEHICLE_CMD_CONTROL_HIGH_LATENCY"></a> VEHICLE_CMD_CONTROL_HIGH_LATENCY | `uint16` | 2600 | Control starting/stopping transmitting data over the high latency link. |
| <a id="#VEHICLE_CMD_DO_VTOL_TRANSITION"></a> VEHICLE_CMD_DO_VTOL_TRANSITION | `uint16` | 3000 | Command VTOL transition. |
| <a id="#VEHICLE_CMD_DO_SET_SAFETY_SWITCH_STATE"></a> VEHICLE_CMD_DO_SET_SAFETY_SWITCH_STATE | `uint16` | 5300 | Command safety on/off. | SAFETY_SAFE (0) to activate safety, SAFETY_DANGEROUS (1) to deactivate safety and allow non-throttling actuator movement | Unused | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_ARM_AUTHORIZATION_REQUEST"></a> VEHICLE_CMD_ARM_AUTHORIZATION_REQUEST | `uint16` | 3001 | Request arm authorization. |
| <a id="#VEHICLE_CMD_PAYLOAD_PREPARE_DEPLOY"></a> VEHICLE_CMD_PAYLOAD_PREPARE_DEPLOY | `uint16` | 30001 | Prepare a payload deployment in the flight plan. |
| <a id="#VEHICLE_CMD_PAYLOAD_CONTROL_DEPLOY"></a> VEHICLE_CMD_PAYLOAD_CONTROL_DEPLOY | `uint16` | 30002 | Control a pre-programmed payload deployment. |
| <a id="#VEHICLE_CMD_FIXED_MAG_CAL_YAW"></a> VEHICLE_CMD_FIXED_MAG_CAL_YAW | `uint16` | 42006 | Magnetometer calibration based on provided known yaw. This allows for fast calibration using WMM field tables in the vehicle, given only the known yaw of the vehicle. If Latitude and longitude are both zero then use the current vehicle location. |
| <a id="#VEHICLE_CMD_DO_WINCH"></a> VEHICLE_CMD_DO_WINCH | `uint16` | 42600 | Command to operate winch. |
| <a id="#VEHICLE_CMD_EXTERNAL_POSITION_ESTIMATE"></a> VEHICLE_CMD_EXTERNAL_POSITION_ESTIMATE | `uint16` | 43003 | External reset of estimator global position when dead reckoning. |
| <a id="#VEHICLE_CMD_EXTERNAL_WIND_ESTIMATE"></a> VEHICLE_CMD_EXTERNAL_WIND_ESTIMATE | `uint16` | 43004 |
| <a id="#VEHICLE_CMD_ESTIMATOR_SENSOR_ENABLE"></a> VEHICLE_CMD_ESTIMATOR_SENSOR_ENABLE | `uint16` | 43006 | Enable/disable estimator sensor fusion. | Source (FUSION*SOURCE*\*) | Sensor instance (0-based) | Enable (1) or Disable (0) | Estimator Instance (NaN: not used) | Empty | Empty | Empty |
| <a id="#FUSION_SOURCE_GPS"></a> FUSION_SOURCE_GPS | `uint8` | 0 | GNSS (EKF2_GPS{i}\_CTRL, use instance param) |
| <a id="#FUSION_SOURCE_OF"></a> FUSION_SOURCE_OF | `uint8` | 1 | Optical Flow (EKF2_OF_CTRL) |
| <a id="#FUSION_SOURCE_EV"></a> FUSION_SOURCE_EV | `uint8` | 2 | External Vision (EKF2_EV_CTRL) |
| <a id="#FUSION_SOURCE_AGP"></a> FUSION_SOURCE_AGP | `uint8` | 3 | Auxiliary Global Position (EKF2_AGP{i}\_CTRL, use instance param) |
| <a id="#FUSION_SOURCE_BARO"></a> FUSION_SOURCE_BARO | `uint8` | 4 | Barometer (EKF2_BARO_CTRL) |
| <a id="#FUSION_SOURCE_RNG"></a> FUSION_SOURCE_RNG | `uint8` | 5 | Range Finder (EKF2_RNG_CTRL) |
| <a id="#FUSION_SOURCE_MAG"></a> FUSION_SOURCE_MAG | `uint8` | 6 | Magnetometer (EKF2_MAG_TYPE) |
| <a id="#FUSION_SOURCE_ASPD"></a> FUSION_SOURCE_ASPD | `uint8` | 7 | Airspeed (EKF2_ARSP_THR) |
| <a id="#FUSION_SOURCE_RNGBCN"></a> FUSION_SOURCE_RNGBCN | `uint8` | 8 | Ranging Beacon |
| <a id="#VEHICLE_CMD_PX4_INTERNAL_START"></a> VEHICLE_CMD_PX4_INTERNAL_START | `uint32` | 65537 | Start of PX4 internal only vehicle commands (> UINT16_MAX). |
| <a id="#VEHICLE_CMD_SET_GPS_GLOBAL_ORIGIN"></a> VEHICLE_CMD_SET_GPS_GLOBAL_ORIGIN | `uint32` | 100000 | Sets the GPS coordinates of the vehicle local origin (0,0,0) position. | Unused | Unused | Unused | Unused | Latitude (WGS-84) | Longitude (WGS-84) | [m] Altitude (AMSL from GNSS, positive above ground) |
| <a id="#VEHICLE_CMD_SET_NAV_STATE"></a> VEHICLE_CMD_SET_NAV_STATE | `uint32` | 100001 | Change mode by specifying nav_state directly. | nav_state | Unused | Unused | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_CMD_DO_SET_GLOBAL_ORIGIN"></a> VEHICLE_CMD_DO_SET_GLOBAL_ORIGIN | `uint16` | 611 | Sets GNSS coordinates of the vehicle local origin (0,0,0) position. Send as COMMAND_INT with MAV_FRAME_GLOBAL_INT. | Unused | Unused | Unused | Unused | Latitude (WGS-84) | Longitude (WGS-84) | [m] Altitude (AMSL) |
| <a id="#VEHICLE_CMD_GUIDED_CHANGE_HEADING"></a> VEHICLE_CMD_GUIDED_CHANGE_HEADING | `uint16` | 43002 | Change heading/course. param1: heading type (0=course-over-ground, 1=heading). param2: target [deg]. param3: max rate [deg/s]. | Heading type (HEADING_TYPE enum) | [deg] Target bearing [0..360] | [deg/s] Max rate of change | Unused | Unused | Unused | Unused |
| <a id="#VEHICLE_MOUNT_MODE_RETRACT"></a> VEHICLE_MOUNT_MODE_RETRACT | `uint8` | 0 | Load and keep safe position (Roll,Pitch,Yaw) from permanent memory and stop stabilization. |
| <a id="#VEHICLE_MOUNT_MODE_NEUTRAL"></a> VEHICLE_MOUNT_MODE_NEUTRAL | `uint8` | 1 | Load and keep neutral position (Roll,Pitch,Yaw) from permanent memory. |
| <a id="#VEHICLE_MOUNT_MODE_MAVLINK_TARGETING"></a> VEHICLE_MOUNT_MODE_MAVLINK_TARGETING | `uint8` | 2 | Load neutral position and start MAVLink Roll,Pitch,Yaw control with stabilization. |
| <a id="#VEHICLE_MOUNT_MODE_RC_TARGETING"></a> VEHICLE_MOUNT_MODE_RC_TARGETING | `uint8` | 3 | Load neutral position and start RC Roll,Pitch,Yaw control with stabilization. |
| <a id="#VEHICLE_MOUNT_MODE_GPS_POINT"></a> VEHICLE_MOUNT_MODE_GPS_POINT | `uint8` | 4 | Load neutral position and start to point to Lat,Lon,Alt. |
| <a id="#VEHICLE_MOUNT_MODE_ENUM_END"></a> VEHICLE_MOUNT_MODE_ENUM_END | `uint8` | 5 |
| <a id="#VEHICLE_ROI_NONE"></a> VEHICLE_ROI_NONE | `uint8` | 0 | No region of interest. |
| <a id="#VEHICLE_ROI_WPNEXT"></a> VEHICLE_ROI_WPNEXT | `uint8` | 1 | Point toward next MISSION. |
| <a id="#VEHICLE_ROI_WPINDEX"></a> VEHICLE_ROI_WPINDEX | `uint8` | 2 | Point toward given MISSION. |
| <a id="#VEHICLE_ROI_LOCATION"></a> VEHICLE_ROI_LOCATION | `uint8` | 3 | Point toward fixed location. |
| <a id="#VEHICLE_ROI_TARGET"></a> VEHICLE_ROI_TARGET | `uint8` | 4 | Point toward target. |
| <a id="#VEHICLE_ROI_ENUM_END"></a> VEHICLE_ROI_ENUM_END | `uint8` | 5 |
| <a id="#ACTUATOR_CONFIGURATION_NONE"></a> ACTUATOR_CONFIGURATION_NONE | `uint8` | 0 | Do nothing. |
| <a id="#ACTUATOR_CONFIGURATION_BEEP"></a> ACTUATOR_CONFIGURATION_BEEP | `uint8` | 1 | Command the actuator to beep now. |
| <a id="#ACTUATOR_CONFIGURATION_3D_MODE_ON"></a> ACTUATOR_CONFIGURATION_3D_MODE_ON | `uint8` | 2 | Permanently set the actuator (ESC) to 3D mode (reversible thrust). |
| <a id="#ACTUATOR_CONFIGURATION_3D_MODE_OFF"></a> ACTUATOR_CONFIGURATION_3D_MODE_OFF | `uint8` | 3 | Permanently set the actuator (ESC) to non 3D mode (non-reversible thrust). |
| <a id="#ACTUATOR_CONFIGURATION_SPIN_DIRECTION1"></a> ACTUATOR_CONFIGURATION_SPIN_DIRECTION1 | `uint8` | 4 | Permanently set the actuator (ESC) to spin direction 1 (which can be clockwise or counter-clockwise). |
| <a id="#ACTUATOR_CONFIGURATION_SPIN_DIRECTION2"></a> ACTUATOR_CONFIGURATION_SPIN_DIRECTION2 | `uint8` | 5 | Permanently set the actuator (ESC) to spin direction 2 (opposite of direction 1). |
| <a id="#PARACHUTE_ACTION_DISABLE"></a> PARACHUTE_ACTION_DISABLE | `uint8` | 0 |
| <a id="#PARACHUTE_ACTION_ENABLE"></a> PARACHUTE_ACTION_ENABLE | `uint8` | 1 |
| <a id="#PARACHUTE_ACTION_RELEASE"></a> PARACHUTE_ACTION_RELEASE | `uint8` | 2 |
| <a id="#FAILURE_UNIT_SENSOR_GYRO"></a> FAILURE_UNIT_SENSOR_GYRO | `uint8` | 0 |
| <a id="#FAILURE_UNIT_SENSOR_ACCEL"></a> FAILURE_UNIT_SENSOR_ACCEL | `uint8` | 1 |
| <a id="#FAILURE_UNIT_SENSOR_MAG"></a> FAILURE_UNIT_SENSOR_MAG | `uint8` | 2 |
| <a id="#FAILURE_UNIT_SENSOR_BARO"></a> FAILURE_UNIT_SENSOR_BARO | `uint8` | 3 |
| <a id="#FAILURE_UNIT_SENSOR_GPS"></a> FAILURE_UNIT_SENSOR_GPS | `uint8` | 4 |
| <a id="#FAILURE_UNIT_SENSOR_OPTICAL_FLOW"></a> FAILURE_UNIT_SENSOR_OPTICAL_FLOW | `uint8` | 5 |
| <a id="#FAILURE_UNIT_SENSOR_VIO"></a> FAILURE_UNIT_SENSOR_VIO | `uint8` | 6 |
| <a id="#FAILURE_UNIT_SENSOR_DISTANCE_SENSOR"></a> FAILURE_UNIT_SENSOR_DISTANCE_SENSOR | `uint8` | 7 |
| <a id="#FAILURE_UNIT_SENSOR_AIRSPEED"></a> FAILURE_UNIT_SENSOR_AIRSPEED | `uint8` | 8 |
| <a id="#FAILURE_UNIT_SYSTEM_BATTERY"></a> FAILURE_UNIT_SYSTEM_BATTERY | `uint8` | 100 |
| <a id="#FAILURE_UNIT_SYSTEM_MOTOR"></a> FAILURE_UNIT_SYSTEM_MOTOR | `uint8` | 101 |
| <a id="#FAILURE_UNIT_SYSTEM_SERVO"></a> FAILURE_UNIT_SYSTEM_SERVO | `uint8` | 102 |
| <a id="#FAILURE_UNIT_SYSTEM_AVOIDANCE"></a> FAILURE_UNIT_SYSTEM_AVOIDANCE | `uint8` | 103 |
| <a id="#FAILURE_UNIT_SYSTEM_RC_SIGNAL"></a> FAILURE_UNIT_SYSTEM_RC_SIGNAL | `uint8` | 104 |
| <a id="#FAILURE_UNIT_SYSTEM_MAVLINK_SIGNAL"></a> FAILURE_UNIT_SYSTEM_MAVLINK_SIGNAL | `uint8` | 105 |
| <a id="#FAILURE_UNIT_SYSTEM_ESC"></a> FAILURE_UNIT_SYSTEM_ESC | `uint8` | 106 |
| <a id="#FAILURE_UNIT_SYSTEM_TRAFFIC_AVOIDANCE"></a> FAILURE_UNIT_SYSTEM_TRAFFIC_AVOIDANCE | `uint8` | 107 |
| <a id="#FAILURE_UNIT_DATALINK_LTE"></a> FAILURE_UNIT_DATALINK_LTE | `uint8` | 150 |
| <a id="#FAILURE_UNIT_DATALINK_WIFI"></a> FAILURE_UNIT_DATALINK_WIFI | `uint8` | 151 |
| <a id="#FAILURE_UNIT_DATALINK_TELEM_RADIO"></a> FAILURE_UNIT_DATALINK_TELEM_RADIO | `uint8` | 152 |
| <a id="#FAILURE_UNIT_BUS_CAN"></a> FAILURE_UNIT_BUS_CAN | `uint8` | 200 |
| <a id="#FAILURE_UNIT_BUS_I2C"></a> FAILURE_UNIT_BUS_I2C | `uint8` | 201 |
| <a id="#FAILURE_TYPE_OK"></a> FAILURE_TYPE_OK | `uint8` | 0 |
| <a id="#FAILURE_TYPE_OFF"></a> FAILURE_TYPE_OFF | `uint8` | 1 |
| <a id="#FAILURE_TYPE_STUCK"></a> FAILURE_TYPE_STUCK | `uint8` | 2 |
| <a id="#FAILURE_TYPE_GARBAGE"></a> FAILURE_TYPE_GARBAGE | `uint8` | 3 |
| <a id="#FAILURE_TYPE_WRONG"></a> FAILURE_TYPE_WRONG | `uint8` | 4 |
| <a id="#FAILURE_TYPE_SLOW"></a> FAILURE_TYPE_SLOW | `uint8` | 5 |
| <a id="#FAILURE_TYPE_DELAYED"></a> FAILURE_TYPE_DELAYED | `uint8` | 6 |
| <a id="#FAILURE_TYPE_INTERMITTENT"></a> FAILURE_TYPE_INTERMITTENT | `uint8` | 7 |
| <a id="#FAILURE_TYPE_DRIFT"></a> FAILURE_TYPE_DRIFT | `uint8` | 8 |
| <a id="#SPEED_TYPE_AIRSPEED"></a> SPEED_TYPE_AIRSPEED | `uint8` | 0 |
| <a id="#SPEED_TYPE_GROUNDSPEED"></a> SPEED_TYPE_GROUNDSPEED | `uint8` | 1 |
| <a id="#SPEED_TYPE_CLIMB_SPEED"></a> SPEED_TYPE_CLIMB_SPEED | `uint8` | 2 |
| <a id="#SPEED_TYPE_DESCEND_SPEED"></a> SPEED_TYPE_DESCEND_SPEED | `uint8` | 3 |
| <a id="#ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TO_CIRCLE_CENTER"></a> ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TO_CIRCLE_CENTER | `uint8` | 0 |
| <a id="#ORBIT_YAW_BEHAVIOUR_HOLD_INITIAL_HEADING"></a> ORBIT_YAW_BEHAVIOUR_HOLD_INITIAL_HEADING | `uint8` | 1 |
| <a id="#ORBIT_YAW_BEHAVIOUR_UNCONTROLLED"></a> ORBIT_YAW_BEHAVIOUR_UNCONTROLLED | `uint8` | 2 |
| <a id="#ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TANGENT_TO_CIRCLE"></a> ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TANGENT_TO_CIRCLE | `uint8` | 3 |
| <a id="#ORBIT_YAW_BEHAVIOUR_RC_CONTROLLED"></a> ORBIT_YAW_BEHAVIOUR_RC_CONTROLLED | `uint8` | 4 |
| <a id="#ORBIT_YAW_BEHAVIOUR_UNCHANGED"></a> ORBIT_YAW_BEHAVIOUR_UNCHANGED | `uint8` | 5 |
| <a id="#RC_TYPE_SPEKTRUM"></a> RC_TYPE_SPEKTRUM | `uint8` | 0 |
| <a id="#RC_TYPE_CRSF"></a> RC_TYPE_CRSF | `uint8` | 1 |
| <a id="#RC_SUB_TYPE_SPEKTRUM_DSM2"></a> RC_SUB_TYPE_SPEKTRUM_DSM2 | `uint8` | 0 |
| <a id="#RC_SUB_TYPE_SPEKTRUM_DSMX"></a> RC_SUB_TYPE_SPEKTRUM_DSMX | `uint8` | 1 |
| <a id="#RC_SUB_TYPE_SPEKTRUM_DSMX8"></a> RC_SUB_TYPE_SPEKTRUM_DSMX8 | `uint8` | 2 |
| <a id="#ARMING_ACTION_DISARM"></a> ARMING_ACTION_DISARM | `int8` | 0 |
| <a id="#ARMING_ACTION_ARM"></a> ARMING_ACTION_ARM | `int8` | 1 |
| <a id="#GRIPPER_ACTION_RELEASE"></a> GRIPPER_ACTION_RELEASE | `uint8` | 0 |
| <a id="#GRIPPER_ACTION_GRAB"></a> GRIPPER_ACTION_GRAB | `uint8` | 1 |
| <a id="#SAFETY_SAFE"></a> SAFETY_SAFE | `uint8` | 0 | Activate safety (MAVLink SAFETY_SWITCH_STATE_SAFE) |
| <a id="#SAFETY_DANGEROUS"></a> SAFETY_DANGEROUS | `uint8` | 1 | Deactivate safety (MAVLink SAFETY_SWITCH_STATE_DANGEROUS) |
| <a id="#ACTUATOR_TEST_GROUP_ROLL_TORQUE"></a> ACTUATOR_TEST_GROUP_ROLL_TORQUE | `uint8` | 0 |
| <a id="#ACTUATOR_TEST_GROUP_PITCH_TORQUE"></a> ACTUATOR_TEST_GROUP_PITCH_TORQUE | `uint8` | 1 |
| <a id="#ACTUATOR_TEST_GROUP_YAW_TORQUE"></a> ACTUATOR_TEST_GROUP_YAW_TORQUE | `uint8` | 2 |
| <a id="#ACTUATOR_TEST_GROUP_COLLECTIVE_TILT"></a> ACTUATOR_TEST_GROUP_COLLECTIVE_TILT | `uint8` | 3 |
| <a id="#ACTUATOR_TEST_GROUP_X_THRUST"></a> ACTUATOR_TEST_GROUP_X_THRUST | `uint8` | 4 |
| <a id="#ACTUATOR_TEST_GROUP_Y_THRUST"></a> ACTUATOR_TEST_GROUP_Y_THRUST | `uint8` | 5 |
| <a id="#ACTUATOR_TEST_GROUP_Z_THRUST"></a> ACTUATOR_TEST_GROUP_Z_THRUST | `uint8` | 6 |
| <a id="#ORB_QUEUE_LENGTH"></a> ORB_QUEUE_LENGTH | `uint8` | 8 |
| <a id="#COMPONENT_MODE_EXECUTOR_START"></a> COMPONENT_MODE_EXECUTOR_START | `uint16` | 1000 |
## Source Message
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/px4_msgs_old/msg/VehicleCommandV0.msg)
::: details Click here to see original file
```c
# Vehicle Command uORB message. Used for commanding a mission / action / etc.
# Follows the MAVLink COMMAND_INT / COMMAND_LONG definition
uint32 MESSAGE_VERSION = 0
uint64 timestamp # [us] Time since system start.
uint16 VEHICLE_CMD_CUSTOM_0 = 0 # Test command.
uint16 VEHICLE_CMD_CUSTOM_1 = 1 # Test command.
uint16 VEHICLE_CMD_CUSTOM_2 = 2 # Test command.
uint16 VEHICLE_CMD_NAV_WAYPOINT = 16 # Navigate to MISSION. |[s] (decimal) Hold time. (ignored by fixed wing, time to stay at MISSION for rotary wing)|[m] Acceptance radius (if the sphere with this radius is hit, the MISSION counts as reached)|0 to pass through the WP, if > 0 radius [m] to pass by WP. Positive value for clockwise orbit, negative value for counter-clockwise orbit. Allows trajectory control.|Desired yaw angle at MISSION (rotary wing)|Latitude|Longitude|Altitude|
uint16 VEHICLE_CMD_NAV_LOITER_UNLIM = 17 # Loiter around this MISSION an unlimited amount of time. |Unused|Unused|[m] Radius around MISSION. If positive loiter clockwise, else counter-clockwise|Desired yaw angle.|Latitude|Longitude|Altitude|
uint16 VEHICLE_CMD_NAV_LOITER_TURNS = 18 # Loiter around this MISSION for X turns. |Turns|Unused|Radius around MISSION [m]. If positive loiter clockwise, else counter-clockwise|Desired yaw angle.|Latitude|Longitude|Altitude|
uint16 VEHICLE_CMD_NAV_LOITER_TIME = 19 # Loiter around this MISSION for time. |[s] Seconds (decimal)|Unused|Radius around MISSION [m]. If positive loiter clockwise, else counter-clockwise|Desired yaw angle.|Latitude|Longitude|Altitude|
uint16 VEHICLE_CMD_NAV_RETURN_TO_LAUNCH = 20 # Return to launch location. |Unused|Unused|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_NAV_LAND = 21 # Land at location. |Unused|Unused|Unused|Desired yaw angle.|Latitude|Longitude|Altitude|
uint16 VEHICLE_CMD_NAV_TAKEOFF = 22 # Takeoff from ground / hand. |Unused (FW pitch from FW_TKO_PITCH_MIN)|Unused|Unused|[deg] [@range 0,360] Yaw angle in NED if yaw source available, ignored otherwise|Latitude (WGS-84)|Longitude (WGS-84)|[m] Altitude AMSL|
uint16 VEHICLE_CMD_NAV_PRECLAND = 23 # Attempt a precision landing.
uint16 VEHICLE_CMD_DO_ORBIT = 34 # Start orbiting on the circumference of a circle defined by the parameters. |[m] Radius|[m/s] Velocity|[@enum ORBIT_YAW_BEHAVIOUR] Yaw behaviour|Unused|Latitude/X|Longitude/Y|Altitude/Z|
uint16 VEHICLE_CMD_DO_FIGUREEIGHT = 35 # Start flying on the outline of a figure eight defined by the parameters. |[m] Major radius|[m] Minor radius|[m/s] Velocity|Orientation|Latitude/X|Longitude/Y|Altitude/Z|
uint16 VEHICLE_CMD_NAV_ROI = 80 # 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. |[@enum VEHICLE_ROI] Region of interest mode.|MISSION index/ target ID.|ROI index (allows a vehicle to manage multiple ROI's)|Unused|x the location of the fixed ROI (see MAV_FRAME)|y|z|
uint16 VEHICLE_CMD_NAV_PATHPLANNING = 81 # Control autonomous path planning on the MAV. |0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning|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|Unused|[deg] [@range 0, 360] Yaw angle at goal, in compass degrees|Latitude/X of goal|Longitude/Y of goal|Altitude/Z of goal|
uint16 VEHICLE_CMD_NAV_VTOL_TAKEOFF = 84 # Takeoff from ground / hand and transition to fixed wing. |Minimum pitch (if airspeed sensor present), desired pitch without sensor|Transition heading, 0: Default, 3: Use specified transition heading|Unused|Yaw angle (if magnetometer present), ignored without magnetometer|Latitude|Longitude|Altitude|
uint16 VEHICLE_CMD_NAV_VTOL_LAND = 85 # Transition to MC and land at location. |Unused|Unused|Unused|Desired yaw angle.|Latitude|Longitude|Altitude|
uint16 VEHICLE_CMD_NAV_GUIDED_LIMITS = 90 # Set limits for external control. |[s] Timeout - maximum time that external controller will be allowed to control vehicle. 0 means no timeout|[m] Absolute altitude min AMSL - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit|[m] Absolute altitude max - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit|[m] Horizontal move limit (AMSL) - if vehicle moves more than this distance from it's location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal altitude limit|Unused|Unused|Unused|
uint16 VEHICLE_CMD_NAV_GUIDED_MASTER = 91 # Set id of master controller. |System ID|Component ID|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_NAV_DELAY = 93 # Delay the next navigation command a number of seconds or until a specified time. |[s] Delay (decimal, -1 to enable time-of-day fields)|[h] hour (24h format, UTC, -1 to ignore)|minute (24h format, UTC, -1 to ignore)|second (24h format, UTC)|Unused|Unused|Unused|
uint16 VEHICLE_CMD_NAV_LAST = 95 # NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration.|Unused|Unused|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_CONDITION_DELAY = 112 # Delay mission state machine. |[s] Delay (decimal seconds)|Unused|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_CONDITION_CHANGE_ALT = 113 # Ascend/descend at rate. Delay mission state machine until desired altitude reached.|Descent / Ascend rate (m/s)|Unused|Unused|Unused|Unused|Unused|Finish Altitude|
uint16 VEHICLE_CMD_CONDITION_DISTANCE = 114 # Delay mission state machine until within desired distance of next NAV point. |Distance [m]|Unused|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_CONDITION_YAW = 115 # Reach a certain target angle. |[deg] [@range 0,360] Target angle. 0 is north|[deg/s] Speed during yaw change|[@range -1,1] Direction: negative: counter clockwise, positive: clockwise |[ 1,0] Relative offset or absolute angle|Unused|Unused|Unused|
uint16 VEHICLE_CMD_CONDITION_LAST = 159 # NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration. |Unused|Unused|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_CONDITION_GATE = 4501 # Wait until passing a threshold. |2D coord mode: 0: Orthogonal to planned route|Altitude mode: 0: Ignore altitude|Unused|Unused|Lat|Lon|Alt|
uint16 VEHICLE_CMD_DO_SET_MODE = 176 # Set system mode. |Mode, as defined by ENUM MAV_MODE|Unused|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_JUMP = 177 # Jump to the desired command in the mission list. Repeat this action only the specified number of times. |Sequence number|Repeat count|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_CHANGE_SPEED = 178 # Change speed and/or throttle set points. |[@enum SPEED_TYPE] Speed type (0=Airspeed, 1=Ground Speed)|Speed (m/s, -1 indicates no change)|[%] Throttle ( Percent, -1 indicates no change)|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_SET_HOME = 179 # Changes the home location either to the current location or a specified location. |Use current (1=use current location, 0=use specified location)|Unused|Unused|Unused|Latitude|Longitude|Altitude|
uint16 VEHICLE_CMD_DO_SET_PARAMETER = 180 # Set a system parameter. Caution! Use of this command requires knowledge of the numeric enumeration value of the parameter. |Parameter number|Parameter value|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_SET_RELAY = 181 # Set a relay to a condition. |Relay number|Setting (1=on, 0=off, others possible depending on system hardware)|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_REPEAT_RELAY = 182 # Cycle a relay on and off for a desired number of cycles with a desired period. |Relay number|Cycle count|[s] Cycle time (decimal seconds)|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_REPEAT_SERVO = 184 # Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period. |Servo number|[us] PWM rate (1000 to 2000 typical)|Cycle count|[s] Cycle time|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_FLIGHTTERMINATION = 185 # Terminate flight immediately. |Flight termination activated if > 0.5|Unused|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_CHANGE_ALTITUDE = 186 # Set the vehicle to Loiter mode and change the altitude to specified value. |Altitude|Frame of new altitude|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_SET_ACTUATOR = 187 # Sets actuators (e.g. servos) to a desired value. |Actuator 1|Actuator 2|Actuator 3|Actuator 4|Actuator 5|Actuator 6|Index|
uint16 VEHICLE_CMD_DO_LAND_START = 189 # 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/0 if not needed. If specified then it will be used to help find the closest landing sequence. |Unused|Unused|Unused|Unused|Latitude|Longitude|Unused|
uint16 VEHICLE_CMD_DO_GO_AROUND = 191 # Mission command to safely abort an autonomous landing. |[m] Altitude|Unused|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_REPOSITION = 192 # Reposition to specific WGS84 GPS position. |[m/s] Ground speed|Bitmask|[m] Loiter radius for planes|[deg] Yaw|Latitude|Longitude|Altitude|
uint16 VEHICLE_CMD_DO_PAUSE_CONTINUE = 193
uint16 VEHICLE_CMD_DO_SET_ROI_LOCATION = 195 # 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. |Unused|Unused|Unused|Unused|Latitude|Longitude|Altitude|
uint16 VEHICLE_CMD_DO_SET_ROI_WPNEXT_OFFSET = 196 # 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. |Unused|Unused|Unused|Unused|Pitch offset from next waypoint|Roll offset from next waypoint|Yaw offset from next waypoint|
uint16 VEHICLE_CMD_DO_SET_ROI_NONE = 197 # 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. |Unused|Unused|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_CONTROL_VIDEO = 200 # Control onboard camera system. |Camera ID (-1 for all)|Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw|Transmission mode: 0: video stream, >0: single images every n seconds (decimal seconds)|Recording: 0: disabled, 1: enabled compressed, 2: enabled raw|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_SET_ROI = 201 # 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. |[@enum VEHICLE_ROI] Region of interest mode.|MISSION index/ target ID.|ROI index (allows a vehicle to manage multiple ROI's)|Unused|x the location of the fixed ROI (see MAV_FRAME)|y|z|
uint16 VEHICLE_CMD_DO_DIGICAM_CONTROL=203
uint16 VEHICLE_CMD_DO_MOUNT_CONFIGURE=204 # Mission command to configure a camera or antenna mount. |[@enum MAV_MOUNT_MODE] Mount operation mode|Stabilize roll? (1 = yes, 0 = no)|Stabilize pitch? (1 = yes, 0 = no)|stabilize yaw? (1 = yes, 0 = no)|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_MOUNT_CONTROL=205 # Mission command to control a camera or antenna mount. |[deg] Pitch or lat, depending on mount mode.|[deg] Roll or lon depending on mount mode|[deg]/[m] Yaw or alt depending on mount mode|Unused|Unused|Unused|[@enum MAV_MOUNT_MODE]|
uint16 VEHICLE_CMD_DO_SET_CAM_TRIGG_DIST=206 # Mission command to set TRIG_DIST for this flight. |[m] Camera trigger distance|[ms] Shutter integration time|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_FENCE_ENABLE=207 # Mission command to enable the geofence. |enable? (0=disable, 1=enable)|Unused|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_PARACHUTE=208 # Mission command to trigger a parachute. |action [@enum PARACHUTE_ACTION] (0=disable, 1=enable, 2=release, for some systems see [@enum PARACHUTE_ACTION], not in general message set.)|Unused|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_MOTOR_TEST=209 # Motor test command. |Instance (@range 1, )|throttle type|throttle|timeout [s]|Motor count|Test order|Unused|
uint16 VEHICLE_CMD_DO_INVERTED_FLIGHT=210 # Change to/from inverted flight. |inverted (0=normal, 1=inverted)|Unused|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_GRIPPER = 211 # Command to operate a gripper.
uint16 VEHICLE_CMD_DO_AUTOTUNE_ENABLE = 212 # Enable autotune module. |1 to enable|Unused|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_SET_CAM_TRIGG_INTERVAL=214 # Mission command to set TRIG_INTERVAL for this flight. |[m] Camera trigger distance|Shutter integration time (ms)|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_MOUNT_CONTROL_QUAT=220 # Mission command to control a camera or antenna mount, using a quaternion as reference. |q1 - quaternion param #1, w (1 in null-rotation)|q2 - quaternion param #2, x (0 in null-rotation)|q3 - quaternion param #3, y (0 in null-rotation)|q4 - quaternion param #4, z (0 in null-rotation)|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_GUIDED_MASTER=221 # Set id of master controller. |System ID|Component ID|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_GUIDED_LIMITS=222 # Set limits for external control. |[s] Timeout - maximum time that external controller will be allowed to control vehicle. 0 means no timeout|[m] Absolute altitude min(AMSL) - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit|[m] Absolute altitude max - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit|[m] Horizontal move limit (AMSL) - if vehicle moves more than this distance from it's location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal altitude limit|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_SET_MISSION_CURRENT = 224 # Set the mission item with sequence number seq as current item and emit MISSION_CURRENT (whether or not the mission mode is active). ACKs FAILED if seq is out of range or there is no current mission item. |Mission sequence value to set, -1 for the current mission item (use to reset jump counters without changing the current item)|Reset repeat/jump counters and clear mission complete flag (1=true,0=false; default:0)|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_LAST = 240 # NOP - This command is only used to mark the upper limit of the DO commands in the enumeration. |Unused|Unused|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_PREFLIGHT_CALIBRATION = 241 # Trigger calibration. This command will be only accepted if in pre-flight mode. See MAVLink spec MAV_CMD_PREFLIGHT_CALIBRATION.
uint16 PREFLIGHT_CALIBRATION_TEMPERATURE_CALIBRATION = 3# Param value for VEHICLE_CMD_PREFLIGHT_CALIBRATION to start temperature calibration.
uint16 VEHICLE_CMD_PREFLIGHT_SET_SENSOR_OFFSETS = 242 # Set sensor offsets. This command will be only accepted if in pre-flight mode. |Sensor to adjust the offsets for: 0: gyros, 1: accelerometer, 2: magnetometer, 3: barometer, 4: optical flow|X axis offset (or generic dimension 1), in the sensor's raw units|Y axis offset (or generic dimension 2), in the sensor's raw units|Z axis offset (or generic dimension 3), in the sensor's raw units|Generic dimension 4, in the sensor's raw units|Generic dimension 5, in the sensor's raw units|Generic dimension 6, in the sensor's raw units|
uint16 VEHICLE_CMD_PREFLIGHT_UAVCAN = 243 # UAVCAN configuration. If param 1 == 1 actuator mapping and direction assignment should be started.
uint16 VEHICLE_CMD_PREFLIGHT_STORAGE = 245 # Request storage of different parameter values and logs. This command will be only accepted if in pre-flight mode. |Parameter storage: 0: READ FROM FLASH/EEPROM, 1: WRITE CURRENT TO FLASH/EEPROM|Mission storage: 0: READ FROM FLASH/EEPROM, 1: WRITE CURRENT TO FLASH/EEPROM|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_PREFLIGHT_REBOOT_SHUTDOWN = 246 # Request the reboot or shutdown of system components. |0: Do nothing for autopilot, 1: Reboot autopilot, 2: Shutdown autopilot.|0: Do nothing for onboard computer, 1: Reboot onboard computer, 2: Shutdown onboard computer.|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_OBLIQUE_SURVEY=260 # Mission command to set a Camera Auto Mount Pivoting Oblique Survey for this flight. |[m] Camera trigger distance|[ms] Shutter integration time|Camera minimum trigger interval|Number of positions|Roll|Pitch|Unused|
uint16 VEHICLE_CMD_DO_SET_STANDARD_MODE=262 # Enable the specified standard MAVLink mode. |MAV_STANDARD_MODE|
uint16 VEHICLE_CMD_GIMBAL_DEVICE_INFORMATION = 283 # Command to ask information about a low level gimbal.
uint16 VEHICLE_CMD_MISSION_START = 300 # Start running a mission. |first_item: the first mission item to run|last_item: the last mission item to run (after this item is run, the mission ends)|
uint16 VEHICLE_CMD_ACTUATOR_GROUP_TEST = 309 # Test groups of related actuators (e.g. all actuators contributing to roll torque). |[@enum ACTUATOR_TEST_GROUP] Group|[@range -1,1] Value|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_ACTUATOR_TEST = 310 # Actuator testing command. |[@range -1,1] value|[s] timeout|Unused|Unused|output function|
uint16 VEHICLE_CMD_CONFIGURE_ACTUATOR = 311 # Actuator configuration command. |configuration|Unused|Unused|Unused|output function|
uint16 VEHICLE_CMD_ESC_REQUEST_EEPROM = 312 # Request EEPROM data from an ESC. |ESC Index|Firmware Type|Unused|Unused|Unused|
uint16 VEHICLE_CMD_COMPONENT_ARM_DISARM = 400 # Arms / Disarms a component. |1 to arm, 0 to disarm.
uint16 VEHICLE_CMD_RUN_PREARM_CHECKS = 401 # Instructs a target system to run pre-arm checks.
uint16 VEHICLE_CMD_INJECT_FAILURE = 420 # Inject artificial failure for testing purposes.
uint16 VEHICLE_CMD_START_RX_PAIR = 500 # Starts receiver pairing. |0:Spektrum|0:Spektrum DSM2, 1:Spektrum DSMX|
uint16 VEHICLE_CMD_REQUEST_MESSAGE = 512 # Request to send a single instance of the specified message.
uint16 VEHICLE_CMD_REQUEST_CAMERA_INFORMATION = 521 # Request camera information (CAMERA_INFORMATION). |0: No action 1: Request camera capabilities|Reserved (all remaining params)|Reserved (default:0)|Reserved (default:0)|Reserved (default:0)|Reserved (default:0)|Reserved (default:0)|
uint16 VEHICLE_CMD_SET_CAMERA_MODE = 530 # Set camera capture mode (photo, video, etc.).
uint16 VEHICLE_CMD_SET_CAMERA_ZOOM = 531 # Set camera zoom.
uint16 VEHICLE_CMD_SET_CAMERA_FOCUS = 532
uint16 VEHICLE_CMD_EXTERNAL_ATTITUDE_ESTIMATE = 620 # Set an external estimate of vehicle attitude in degrees.
uint16 VEHICLE_CMD_DO_GIMBAL_MANAGER_PITCHYAW = 1000 # Setpoint to be sent to a gimbal manager to set a gimbal pitch and yaw.
uint16 VEHICLE_CMD_DO_GIMBAL_MANAGER_CONFIGURE = 1001 # Gimbal configuration to set which sysid/compid is in primary and secondary control.
uint16 VEHICLE_CMD_IMAGE_START_CAPTURE = 2000 # Start image capture sequence.
uint16 VEHICLE_CMD_DO_TRIGGER_CONTROL = 2003 # Enable or disable on-board camera triggering system.
uint16 VEHICLE_CMD_VIDEO_START_CAPTURE = 2500 # Start a video capture.
uint16 VEHICLE_CMD_VIDEO_STOP_CAPTURE = 2501 # Stop the current video capture.
uint16 VEHICLE_CMD_LOGGING_START = 2510 # Start streaming ULog data.
uint16 VEHICLE_CMD_LOGGING_STOP = 2511 # Stop streaming ULog data.
uint16 VEHICLE_CMD_CONTROL_HIGH_LATENCY = 2600 # Control starting/stopping transmitting data over the high latency link.
uint16 VEHICLE_CMD_DO_VTOL_TRANSITION = 3000 # Command VTOL transition.
uint16 VEHICLE_CMD_DO_SET_SAFETY_SWITCH_STATE = 5300 # Command safety on/off. |SAFETY_SAFE (0) to activate safety, SAFETY_DANGEROUS (1) to deactivate safety and allow non-throttling actuator movement|Unused|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_ARM_AUTHORIZATION_REQUEST = 3001 # Request arm authorization.
uint16 VEHICLE_CMD_PAYLOAD_PREPARE_DEPLOY = 30001 # Prepare a payload deployment in the flight plan.
uint16 VEHICLE_CMD_PAYLOAD_CONTROL_DEPLOY = 30002 # Control a pre-programmed payload deployment.
uint16 VEHICLE_CMD_FIXED_MAG_CAL_YAW = 42006 # Magnetometer calibration based on provided known yaw. This allows for fast calibration using WMM field tables in the vehicle, given only the known yaw of the vehicle. If Latitude and longitude are both zero then use the current vehicle location.
uint16 VEHICLE_CMD_DO_WINCH = 42600 # Command to operate winch.
uint16 VEHICLE_CMD_EXTERNAL_POSITION_ESTIMATE = 43003 # External reset of estimator global position when dead reckoning.
uint16 VEHICLE_CMD_EXTERNAL_WIND_ESTIMATE = 43004
uint16 VEHICLE_CMD_ESTIMATOR_SENSOR_ENABLE = 43006 # Enable/disable estimator sensor fusion. |Source (FUSION_SOURCE_*)|Sensor instance (0-based)|Enable (1) or Disable (0)|Estimator Instance (NaN: not used)|Empty|Empty|Empty|
# Sensor fusion source types for VEHICLE_CMD_ESTIMATOR_SENSOR_ENABLE
uint8 FUSION_SOURCE_GPS = 0 # GNSS (EKF2_GPS{i}_CTRL, use instance param)
uint8 FUSION_SOURCE_OF = 1 # Optical Flow (EKF2_OF_CTRL)
uint8 FUSION_SOURCE_EV = 2 # External Vision (EKF2_EV_CTRL)
uint8 FUSION_SOURCE_AGP = 3 # Auxiliary Global Position (EKF2_AGP{i}_CTRL, use instance param)
uint8 FUSION_SOURCE_BARO = 4 # Barometer (EKF2_BARO_CTRL)
uint8 FUSION_SOURCE_RNG = 5 # Range Finder (EKF2_RNG_CTRL)
uint8 FUSION_SOURCE_MAG = 6 # Magnetometer (EKF2_MAG_TYPE)
uint8 FUSION_SOURCE_ASPD = 7 # Airspeed (EKF2_ARSP_THR)
uint8 FUSION_SOURCE_RNGBCN = 8 # Ranging Beacon
# PX4 vehicle commands (beyond 16 bit MAVLink commands).
uint32 VEHICLE_CMD_PX4_INTERNAL_START = 65537 # Start of PX4 internal only vehicle commands (> UINT16_MAX).
uint32 VEHICLE_CMD_SET_GPS_GLOBAL_ORIGIN = 100000 # Sets the GPS coordinates of the vehicle local origin (0,0,0) position. |Unused|Unused|Unused|Unused|Latitude (WGS-84)|Longitude (WGS-84)|[m] Altitude (AMSL from GNSS, positive above ground)|
uint32 VEHICLE_CMD_SET_NAV_STATE = 100001 # Change mode by specifying nav_state directly. |nav_state|Unused|Unused|Unused|Unused|Unused|Unused|
uint16 VEHICLE_CMD_DO_SET_GLOBAL_ORIGIN = 611 # Sets GNSS coordinates of the vehicle local origin (0,0,0) position. Send as COMMAND_INT with MAV_FRAME_GLOBAL_INT. |Unused|Unused|Unused|Unused|Latitude (WGS-84)|Longitude (WGS-84)|[m] Altitude (AMSL)|
uint16 VEHICLE_CMD_GUIDED_CHANGE_HEADING = 43002 # Change heading/course. param1: heading type (0=course-over-ground, 1=heading). param2: target [deg]. param3: max rate [deg/s]. |Heading type (HEADING_TYPE enum)|[deg] Target bearing [0..360]|[deg/s] Max rate of change|Unused|Unused|Unused|Unused|
uint8 VEHICLE_MOUNT_MODE_RETRACT = 0 # Load and keep safe position (Roll,Pitch,Yaw) from permanent memory and stop stabilization.
uint8 VEHICLE_MOUNT_MODE_NEUTRAL = 1 # Load and keep neutral position (Roll,Pitch,Yaw) from permanent memory.
uint8 VEHICLE_MOUNT_MODE_MAVLINK_TARGETING = 2 # Load neutral position and start MAVLink Roll,Pitch,Yaw control with stabilization.
uint8 VEHICLE_MOUNT_MODE_RC_TARGETING = 3 # Load neutral position and start RC Roll,Pitch,Yaw control with stabilization.
uint8 VEHICLE_MOUNT_MODE_GPS_POINT = 4 # Load neutral position and start to point to Lat,Lon,Alt.
uint8 VEHICLE_MOUNT_MODE_ENUM_END = 5 #
uint8 VEHICLE_ROI_NONE = 0 # No region of interest.
uint8 VEHICLE_ROI_WPNEXT = 1 # Point toward next MISSION.
uint8 VEHICLE_ROI_WPINDEX = 2 # Point toward given MISSION.
uint8 VEHICLE_ROI_LOCATION = 3 # Point toward fixed location.
uint8 VEHICLE_ROI_TARGET = 4 # Point toward target.
uint8 VEHICLE_ROI_ENUM_END = 5
uint8 ACTUATOR_CONFIGURATION_NONE = 0 # Do nothing.
uint8 ACTUATOR_CONFIGURATION_BEEP = 1 # Command the actuator to beep now.
uint8 ACTUATOR_CONFIGURATION_3D_MODE_ON = 2 # Permanently set the actuator (ESC) to 3D mode (reversible thrust).
uint8 ACTUATOR_CONFIGURATION_3D_MODE_OFF = 3 # Permanently set the actuator (ESC) to non 3D mode (non-reversible thrust).
uint8 ACTUATOR_CONFIGURATION_SPIN_DIRECTION1 = 4 # Permanently set the actuator (ESC) to spin direction 1 (which can be clockwise or counter-clockwise).
uint8 ACTUATOR_CONFIGURATION_SPIN_DIRECTION2 = 5 # Permanently set the actuator (ESC) to spin direction 2 (opposite of direction 1).
uint8 PARACHUTE_ACTION_DISABLE = 0
uint8 PARACHUTE_ACTION_ENABLE = 1
uint8 PARACHUTE_ACTION_RELEASE = 2
uint8 FAILURE_UNIT_SENSOR_GYRO = 0
uint8 FAILURE_UNIT_SENSOR_ACCEL = 1
uint8 FAILURE_UNIT_SENSOR_MAG = 2
uint8 FAILURE_UNIT_SENSOR_BARO = 3
uint8 FAILURE_UNIT_SENSOR_GPS = 4
uint8 FAILURE_UNIT_SENSOR_OPTICAL_FLOW = 5
uint8 FAILURE_UNIT_SENSOR_VIO = 6
uint8 FAILURE_UNIT_SENSOR_DISTANCE_SENSOR = 7
uint8 FAILURE_UNIT_SENSOR_AIRSPEED = 8
uint8 FAILURE_UNIT_SYSTEM_BATTERY = 100
uint8 FAILURE_UNIT_SYSTEM_MOTOR = 101
uint8 FAILURE_UNIT_SYSTEM_SERVO = 102
uint8 FAILURE_UNIT_SYSTEM_AVOIDANCE = 103
uint8 FAILURE_UNIT_SYSTEM_RC_SIGNAL = 104
uint8 FAILURE_UNIT_SYSTEM_MAVLINK_SIGNAL = 105
uint8 FAILURE_UNIT_SYSTEM_ESC = 106
uint8 FAILURE_UNIT_SYSTEM_TRAFFIC_AVOIDANCE = 107
uint8 FAILURE_UNIT_DATALINK_LTE = 150
uint8 FAILURE_UNIT_DATALINK_WIFI = 151
uint8 FAILURE_UNIT_DATALINK_TELEM_RADIO = 152
uint8 FAILURE_UNIT_BUS_CAN = 200
uint8 FAILURE_UNIT_BUS_I2C = 201
uint8 FAILURE_TYPE_OK = 0
uint8 FAILURE_TYPE_OFF = 1
uint8 FAILURE_TYPE_STUCK = 2
uint8 FAILURE_TYPE_GARBAGE = 3
uint8 FAILURE_TYPE_WRONG = 4
uint8 FAILURE_TYPE_SLOW = 5
uint8 FAILURE_TYPE_DELAYED = 6
uint8 FAILURE_TYPE_INTERMITTENT = 7
uint8 FAILURE_TYPE_DRIFT = 8
# Used as param1 in DO_CHANGE_SPEED command.
uint8 SPEED_TYPE_AIRSPEED = 0
uint8 SPEED_TYPE_GROUNDSPEED = 1
uint8 SPEED_TYPE_CLIMB_SPEED = 2
uint8 SPEED_TYPE_DESCEND_SPEED = 3
# Used as param3 in CMD_DO_ORBIT.
uint8 ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TO_CIRCLE_CENTER = 0
uint8 ORBIT_YAW_BEHAVIOUR_HOLD_INITIAL_HEADING = 1
uint8 ORBIT_YAW_BEHAVIOUR_UNCONTROLLED = 2
uint8 ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TANGENT_TO_CIRCLE = 3
uint8 ORBIT_YAW_BEHAVIOUR_RC_CONTROLLED = 4
uint8 ORBIT_YAW_BEHAVIOUR_UNCHANGED = 5
# Used as param1&2 in CMD_START_RX_PAIR.
uint8 RC_TYPE_SPEKTRUM = 0
uint8 RC_TYPE_CRSF = 1
uint8 RC_SUB_TYPE_SPEKTRUM_DSM2 = 0
uint8 RC_SUB_TYPE_SPEKTRUM_DSMX = 1
uint8 RC_SUB_TYPE_SPEKTRUM_DSMX8 = 2
# Used as param1 in ARM_DISARM command.
int8 ARMING_ACTION_DISARM = 0
int8 ARMING_ACTION_ARM = 1
# param2 in VEHICLE_CMD_DO_GRIPPER.
uint8 GRIPPER_ACTION_RELEASE = 0
uint8 GRIPPER_ACTION_GRAB = 1
# Used as param1 in DO_SET_SAFETY_SWITCH_STATE command (matches MAVLink SAFETY_SWITCH_STATE enum).
uint8 SAFETY_SAFE = 0 # Activate safety (MAVLink SAFETY_SWITCH_STATE_SAFE)
uint8 SAFETY_DANGEROUS = 1 # Deactivate safety (MAVLink SAFETY_SWITCH_STATE_DANGEROUS)
# param1 in VEHICLE_CMD_ACTUATOR_GROUP_TEST (matches MAVLink ACTUATOR_TEST_GROUP enum)
uint8 ACTUATOR_TEST_GROUP_ROLL_TORQUE = 0
uint8 ACTUATOR_TEST_GROUP_PITCH_TORQUE = 1
uint8 ACTUATOR_TEST_GROUP_YAW_TORQUE = 2
uint8 ACTUATOR_TEST_GROUP_COLLECTIVE_TILT = 3
uint8 ACTUATOR_TEST_GROUP_X_THRUST = 4
uint8 ACTUATOR_TEST_GROUP_Y_THRUST = 5
uint8 ACTUATOR_TEST_GROUP_Z_THRUST = 6
uint8 ORB_QUEUE_LENGTH = 8
float32 param1 # Parameter 1, as defined by MAVLink uint16 VEHICLE_CMD enum.
float32 param2 # Parameter 2, as defined by MAVLink uint16 VEHICLE_CMD enum.
float32 param3 # Parameter 3, as defined by MAVLink uint16 VEHICLE_CMD enum.
float32 param4 # Parameter 4, as defined by MAVLink uint16 VEHICLE_CMD enum.
float64 param5 # Parameter 5, as defined by MAVLink uint16 VEHICLE_CMD enum.
float64 param6 # Parameter 6, as defined by MAVLink uint16 VEHICLE_CMD enum.
float32 param7 # Parameter 7, as defined by MAVLink uint16 VEHICLE_CMD enum.
uint32 command # Command ID.
uint8 target_system # System which should execute the command.
uint8 target_component # Component which should execute the command, 0 for all components.
uint8 source_system # System sending the command.
uint16 source_component # Component / mode executor sending the command.
uint8 confirmation # 0: First transmission of this command. 1-255: Confirmation transmissions (e.g. for kill command).
bool from_external
uint16 COMPONENT_MODE_EXECUTOR_START = 1000
# TOPICS vehicle_command gimbal_v1_command vehicle_command_mode_executor
```
:::
+4 -4
View File
@@ -39,7 +39,7 @@ Encodes the system state of the vehicle published by commander.
| <a id="fld_in_transition_mode"></a>in_transition_mode | `bool` | | | True if VTOL is doing a transition |
| <a id="fld_in_transition_to_fw"></a>in_transition_to_fw | `bool` | | | True if VTOL is doing a transition from MC to FW |
| <a id="fld_system_type"></a>system_type | `uint8` | | | system type, contains mavlink MAV_TYPE |
| <a id="fld_system_id"></a>system_id | `uint8` | | | system id, contains MAVLink's system ID field |
| <a id="fld_system_id"></a>system_id | `uint32` | | | system id, contains MAVLink's system ID field |
| <a id="fld_component_id"></a>component_id | `uint8` | | | subsystem / component id, contains MAVLink's component ID field |
| <a id="fld_safety_button_available"></a>safety_button_available | `bool` | | | Set to true if a safety button is connected |
| <a id="fld_safety_off"></a>safety_off | `bool` | | | Set to true if safety is off |
@@ -58,7 +58,7 @@ Encodes the system state of the vehicle published by commander.
| Name | Type | Value | Description |
| --------------------------------------------------------------------------------------- | -------- | ----- | -------------------------------------------------- |
| <a id="#MESSAGE_VERSION"></a> MESSAGE_VERSION | `uint32` | 4 |
| <a id="#MESSAGE_VERSION"></a> MESSAGE_VERSION | `uint32` | 5 |
| <a id="#ARMING_STATE_DISARMED"></a> ARMING_STATE_DISARMED | `uint8` | 1 |
| <a id="#ARMING_STATE_ARMED"></a> ARMING_STATE_ARMED | `uint8` | 2 |
| <a id="#ARM_DISARM_REASON_STICK_GESTURE"></a> ARM_DISARM_REASON_STICK_GESTURE | `uint8` | 1 |
@@ -122,7 +122,7 @@ Encodes the system state of the vehicle published by commander.
```c
# Encodes the system state of the vehicle published by commander
uint32 MESSAGE_VERSION = 4
uint32 MESSAGE_VERSION = 5
uint64 timestamp # time since system start (microseconds)
@@ -224,7 +224,7 @@ bool in_transition_to_fw # True if VTOL is doing a transition from MC to FW
# MAVLink identification
uint8 system_type # system type, contains mavlink MAV_TYPE
uint8 system_id # system id, contains MAVLink's system ID field
uint32 system_id # system id, contains MAVLink's system ID field
uint8 component_id # subsystem / component id, contains MAVLink's component ID field
bool safety_button_available # Set to true if a safety button is connected
+250
View File
@@ -0,0 +1,250 @@
---
pageClass: is-wide-page
---
# VehicleStatusV4 (UORB message)
Encodes the system state of the vehicle published by commander.
**TOPICS:** vehicle_status_v4
## Fields
| Name | Type | Unit [Frame] | Range/Enum | Description |
| --------------------------------------------------------------------------------- | -------- | ------------ | ---------- | ----------------------------------------------------------------------------------------------- |
| <a id="fld_timestamp"></a>timestamp | `uint64` | | | time since system start (microseconds) |
| <a id="fld_armed_time"></a>armed_time | `uint64` | | | Arming timestamp (microseconds) |
| <a id="fld_takeoff_time"></a>takeoff_time | `uint64` | | | Takeoff timestamp (microseconds) |
| <a id="fld_arming_state"></a>arming_state | `uint8` | | |
| <a id="fld_latest_arming_reason"></a>latest_arming_reason | `uint8` | | |
| <a id="fld_latest_disarming_reason"></a>latest_disarming_reason | `uint8` | | |
| <a id="fld_nav_state_timestamp"></a>nav_state_timestamp | `uint64` | | | time when current nav_state activated |
| <a id="fld_nav_state_user_intention"></a>nav_state_user_intention | `uint8` | | | Mode that the user selected (might be different from nav_state in a failsafe situation) |
| <a id="fld_nav_state"></a>nav_state | `uint8` | | | Currently active mode |
| <a id="fld_executor_in_charge"></a>executor_in_charge | `uint8` | | | Current mode executor in charge (0=Autopilot) |
| <a id="fld_nav_state_display"></a>nav_state_display | `uint8` | | | User-visible nav state sent via MAVLink (executor state if active, otherwise nav_state) |
| <a id="fld_accepts_offboard_setpoints"></a>accepts_offboard_setpoints | `bool` | | | True if the current mode accepts offboard trajectory setpoints via MAVLink |
| <a id="fld_valid_nav_states_mask"></a>valid_nav_states_mask | `uint32` | | | Bitmask for all valid nav_state values |
| <a id="fld_can_set_nav_states_mask"></a>can_set_nav_states_mask | `uint32` | | | Bitmask for all modes that a user can select |
| <a id="fld_hil_state"></a>hil_state | `uint8` | | |
| <a id="fld_vehicle_type"></a>vehicle_type | `uint8` | | |
| <a id="fld_failsafe"></a>failsafe | `bool` | | | true if system is in failsafe state (e.g. Return, Hover, Terminate, ...) |
| <a id="fld_failsafe_and_user_took_over"></a>failsafe_and_user_took_over | `bool` | | | true if system is in failsafe state but the user took over control |
| <a id="fld_failsafe_defer_state"></a>failsafe_defer_state | `uint8` | | | one of FAILSAFE*DEFER_STATE*\* |
| <a id="fld_gcs_connection_lost"></a>gcs_connection_lost | `bool` | | | datalink to GCS lost |
| <a id="fld_gcs_connection_lost_counter"></a>gcs_connection_lost_counter | `uint8` | | | counts unique GCS connection lost events |
| <a id="fld_high_latency_data_link_lost"></a>high_latency_data_link_lost | `bool` | | | Set to true if the high latency data link (eg. RockBlock Iridium 9603 telemetry module) is lost |
| <a id="fld_is_vtol"></a>is_vtol | `bool` | | | True if the system is VTOL capable |
| <a id="fld_is_vtol_tailsitter"></a>is_vtol_tailsitter | `bool` | | | True if the system performs a 90° pitch down rotation during transition from MC to FW |
| <a id="fld_in_transition_mode"></a>in_transition_mode | `bool` | | | True if VTOL is doing a transition |
| <a id="fld_in_transition_to_fw"></a>in_transition_to_fw | `bool` | | | True if VTOL is doing a transition from MC to FW |
| <a id="fld_system_type"></a>system_type | `uint8` | | | system type, contains mavlink MAV_TYPE |
| <a id="fld_system_id"></a>system_id | `uint8` | | | system id, contains MAVLink's system ID field |
| <a id="fld_component_id"></a>component_id | `uint8` | | | subsystem / component id, contains MAVLink's component ID field |
| <a id="fld_safety_button_available"></a>safety_button_available | `bool` | | | Set to true if a safety button is connected |
| <a id="fld_safety_off"></a>safety_off | `bool` | | | Set to true if safety is off |
| <a id="fld_power_input_valid"></a>power_input_valid | `bool` | | | set if input power is valid |
| <a id="fld_usb_connected"></a>usb_connected | `bool` | | | set to true (never cleared) once telemetry received from usb link |
| <a id="fld_open_drone_id_system_present"></a>open_drone_id_system_present | `bool` | | |
| <a id="fld_open_drone_id_system_healthy"></a>open_drone_id_system_healthy | `bool` | | |
| <a id="fld_parachute_system_present"></a>parachute_system_present | `bool` | | |
| <a id="fld_parachute_system_healthy"></a>parachute_system_healthy | `bool` | | |
| <a id="fld_traffic_avoidance_system_present"></a>traffic_avoidance_system_present | `bool` | | |
| <a id="fld_rc_calibration_in_progress"></a>rc_calibration_in_progress | `bool` | | |
| <a id="fld_calibration_enabled"></a>calibration_enabled | `bool` | | |
| <a id="fld_pre_flight_checks_pass"></a>pre_flight_checks_pass | `bool` | | | true if all checks necessary to arm pass |
## Constants
| Name | Type | Value | Description |
| --------------------------------------------------------------------------------------- | -------- | ----- | -------------------------------------------------- |
| <a id="#MESSAGE_VERSION"></a> MESSAGE_VERSION | `uint32` | 4 |
| <a id="#ARMING_STATE_DISARMED"></a> ARMING_STATE_DISARMED | `uint8` | 1 |
| <a id="#ARMING_STATE_ARMED"></a> ARMING_STATE_ARMED | `uint8` | 2 |
| <a id="#ARM_DISARM_REASON_STICK_GESTURE"></a> ARM_DISARM_REASON_STICK_GESTURE | `uint8` | 1 |
| <a id="#ARM_DISARM_REASON_RC_SWITCH"></a> ARM_DISARM_REASON_RC_SWITCH | `uint8` | 2 |
| <a id="#ARM_DISARM_REASON_COMMAND_INTERNAL"></a> ARM_DISARM_REASON_COMMAND_INTERNAL | `uint8` | 3 |
| <a id="#ARM_DISARM_REASON_COMMAND_EXTERNAL"></a> ARM_DISARM_REASON_COMMAND_EXTERNAL | `uint8` | 4 |
| <a id="#ARM_DISARM_REASON_MISSION_START"></a> ARM_DISARM_REASON_MISSION_START | `uint8` | 5 |
| <a id="#ARM_DISARM_REASON_LANDING"></a> ARM_DISARM_REASON_LANDING | `uint8` | 6 |
| <a id="#ARM_DISARM_REASON_PREFLIGHT_INACTION"></a> ARM_DISARM_REASON_PREFLIGHT_INACTION | `uint8` | 7 |
| <a id="#ARM_DISARM_REASON_KILL_SWITCH"></a> ARM_DISARM_REASON_KILL_SWITCH | `uint8` | 8 |
| <a id="#ARM_DISARM_REASON_RC_BUTTON"></a> ARM_DISARM_REASON_RC_BUTTON | `uint8` | 13 |
| <a id="#ARM_DISARM_REASON_FAILSAFE"></a> ARM_DISARM_REASON_FAILSAFE | `uint8` | 14 |
| <a id="#NAVIGATION_STATE_MANUAL"></a> NAVIGATION_STATE_MANUAL | `uint8` | 0 | Manual mode |
| <a id="#NAVIGATION_STATE_ALTCTL"></a> NAVIGATION_STATE_ALTCTL | `uint8` | 1 | Altitude control mode |
| <a id="#NAVIGATION_STATE_POSCTL"></a> NAVIGATION_STATE_POSCTL | `uint8` | 2 | Position control mode |
| <a id="#NAVIGATION_STATE_AUTO_MISSION"></a> NAVIGATION_STATE_AUTO_MISSION | `uint8` | 3 | Auto mission mode |
| <a id="#NAVIGATION_STATE_AUTO_LOITER"></a> NAVIGATION_STATE_AUTO_LOITER | `uint8` | 4 | Auto loiter mode |
| <a id="#NAVIGATION_STATE_AUTO_RTL"></a> NAVIGATION_STATE_AUTO_RTL | `uint8` | 5 | Return mode |
| <a id="#NAVIGATION_STATE_POSITION_SLOW"></a> NAVIGATION_STATE_POSITION_SLOW | `uint8` | 6 |
| <a id="#NAVIGATION_STATE_GUIDED_COURSE"></a> NAVIGATION_STATE_GUIDED_COURSE | `uint8` | 7 | Guided Course mode (FW: maintain course/alt/speed) |
| <a id="#NAVIGATION_STATE_ALTITUDE_CRUISE"></a> NAVIGATION_STATE_ALTITUDE_CRUISE | `uint8` | 8 | Altitude with Cruise mode |
| <a id="#NAVIGATION_STATE_MANUAL_PARKING"></a> NAVIGATION_STATE_MANUAL_PARKING | `uint8` | 9 | Manual Parking mode |
| <a id="#NAVIGATION_STATE_ACRO"></a> NAVIGATION_STATE_ACRO | `uint8` | 10 | Acro mode |
| <a id="#NAVIGATION_STATE_FREE2"></a> NAVIGATION_STATE_FREE2 | `uint8` | 11 |
| <a id="#NAVIGATION_STATE_DESCEND"></a> NAVIGATION_STATE_DESCEND | `uint8` | 12 | Descend mode (no position control) |
| <a id="#NAVIGATION_STATE_TERMINATION"></a> NAVIGATION_STATE_TERMINATION | `uint8` | 13 | Termination mode |
| <a id="#NAVIGATION_STATE_OFFBOARD"></a> NAVIGATION_STATE_OFFBOARD | `uint8` | 14 |
| <a id="#NAVIGATION_STATE_STAB"></a> NAVIGATION_STATE_STAB | `uint8` | 15 | Stabilized mode |
| <a id="#NAVIGATION_STATE_FREE1"></a> NAVIGATION_STATE_FREE1 | `uint8` | 16 |
| <a id="#NAVIGATION_STATE_AUTO_TAKEOFF"></a> NAVIGATION_STATE_AUTO_TAKEOFF | `uint8` | 17 | Takeoff |
| <a id="#NAVIGATION_STATE_AUTO_LAND"></a> NAVIGATION_STATE_AUTO_LAND | `uint8` | 18 | Land |
| <a id="#NAVIGATION_STATE_AUTO_FOLLOW_TARGET"></a> NAVIGATION_STATE_AUTO_FOLLOW_TARGET | `uint8` | 19 | Auto Follow |
| <a id="#NAVIGATION_STATE_AUTO_PRECLAND"></a> NAVIGATION_STATE_AUTO_PRECLAND | `uint8` | 20 | Precision land with landing target |
| <a id="#NAVIGATION_STATE_ORBIT"></a> NAVIGATION_STATE_ORBIT | `uint8` | 21 | Orbit in a circle |
| <a id="#NAVIGATION_STATE_AUTO_VTOL_TAKEOFF"></a> NAVIGATION_STATE_AUTO_VTOL_TAKEOFF | `uint8` | 22 | Takeoff, transition, establish loiter |
| <a id="#NAVIGATION_STATE_EXTERNAL1"></a> NAVIGATION_STATE_EXTERNAL1 | `uint8` | 23 |
| <a id="#NAVIGATION_STATE_EXTERNAL2"></a> NAVIGATION_STATE_EXTERNAL2 | `uint8` | 24 |
| <a id="#NAVIGATION_STATE_EXTERNAL3"></a> NAVIGATION_STATE_EXTERNAL3 | `uint8` | 25 |
| <a id="#NAVIGATION_STATE_EXTERNAL4"></a> NAVIGATION_STATE_EXTERNAL4 | `uint8` | 26 |
| <a id="#NAVIGATION_STATE_EXTERNAL5"></a> NAVIGATION_STATE_EXTERNAL5 | `uint8` | 27 |
| <a id="#NAVIGATION_STATE_EXTERNAL6"></a> NAVIGATION_STATE_EXTERNAL6 | `uint8` | 28 |
| <a id="#NAVIGATION_STATE_EXTERNAL7"></a> NAVIGATION_STATE_EXTERNAL7 | `uint8` | 29 |
| <a id="#NAVIGATION_STATE_EXTERNAL8"></a> NAVIGATION_STATE_EXTERNAL8 | `uint8` | 30 |
| <a id="#NAVIGATION_STATE_MAX"></a> NAVIGATION_STATE_MAX | `uint8` | 31 |
| <a id="#HIL_STATE_OFF"></a> HIL_STATE_OFF | `uint8` | 0 |
| <a id="#HIL_STATE_ON"></a> HIL_STATE_ON | `uint8` | 1 |
| <a id="#VEHICLE_TYPE_UNSPECIFIED"></a> VEHICLE_TYPE_UNSPECIFIED | `uint8` | 0 |
| <a id="#VEHICLE_TYPE_ROTARY_WING"></a> VEHICLE_TYPE_ROTARY_WING | `uint8` | 1 |
| <a id="#VEHICLE_TYPE_FIXED_WING"></a> VEHICLE_TYPE_FIXED_WING | `uint8` | 2 |
| <a id="#VEHICLE_TYPE_ROVER"></a> VEHICLE_TYPE_ROVER | `uint8` | 3 |
| <a id="#FAILSAFE_DEFER_STATE_DISABLED"></a> FAILSAFE_DEFER_STATE_DISABLED | `uint8` | 0 |
| <a id="#FAILSAFE_DEFER_STATE_ENABLED"></a> FAILSAFE_DEFER_STATE_ENABLED | `uint8` | 1 |
| <a id="#FAILSAFE_DEFER_STATE_WOULD_FAILSAFE"></a> FAILSAFE_DEFER_STATE_WOULD_FAILSAFE | `uint8` | 2 | Failsafes deferred, but would trigger a failsafe |
## Source Message
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/px4_msgs_old/msg/VehicleStatusV4.msg)
::: details Click here to see original file
```c
# Encodes the system state of the vehicle published by commander
uint32 MESSAGE_VERSION = 4
uint64 timestamp # time since system start (microseconds)
uint64 armed_time # Arming timestamp (microseconds)
uint64 takeoff_time # Takeoff timestamp (microseconds)
uint8 arming_state
uint8 ARMING_STATE_DISARMED = 1
uint8 ARMING_STATE_ARMED = 2
uint8 latest_arming_reason
uint8 latest_disarming_reason
uint8 ARM_DISARM_REASON_STICK_GESTURE = 1
uint8 ARM_DISARM_REASON_RC_SWITCH = 2
uint8 ARM_DISARM_REASON_COMMAND_INTERNAL = 3
uint8 ARM_DISARM_REASON_COMMAND_EXTERNAL = 4
uint8 ARM_DISARM_REASON_MISSION_START = 5
uint8 ARM_DISARM_REASON_LANDING = 6
uint8 ARM_DISARM_REASON_PREFLIGHT_INACTION = 7
uint8 ARM_DISARM_REASON_KILL_SWITCH = 8
uint8 ARM_DISARM_REASON_RC_BUTTON = 13
uint8 ARM_DISARM_REASON_FAILSAFE = 14
uint64 nav_state_timestamp # time when current nav_state activated
uint8 nav_state_user_intention # Mode that the user selected (might be different from nav_state in a failsafe situation)
uint8 nav_state # Currently active mode
uint8 NAVIGATION_STATE_MANUAL = 0 # Manual mode
uint8 NAVIGATION_STATE_ALTCTL = 1 # Altitude control mode
uint8 NAVIGATION_STATE_POSCTL = 2 # Position control mode
uint8 NAVIGATION_STATE_AUTO_MISSION = 3 # Auto mission mode
uint8 NAVIGATION_STATE_AUTO_LOITER = 4 # Auto loiter mode
uint8 NAVIGATION_STATE_AUTO_RTL = 5 # Return mode
uint8 NAVIGATION_STATE_POSITION_SLOW = 6
uint8 NAVIGATION_STATE_GUIDED_COURSE = 7 # Guided Course mode (FW: maintain course/alt/speed)
uint8 NAVIGATION_STATE_ALTITUDE_CRUISE = 8 # Altitude with Cruise mode
uint8 NAVIGATION_STATE_MANUAL_PARKING = 9 # Manual Parking mode
uint8 NAVIGATION_STATE_ACRO = 10 # Acro mode
uint8 NAVIGATION_STATE_FREE2 = 11
uint8 NAVIGATION_STATE_DESCEND = 12 # Descend mode (no position control)
uint8 NAVIGATION_STATE_TERMINATION = 13 # Termination mode
uint8 NAVIGATION_STATE_OFFBOARD = 14
uint8 NAVIGATION_STATE_STAB = 15 # Stabilized mode
uint8 NAVIGATION_STATE_FREE1 = 16
uint8 NAVIGATION_STATE_AUTO_TAKEOFF = 17 # Takeoff
uint8 NAVIGATION_STATE_AUTO_LAND = 18 # Land
uint8 NAVIGATION_STATE_AUTO_FOLLOW_TARGET = 19 # Auto Follow
uint8 NAVIGATION_STATE_AUTO_PRECLAND = 20 # Precision land with landing target
uint8 NAVIGATION_STATE_ORBIT = 21 # Orbit in a circle
uint8 NAVIGATION_STATE_AUTO_VTOL_TAKEOFF = 22 # Takeoff, transition, establish loiter
uint8 NAVIGATION_STATE_EXTERNAL1 = 23
uint8 NAVIGATION_STATE_EXTERNAL2 = 24
uint8 NAVIGATION_STATE_EXTERNAL3 = 25
uint8 NAVIGATION_STATE_EXTERNAL4 = 26
uint8 NAVIGATION_STATE_EXTERNAL5 = 27
uint8 NAVIGATION_STATE_EXTERNAL6 = 28
uint8 NAVIGATION_STATE_EXTERNAL7 = 29
uint8 NAVIGATION_STATE_EXTERNAL8 = 30
uint8 NAVIGATION_STATE_MAX = 31
uint8 executor_in_charge # Current mode executor in charge (0=Autopilot)
uint8 nav_state_display # User-visible nav state sent via MAVLink (executor state if active, otherwise nav_state)
bool accepts_offboard_setpoints # True if the current mode accepts offboard trajectory setpoints via MAVLink
uint32 valid_nav_states_mask # Bitmask for all valid nav_state values
uint32 can_set_nav_states_mask # Bitmask for all modes that a user can select
uint8 hil_state
uint8 HIL_STATE_OFF = 0
uint8 HIL_STATE_ON = 1
# Current vehicle locomotion method. A vehicle can have different methods (e.g. VTOL transitions from RW to FW method)
uint8 vehicle_type
uint8 VEHICLE_TYPE_UNSPECIFIED = 0
uint8 VEHICLE_TYPE_ROTARY_WING = 1
uint8 VEHICLE_TYPE_FIXED_WING = 2
uint8 VEHICLE_TYPE_ROVER = 3
uint8 FAILSAFE_DEFER_STATE_DISABLED = 0
uint8 FAILSAFE_DEFER_STATE_ENABLED = 1
uint8 FAILSAFE_DEFER_STATE_WOULD_FAILSAFE = 2 # Failsafes deferred, but would trigger a failsafe
bool failsafe # true if system is in failsafe state (e.g. Return, Hover, Terminate, ...)
bool failsafe_and_user_took_over # true if system is in failsafe state but the user took over control
uint8 failsafe_defer_state # one of FAILSAFE_DEFER_STATE_*
# Link loss
bool gcs_connection_lost # datalink to GCS lost
uint8 gcs_connection_lost_counter # counts unique GCS connection lost events
bool high_latency_data_link_lost # Set to true if the high latency data link (eg. RockBlock Iridium 9603 telemetry module) is lost
# VTOL flags
bool is_vtol # True if the system is VTOL capable
bool is_vtol_tailsitter # True if the system performs a 90° pitch down rotation during transition from MC to FW
bool in_transition_mode # True if VTOL is doing a transition
bool in_transition_to_fw # True if VTOL is doing a transition from MC to FW
# MAVLink identification
uint8 system_type # system type, contains mavlink MAV_TYPE
uint8 system_id # system id, contains MAVLink's system ID field
uint8 component_id # subsystem / component id, contains MAVLink's component ID field
bool safety_button_available # Set to true if a safety button is connected
bool safety_off # Set to true if safety is off
bool power_input_valid # set if input power is valid
bool usb_connected # set to true (never cleared) once telemetry received from usb link
bool open_drone_id_system_present
bool open_drone_id_system_healthy
bool parachute_system_present
bool parachute_system_healthy
bool traffic_avoidance_system_present
bool rc_calibration_in_progress
bool calibration_enabled
bool pre_flight_checks_pass # true if all checks necessary to arm pass
```
:::
+4
View File
@@ -66,17 +66,21 @@ Graphs showing how these are used [can be found here](../middleware/uorb_graph.m
- [HomePositionV0](HomePositionV0.md) — GPS home position in WGS84 coordinates.
- [HomePositionV1](HomePositionV1.md) — GPS home position in WGS84 coordinates.
- [ManualControlSetpointV0](ManualControlSetpointV0.md)
- [ManualControlSetpointV1](ManualControlSetpointV1.md) — Manual control input.
- [RegisterExtComponentReplyV0](RegisterExtComponentReplyV0.md)
- [RegisterExtComponentRequestV0](RegisterExtComponentRequestV0.md) — Request to register an external component.
- [RegisterExtComponentRequestV1](RegisterExtComponentRequestV1.md) — Request to register an external component.
- [VehicleAttitudeSetpointV0](VehicleAttitudeSetpointV0.md)
- [VehicleCommandAckV0](VehicleCommandAckV0.md) — Vehicle Command Ackonwledgement uORB message. Used for acknowledging the vehicle command being received. Follows the MAVLink COMMAND_ACK message definition.
- [VehicleCommandAckV1](VehicleCommandAckV1.md) — Vehicle Command Acknowledgement uORB message.
- [VehicleCommandV0](VehicleCommandV0.md) — Vehicle Command uORB message. Used for commanding a mission / action / etc. Follows the MAVLink COMMAND_INT / COMMAND_LONG definition.
- [VehicleGlobalPositionV0](VehicleGlobalPositionV0.md) — Fused global position in WGS84. This struct contains global position estimation. It is not the raw GPS. measurement (@see vehicle_gps_position). This topic is usually published by the position. estimator, which will take more sources of information into account than just GPS,. e.g. control inputs of the vehicle in a Kalman-filter implementation.
- [VehicleLocalPositionV0](VehicleLocalPositionV0.md) — Fused local position in NED. The coordinate system origin is the vehicle position at the time when the EKF2-module was started.
- [VehicleStatusV0](VehicleStatusV0.md) — Encodes the system state of the vehicle published by commander.
- [VehicleStatusV1](VehicleStatusV1.md) — Encodes the system state of the vehicle published by commander.
- [VehicleStatusV2](VehicleStatusV2.md) — Encodes the system state of the vehicle published by commander.
- [VehicleStatusV3](VehicleStatusV3.md) — Encodes the system state of the vehicle published by commander.
- [VehicleStatusV4](VehicleStatusV4.md) — Encodes the system state of the vehicle published by commander.
## Unversioned Messages
+1 -1
View File
@@ -1 +1 @@
{"parameters": [{"category": "Standard", "default": 0, "group": "ADSB", "longDesc": "Sets first 4 characters of a total of 8. Valid characters are A-Z, 0-9, \" \". Example \"PX4 \" -> 1347957792\nFor CALLSIGN shorter than 8 characters use the null terminator at the end '\\0'.\n", "name": "ADSB_CALLSIGN_1", "rebootRequired": true, "shortDesc": "First 4 characters of CALLSIGN", "type": "Int32"}, {"category": "Standard", "default": 0, "group": "ADSB", "longDesc": "Sets second 4 characters of a total of 8. Valid characters are A-Z, 0-9, \" \" only. Example \"TEST\" -> 1413829460\nFor CALLSIGN shorter than 8 characters use the null terminator at the end '\\0'.\n", "name": "ADSB_CALLSIGN_2", "rebootRequired": true, "shortDesc": "Second 4 characters of CALLSIGN", "type": "Int32"}, {"category": "Standard", "default": 0, "group": "ADSB", "longDesc": "Sets the vehicle emergency state\n", "max": 6, "min": 0, "name": "ADSB_EMERGC", "rebootRequired": true, "shortDesc": "ADSB-Out Emergency State", "type": "Int32", "values": [{"description": "NoEmergency", "value": 0}, {"description": "General", "value": 1}, {"description": "Medical", "value": 2}, {"description": "LowFuel", "value": 3}, {"description": "NoCommunications", "value": 4}, {"description": "Interference", "value": 5}, {"description": "Downed", "value": 6}]}, {"category": "Standard", "default": 14, "group": "ADSB", "longDesc": "Configure the emitter type of the vehicle.\n", "max": 19, "min": 0, "name": "ADSB_EMIT_TYPE", "rebootRequired": true, "shortDesc": "ADSB-Out Vehicle Emitter Type", "type": "Int32", "values": [{"description": "Unknown", "value": 0}, {"description": "Light", "value": 1}, {"description": "Small", "value": 2}, {"description": "Large", "value": 3}, {"description": "HighVortex", "value": 4}, {"description": "Heavy", "value": 5}, {"description": "Performance", "value": 6}, {"description": "Rotorcraft", "value": 7}, {"description": "RESERVED", "value": 8}, {"description": "Glider", "value": 9}, {"description": "LightAir", "value": 10}, {"description": "Parachute", "value": 11}, {"description": "UltraLight", "value": 12}, {"description": "RESERVED", "value": 13}, {"description": "UAV", "value": 14}, {"description": "Space", "value": 15}, {"description": "RESERVED", "value": 16}, {"description": "EmergencySurf", "value": 17}, {"description": "ServiceSurf", "value": 18}, {"description": "PointObstacle", "value": 19}]}, {"category": "Standard", "default": 0, "group": "ADSB", "longDesc": "Sets GPS lataral offset encoding\n", "max": 7, "min": 0, "name": "ADSB_GPS_OFF_LAT", "rebootRequired": true, "shortDesc": "ADSB-Out GPS Offset lat", "type": "Int32", "values": [{"description": "NoData", "value": 0}, {"description": "LatLeft2M", "value": 1}, {"description": "LatLeft4M", "value": 2}, {"description": "LatLeft6M", "value": 3}, {"description": "LatRight0M", "value": 4}, {"description": "LatRight2M", "value": 5}, {"description": "LatRight4M", "value": 6}, {"description": "LatRight6M", "value": 7}]}, {"category": "Standard", "default": 0, "group": "ADSB", "longDesc": "Sets GPS longitudinal offset encoding\n", "max": 1, "min": 0, "name": "ADSB_GPS_OFF_LON", "rebootRequired": true, "shortDesc": "ADSB-Out GPS Offset lon", "type": "Int32", "values": [{"description": "NoData", "value": 0}, {"description": "AppliedBySensor", "value": 1}]}, {"category": "Standard", "default": -1, "group": "ADSB", "longDesc": "Vehicle ICAO ID. Use -1 to disable.\n", "max": 16777215, "min": -1, "name": "ADSB_ICAO_ID", "rebootRequired": true, "shortDesc": "ADSB-Out ICAO ID", "type": "Int32"}, {"category": "Standard", "default": -1, "group": "ADSB", "longDesc": "Optional second ownship ICAO ID used to filter self-detections. Use -1 to disable.\n", "max": 16777215, "min": -1, "name": "ADSB_ICAO_ID_2", "rebootRequired": true, "shortDesc": "Secondary ownship ICAO ID", "type": "Int32"}, {"category": "Standard", "default": 0, "group": "ADSB", "longDesc": "This vehicle is always tracked. Use 0 to disable.\n", "max": 16777215, "min": 0, "name": "ADSB_ICAO_SPECL", "rebootRequired": true, "shortDesc": "ADSB-In Special ICAO configuration", "type": "Int32"}, {"category": "Standard", "default": 0, "group": "ADSB", "longDesc": "Enable Identification of Position feature\n", "name": "ADSB_IDENT", "rebootRequired": true, "shortDesc": "ADSB-Out Ident Configuration", "type": "Int32", "values": [{"description": "Disabled", "value": 0}, {"description": "Enabled", "value": 1}]}, {"category": "Standard", "default": 1, "group": "ADSB", "longDesc": "Report the length and width of the vehicle in meters. In most cases, use '1' for the smallest vehicle size.\n", "max": 15, "min": 0, "name": "ADSB_LEN_WIDTH", "rebootRequired": true, "shortDesc": "ADSB-Out Vehicle Size Configuration", "type": "Int32", "values": [{"description": "SizeUnknown", "value": 0}, {"description": "Len15_Wid23", "value": 1}, {"description": "Len25_Wid28", "value": 2}, {"description": "Len25_Wid34", "value": 3}, {"description": "Len35_Wid3Line truncated
{"parameters": [{"category": "Standard", "default": 0, "group": "ADSB", "longDesc": "Sets first 4 characters of a total of 8. Valid characters are A-Z, 0-9, \" \". Example \"PX4 \" -> 1347957792\nFor CALLSIGN shorter than 8 characters use the null terminator at the end '\\0'.\n", "name": "ADSB_CALLSIGN_1", "rebootRequired": true, "shortDesc": "First 4 characters of CALLSIGN", "type": "Int32"}, {"category": "Standard", "default": 0, "group": "ADSB", "longDesc": "Sets second 4 characters of a total of 8. Valid characters are A-Z, 0-9, \" \" only. Example \"TEST\" -> 1413829460\nFor CALLSIGN shorter than 8 characters use the null terminator at the end '\\0'.\n", "name": "ADSB_CALLSIGN_2", "rebootRequired": true, "shortDesc": "Second 4 characters of CALLSIGN", "type": "Int32"}, {"category": "Standard", "default": 0, "group": "ADSB", "longDesc": "Sets the vehicle emergency state\n", "max": 6, "min": 0, "name": "ADSB_EMERGC", "rebootRequired": true, "shortDesc": "ADSB-Out Emergency State", "type": "Int32", "values": [{"description": "NoEmergency", "value": 0}, {"description": "General", "value": 1}, {"description": "Medical", "value": 2}, {"description": "LowFuel", "value": 3}, {"description": "NoCommunications", "value": 4}, {"description": "Interference", "value": 5}, {"description": "Downed", "value": 6}]}, {"category": "Standard", "default": 14, "group": "ADSB", "longDesc": "Configure the emitter type of the vehicle.\n", "max": 19, "min": 0, "name": "ADSB_EMIT_TYPE", "rebootRequired": true, "shortDesc": "ADSB-Out Vehicle Emitter Type", "type": "Int32", "values": [{"description": "Unknown", "value": 0}, {"description": "Light", "value": 1}, {"description": "Small", "value": 2}, {"description": "Large", "value": 3}, {"description": "HighVortex", "value": 4}, {"description": "Heavy", "value": 5}, {"description": "Performance", "value": 6}, {"description": "Rotorcraft", "value": 7}, {"description": "RESERVED", "value": 8}, {"description": "Glider", "value": 9}, {"description": "LightAir", "value": 10}, {"description": "Parachute", "value": 11}, {"description": "UltraLight", "value": 12}, {"description": "RESERVED", "value": 13}, {"description": "UAV", "value": 14}, {"description": "Space", "value": 15}, {"description": "RESERVED", "value": 16}, {"description": "EmergencySurf", "value": 17}, {"description": "ServiceSurf", "value": 18}, {"description": "PointObstacle", "value": 19}]}, {"category": "Standard", "default": 0, "group": "ADSB", "longDesc": "Sets GPS lataral offset encoding\n", "max": 7, "min": 0, "name": "ADSB_GPS_OFF_LAT", "rebootRequired": true, "shortDesc": "ADSB-Out GPS Offset lat", "type": "Int32", "values": [{"description": "NoData", "value": 0}, {"description": "LatLeft2M", "value": 1}, {"description": "LatLeft4M", "value": 2}, {"description": "LatLeft6M", "value": 3}, {"description": "LatRight0M", "value": 4}, {"description": "LatRight2M", "value": 5}, {"description": "LatRight4M", "value": 6}, {"description": "LatRight6M", "value": 7}]}, {"category": "Standard", "default": 0, "group": "ADSB", "longDesc": "Sets GPS longitudinal offset encoding\n", "max": 1, "min": 0, "name": "ADSB_GPS_OFF_LON", "rebootRequired": true, "shortDesc": "ADSB-Out GPS Offset lon", "type": "Int32", "values": [{"description": "NoData", "value": 0}, {"description": "AppliedBySensor", "value": 1}]}, {"category": "Standard", "default": -1, "group": "ADSB", "longDesc": "Vehicle ICAO ID. Use -1 to disable.\n", "max": 16777215, "min": -1, "name": "ADSB_ICAO_ID", "rebootRequired": true, "shortDesc": "ADSB-Out ICAO ID", "type": "Int32"}, {"category": "Standard", "default": -1, "group": "ADSB", "longDesc": "Optional second ownship ICAO ID used to filter self-detections. Use -1 to disable.\n", "max": 16777215, "min": -1, "name": "ADSB_ICAO_ID_2", "rebootRequired": true, "shortDesc": "Secondary ownship ICAO ID", "type": "Int32"}, {"category": "Standard", "default": 0, "group": "ADSB", "longDesc": "This vehicle is always tracked. Use 0 to disable.\n", "max": 16777215, "min": 0, "name": "ADSB_ICAO_SPECL", "rebootRequired": true, "shortDesc": "ADSB-In Special ICAO configuration", "type": "Int32"}, {"category": "Standard", "default": 0, "group": "ADSB", "longDesc": "Enable Identification of Position feature\n", "name": "ADSB_IDENT", "rebootRequired": true, "shortDesc": "ADSB-Out Ident Configuration", "type": "Int32", "values": [{"description": "Disabled", "value": 0}, {"description": "Enabled", "value": 1}]}, {"category": "Standard", "default": 1, "group": "ADSB", "longDesc": "Report the length and width of the vehicle in meters. In most cases, use '1' for the smallest vehicle size.\n", "max": 15, "min": 0, "name": "ADSB_LEN_WIDTH", "rebootRequired": true, "shortDesc": "ADSB-Out Vehicle Size Configuration", "type": "Int32", "values": [{"description": "SizeUnknown", "value": 0}, {"description": "Len15_Wid23", "value": 1}, {"description": "Len25_Wid28", "value": 2}, {"description": "Len25_Wid34", "value": 3}, {"description": "Len35_Wid3Line truncated