#include <ubuntu/visibility.h>
#include <stdint.h>
Go to the source code of this file.
Opaque type describing a gyroscope reading.
Definition at line 34 of file gyroscope.h.
Query the rate of rotation around the x-axis.
- Returns
- The rate of rotation around the x-axis in radians per second. Positive values indicate counter-clockwise rotation
- Parameters
-
[in] | event | The reading to be queried. |
Query the rate of rotation around the y-axis.
- Returns
- The rate of rotation around the y-axis in radians per second. Positive values indicate counter-clockwise rotation
- Parameters
-
[in] | event | The reading to be queried. |
Query the rate of rotation around the z-axis.
- Returns
- The rate of rotation around the z-axis in radians per second. Positive values indicate counter-clockwise rotation
- Parameters
-
[in] | event | The reading to be queried. |
Query the timestamp of the sensor reading.
- Returns
- The timestamp of the sensor reading in [µs], timebase: monotonic clock.
- Parameters
-
[in] | event | The reading to be queried. |