PX4 Write Thrust & Torque Setpoint
Add-On Required: This feature requires the UAV Toolbox Support Package for PX4 Autopilots add-on.
Libraries:
UAV Toolbox Support Package for PX4 Autopilots /
PX4 Utility Blocks
Description
The block writes motor and servo actuator values by directly publishing thrust and
torque setpoints to the vehicle_thrust_setpoint
and
vehicle_torque_setpoint
uORB topics. This block accepts two inputs,
thrust and torque, each as a 1-by-3 vector. The thrust setpoint is along, and the torque
setpoint is about, the x-, y-, and
z- body axes. Both inputs are normalized to the range
[-1,1]
in the vehicle body FRD frame.
Examples
Ports
Input
Version History
Introduced in R2025a