Ubuntu Platform API
3.0.0
A library helping with tight integration into the Ubuntu platform
|
|
Go to the documentation of this file.
19 #ifndef UBUNTU_APPLICATION_SENSORS_GYROSCOPE_EVENT_H_
20 #define UBUNTU_APPLICATION_SENSORS_GYROSCOPE_EVENT_H_
86 #endif // UBUNTU_APPLICATION_SENSORS_GYROSCOPE_EVENT_H_
UbuntuStatus
Indicates the status of an operation.
#define UBUNTU_DLL_PUBLIC
UBUNTU_DLL_PUBLIC uint64_t uas_gyroscope_event_get_timestamp(UASGyroscopeEvent *event)
Query the timestamp of the sensor reading.
UBUNTU_DLL_PUBLIC UStatus uas_gyroscope_event_get_rate_of_rotation_around_y(UASGyroscopeEvent *event, float *value)
Query the rate of rotation around the y-axis.
void UASGyroscopeEvent
Opaque type describing a gyroscope reading.
UBUNTU_DLL_PUBLIC UStatus uas_gyroscope_event_get_rate_of_rotation_around_z(UASGyroscopeEvent *event, float *value)
Query the rate of rotation around the z-axis.
UBUNTU_DLL_PUBLIC UStatus uas_gyroscope_event_get_rate_of_rotation_around_x(UASGyroscopeEvent *event, float *value)
Query the rate of rotation around the x-axis.