# readAngularVelocity

Read angular velocity measured by the gyroscope along x, y, and z axes

**Add-On Required:** This feature requires the MATLAB
Support Package for Raspberry Pi Hardware add-on.

## Syntax

## Description

returns the angular velocity measured by the Gyroscope along the x, y, and the z axes.
The unit of measurement for the Gyroscope raw data is radians per second (rad/s). `angularVelocity`

= readAngularVelocity(`mysh`

)

`[`

returns the angular velocity measured by the Gyroscope along the x, y, and the z axes
with timestamp. The unit of measurement for the Gyroscope raw data is radians per second
(rad/s).`angularVelocity`

,`Ts`

]
= readAngularVelocity(`mysh`

)

`[`

returns the angular velocity measured by the Gyroscope along the x, y, and the z axes
with timestamp. The ‘raw’ argument is to specify that the output should be a
uncalibrated raw data.`angularVelocityRaw`

,`Ts`

]=
readAngularVelocity(`mysh`

,`'raw'`

)

The full scale range for the Gyroscope is 4.27606 rad/s.

Sense HAT IMU sensor axis information is shown below.

## Examples

## Input Arguments

## Output Arguments

## Extended Capabilities

## Version History

**Introduced in R2016b**