gyrometer module

class gyrometer.Gyroscope

Bases: object

gyro_calibrate()

Calibrates gyroscope.

Sets a low-pass filter. Put at beginning of your program or before you use gyroscope commands if you want calibrated output.

gyro_x()

Gets the sensed x rotation.

Returns: The latest signed x rotation value

gyro_y()

Gets the sensed y rotation.

Returns: The latest signed y rotation value

gyro_z()

Gets the sensed z rotation.

Returns: The latest signed z rotation value