Main Content

Attitude Setpoint

Reads attitude setpoint

Since R2026a

Libraries:
UAV Toolbox Support Package for ArduPilot Autopilots / Controller Interface Blocks

Description

Add-On Required: This feature requires the UAV Toolbox Support Package for ArduPilot Autopilots add-on.

The block outputs the attitude setpoint for the vehicle as set by ArduPilot's position controller.

Limitations

  • This block is not supported in triggered subsystems.

Ports

Output

expand all

Attitude setpoint for the vehicle from the ArduPilot's position controller.

Data Types: single

Parameters

expand all

Select the output format for the attitude setpoint. This parameter allows you to choose between representing the attitude as Euler angles or as a Quaternion.

  • Euler (ZYX): Select this option to output the attitude setpoint in Euler angles format, using the ZYX convention, which represents the rotation in roll, pitch, and yaw angles.

  • Quaternion (WXYZ): Select this option to output the attitude in quaternion format, which consists of a four-part hyper-complex number (W, X, Y, Z).

The time interval at which the block reads values from the ArduPilot autopilot.

Version History

Introduced in R2026a