跳转到内容

UBot Body Rate Command

C++
FUBotBodyRateCommand
模块
UBotCore · UBotCore 0.1.2
节点
Break · Make
头文件
Source/UBotCore/Public/UBotActuatorInterface.h

飞行器的机体角速度请求:机体角速度,加推力或爬升速度。

字段类型蓝图说明
Body Rate Radians Per SecondBodyRateRadiansPerSecondVector读写期望的机体系角速度,用 UE 的坐标轴和旋转方向(+Z 是向右偏航),单位 rad/s。
Use ThrustbUseThrustBoolean读写为 true 时使用 Normalized Thrust;否则由接收者自己调节推力,以达到 Vertical Velocity。
Normalized ThrustNormalizedThrustFloat (double)读写总推力占飞行器最大总推力的比例,范围 0 到 1。
Vertical Velocity Meters Per SecondVerticalVelocityMetersPerSecondFloat (double)读写不使用推力时的爬升速度,单位 m/s,向上为正;0 表示保持高度。
Timestamp SecondsTimestampSecondsFloat (double)读写发出指令时的仿真时间,单位秒。
SourceSourceName读写来源标签,格式自由,比如 ROS、MCP、Blueprint。

拆分结构体 · Break:FUBotBodyRateCommand

把 UBot Body Rate Command 拆成机体角速度、推力、时间戳和来源等字段。

引脚方向类型说明
UBot Body Rate Command输入UBot Body Rate Command结构体
Body Rate Radians Per Second输出VectorDesired angular velocity in the body frame, UE axes and UE rotation sense (+Z = yaw to the right), rad/s.
Use ThrustbUseThrust输出BooleanUse Normalized Thrust. Otherwise the receiver sets the thrust itself to fly Vertical Velocity.
Normalized Thrust高级输出Float (double)Collective thrust as a share of the vehicle's maximum, 0..1.
Vertical Velocity Meters Per Second高级输出Float (double)Climb rate when Use Thrust is not set, m/s (+ up). 0 holds the altitude.
Timestamp Seconds高级输出Float (double)uBot sim time at which the command was issued.
Source高级输出NameFree-form origin tag, e.g. "ROS", "MCP", "Blueprint".

构造结构体 · Make:FUBotBodyRateCommand

用机体角速度、推力、时间戳和来源等字段构造一个 UBot Body Rate Command。

引脚方向类型默认值说明
Body Rate Radians Per Second输入Vector0.000000,0.000000,0.000000Desired angular velocity in the body frame, UE axes and UE rotation sense (+Z = yaw to the right), rad/s.
Use ThrustbUseThrust输入BooleanfalseUse Normalized Thrust. Otherwise the receiver sets the thrust itself to fly Vertical Velocity.
Normalized Thrust高级输入Float (double)0.0Collective thrust as a share of the vehicle's maximum, 0..1.
Vertical Velocity Meters Per Second高级输入Float (double)0.0Climb rate when Use Thrust is not set, m/s (+ up). 0 holds the altitude.
Timestamp Seconds高级输入Float (double)0.0uBot sim time at which the command was issued.
Source高级输入NameNoneFree-form origin tag, e.g. "ROS", "MCP", "Blueprint".
UBot Body Rate Command输出UBot Body Rate Command结构体