Files
PX4-Autopilot/docs/en/msg_docs/VehicleRatesSetpoint.md
PX4BuildBot be784e21f7 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-27 02:57:43 +00:00

50 lines
2.3 KiB
Markdown

---
pageClass: is-wide-page
---
# VehicleRatesSetpoint (UORB message)
**TOPICS:** vehicle_rates_setpoint
## Fields
| Name | Type | Unit [Frame] | Range/Enum | Description |
| --------------------------------------------- | ------------ | ------------ | ---------- | -------------------------------------------------------- |
| <a id="fld_timestamp"></a>timestamp | `uint64` | | | time since system start (microseconds) |
| <a id="fld_roll"></a>roll | `float32` | rad/s | | roll rate setpoint |
| <a id="fld_pitch"></a>pitch | `float32` | rad/s | | pitch rate setpoint |
| <a id="fld_yaw"></a>yaw | `float32` | rad/s | | yaw rate setpoint |
| <a id="fld_thrust_body"></a>thrust_body | `float32[3]` | | | Normalized thrust command in body NED frame [-1,1] |
| <a id="fld_reset_integral"></a>reset_integral | `bool` | | | Reset roll/pitch/yaw integrals (navigation logic change) |
## Constants
| Name | Type | Value | Description |
| --------------------------------------------- | -------- | ----- | ----------- |
| <a id="#MESSAGE_VERSION"></a> MESSAGE_VERSION | `uint32` | 0 |
## Source Message
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/versioned/VehicleRatesSetpoint.msg)
::: details Click here to see original file
```c
uint32 MESSAGE_VERSION = 0
uint64 timestamp # time since system start (microseconds)
# body angular rates in FRD frame
float32 roll # [rad/s] roll rate setpoint
float32 pitch # [rad/s] pitch rate setpoint
float32 yaw # [rad/s] yaw rate setpoint
# For clarification: For multicopters thrust_body[0] and thrust[1] are usually 0 and thrust[2] is the negative throttle demand.
# For fixed wings thrust_x is the throttle demand and thrust_y, thrust_z will usually be zero.
float32[3] thrust_body # Normalized thrust command in body NED frame [-1,1]
bool reset_integral # Reset roll/pitch/yaw integrals (navigation logic change)
```
:::