Main Content

Position Setpoint

Reads position 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 Position Setpoint block outputs the vehicle's desired position (in meters) with respect to the origin in the NED (North-East-Down) frame, which is a coordinate system used in navigation. This is used to describe the position relative to a reference point, typically the starting location of the vehicle.

  • North (N): Positive direction points towards the North (geographical north).

  • East (E): Positive direction points towards the East (perpendicular to North, in the horizontal plane).

  • Down (D): Positive direction points downward, towards the Earth's center (vertical component).

The position setpoint is decided by ArduPilot's guidance system based on the current flight mode. The flight mode determines how the vehicle should behave and where it should go, with the guidance system updating the setpoint to reflect the target position.

Limitations

  • This block is not supported in triggered subsystems.

Ports

Output

expand all

Vehicle's desired position (in meters) with respect to the origin in the NED (North-East-Down) frame

Data Types: single

Parameters

expand all

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

Version History

Introduced in R2026a