MAVLink Include Files: common.xml
The current MAVLink version is 2.3. The minor version numbers (after the dot) range from 1-255.
MAVLink commands (MAV_CMD) and messages are different! These commands define the values of up to 7 parameters that are packaged INSIDE specific messages used in the Mission Protocol and Command Protocol. Use commands for actions in missions or if you need acknowledgment and/or retry logic from a request. Otherwise use messages.
[Message] Message encoding a mission script item. This message is emitted upon a request for the next script item.
| Field Name | Type | Description |
|---|---|---|
| target_system | uint8_t | System ID |
| target_component | uint8_t | Component ID |
| seq | uint16_t | Sequence |
| name | char[50] | The name of the mission script, NULL terminated. |
[Message] Request script item with the sequence number seq. The response of the system to this message should be a SCRIPT_ITEM message.
| Field Name | Type | Description |
|---|---|---|
| target_system | uint8_t | System ID |
| target_component | uint8_t | Component ID |
| seq | uint16_t | Sequence |
[Message] Request the overall list of mission items from the system/component.
| Field Name | Type | Description |
|---|---|---|
| target_system | uint8_t | System ID |
| target_component | uint8_t | Component ID |
[Message] This message is emitted as response to SCRIPT_REQUEST_LIST by the MAV to get the number of mission scripts.
| Field Name | Type | Description |
|---|---|---|
| target_system | uint8_t | System ID |
| target_component | uint8_t | Component ID |
| count | uint16_t | Number of script items in the sequence |
[Message] This message informs about the currently active SCRIPT.
| Field Name | Type | Description |
|---|---|---|
| seq | uint16_t | Active Sequence |