Files
PX4-Autopilot/docs/en/msg_docs/VehicleRatesSetpoint.md
PX4BuildBot d965df930c docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-02-23 18:34:11 +00:00

2.1 KiB

pageClass
pageClass
is-wide-page

VehicleRatesSetpoint (UORB message)

TOPICS: vehicle_rates_setpoint

Fields

Name Type Unit [Frame] Range/Enum Description
timestamp uint64 time since system start (microseconds)
roll float32 rad/s roll rate setpoint
pitch float32 rad/s pitch rate setpoint
yaw float32 rad/s yaw rate setpoint
thrust_body float32[3] Normalized thrust command in body NED frame [-1,1]
reset_integral bool Reset roll/pitch/yaw integrals (navigation logic change)

Constants

Name Type Value Description
MESSAGE_VERSION uint32 0

Source Message

Source file (GitHub)

::: details Click here to see original file

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)

:::