Main Content

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

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. The ‘raw’ argument is to specify that the
output should be a uncalibrated raw data.`angularVelocityRaw`

= readAngularVelocity(`mysh`

,`'raw'`

)

`[`

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.

`clearLEDMatrix`

| `displayImage`

| `displayMessage`

| `raspi`

| `readAcceleration`

| `readAngularVelocity`

| `readHumidity`

| `readJoystick`

| `readMagneticField`

| `readPressure`

| `readTemperature`

| `sensehat`

| `writePixel`