MAVLink Include Files: common.xml
当前的MAVLink版本是2.3。 二级版本号(点后)的范围是1-255。
MAVLink commands (MAV_CMD) and messages are different! 这些命令定义了最多7个参数的值,这些参数打包在“任务协议”和“命令协议”中使用的 INSIDE 特定消息中。 执行任务或者需要从请求中确认和/或重试逻辑时使用命令。 否则使用消息。
[Message] 消息编码任务脚本项。 此消息在请求下一个脚本项时发出。
| 字段名称 | 类型 | 参数描述 |
|---|---|---|
| target_system | uint8_t | 系统 ID |
| target_component | uint8_t | 组件 ID |
| seq | uint16_t | 序列 |
| name | char[50] | 任务脚本的名称,空终止符。 |
[Message] 请求序列号为 seq 的脚本项。 The response of the system to this message should be a SCRIPT_ITEM message.
| 字段名称 | 类型 | 参数描述 |
|---|---|---|
| target_system | uint8_t | 系统 ID |
| target_component | uint8_t | 组件 ID |
| seq | uint16_t | 序列 |
[Message] 请求系统/组件提供任务项的总体列表。
| 字段名称 | 类型 | 参数描述 |
|---|---|---|
| target_system | uint8_t | 系统 ID |
| target_component | uint8_t | 组件 ID |
[Message] This message is emitted as response to SCRIPT_REQUEST_LIST by the MAV to get the number of mission scripts.
| 字段名称 | 类型 | 参数描述 |
|---|---|---|
| target_system | uint8_t | 系统 ID |
| target_component | uint8_t | 组件 ID |
| count | uint16_t | 序列中的脚本项数 |
[Message] 该消息通知有关当前活动的 SCRIPT。
| 字段名称 | 类型 | 参数描述 |
|---|---|---|
| seq | uint16_t | 活动序列 |