方言:paparazzi
This is a human-readable form of the XML definition file: paparazzi.
MAVLink 2 有一个 ID > 255的消息,并在其描述中使用 (MAVLink 2) 进行标记。
已添加到 MAVLink 1 消息中的 MAVLink 2 扩展字段以蓝色显示。
MAVLink Include Files: common.xml
MAVLink 协议版本
当前的MAVLink版本是2.3。 二级版本号(点后)的范围是1-255。
MAVLink 枚举类型
MAVLink Commands (MAV_CMD)
MAVLink commands (MAV_CMD) and messages are different! 这些命令定义了最多7个参数的值,这些参数打包在“任务协议”和“命令协议”中使用的 INSIDE 特定消息中。 执行任务或者需要从请求中确认和/或重试逻辑时使用命令。 否则使用消息。
MAVLink 消息
SCRIPT_ITEM ( #180 )
[Message] 消息编码任务脚本项。 此消息在请求下一个脚本项时发出。
字段名称 | 类型 | 参数描述 |
---|---|---|
target_system | uint8_t | 系统 ID |
target_component | uint8_t | 组件 ID |
seq | uint16_t | 序列 |
name | char[50] | 任务脚本的名称,空终止符。 |
SCRIPT_REQUEST ( #181 )
[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 | 序列 |
SCRIPT_REQUEST_LIST ( #182 )
[Message] 请求系统/组件提供任务项的总体列表。
字段名称 | 类型 | 参数描述 |
---|---|---|
target_system | uint8_t | 系统 ID |
target_component | uint8_t | 组件 ID |
SCRIPT_COUNT ( #183 )
[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 | 序列中的脚本项数 |
SCRIPT_CURRENT ( #184 )
[Message] 该消息通知有关当前活动的 SCRIPT。
字段名称 | 类型 | 参数描述 |
---|---|---|
seq | uint16_t | 活动序列 |