Hauptinhalt

Current Position

R2026b

Reads current position

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 Current Position block outputs the vehicle's current position (in meters) with respect to the origin in the NED (North-East-Down) frame, which is a geographic coordinate system that is often used in navigation.

  • 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).

This block supports both ArduCopter and ArduPlane vehicle types.

Ports

Output

expand all

Vehicle's current 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

expand all