Module gyroscope

Module gyroscope 

Source

Structs§

AngularVelocity
Angular velocity around three axes in radians per second.

Functions§

get_angular_velocity
Reads the current angular velocity values.
on_changed
Registers a callback for gyroscopeChanged event.
on_failed
Registers a callback for gyroscopeFailed event.
on_started
Registers a callback for gyroscopeStarted event.
on_stopped
Registers a callback for gyroscopeStopped event.
start
Starts the gyroscope.
stop
Stops the gyroscope.