主要内容

Position Setpoint

R2026b

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 toward the North (geographical north).

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

  • Down (D): Positive direction points downward, toward 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.

This block supports only ArduCopter vehicle types.

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