Main Content

Current Ang Velocity

R2026b

Reads current angular velocity

Since R2026a

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

Description

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

The Current Ang Velocity block outputs the angular velocities (in rad/s) along the x-, y-, and z- axes as measured by the vehicle's gyroscope.

This block supports both ArduCopter and ArduPlane vehicle types.

Ports

Output

expand all

Current Angular velocity along the -x, -y, and -z axes as measured by the vehicle's gyroscope.

Data Types: single

Parameters

expand all

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

Programmatic Use: Add Block

To add the block programmatically, use the add_block function with one of these library block paths as the source.

"ardupilotCommonlib/Current Ang Velocity"

Example: add_block("ardupilotCommonlib/Current Ang Velocity","myModel/myBlock",MakeNameUnique="on")

Version History

Introduced in R2026a

expand all