UBot Attitude Commandable
接受姿态和机体角速度指令的接口,由飞行器实现,独立于执行器接口。
Apply Attitude Command
Section titled “Apply Attitude Command”Apply Attitude CommandTarget is UBot Attitude CommandableTargetCommandReturn Value
应用一条姿态指令。指令被拒绝时(没有就绪、飞行器不接受、数值无效等)返回 false。
| 引脚 | 方向 | 类型 |
|---|---|---|
| Command | 输入 | UBot Attitude Command结构体 |
| Return Value | 输出 | Boolean |
Apply Body Rate Command
Section titled “Apply Body Rate Command”Apply Body Rate CommandTarget is UBot Attitude CommandableTargetCommandReturn Value
应用一条机体角速度指令。指令被拒绝时(没有就绪、飞行器不接受、数值无效等)返回 false。
| 引脚 | 方向 | 类型 |
|---|---|---|
| Command | 输入 | UBot Body Rate Command结构体 |
| Return Value | 输出 | Boolean |
Release Attitude Command
Section titled “Release Attitude Command”Release Attitude CommandTarget is UBot Attitude CommandableTarget
发送方已停止发送(比如指令超时);飞行器退回自己的默认行为,例如悬停。