19 #ifndef UBUNTU_APPLICATION_SENSORS_ORIENTATION_EVENT_H_
20 #define UBUNTU_APPLICATION_SENSORS_ORIENTATION_EVENT_H_
44 UASOrientationEvent* event);
54 UASOrientationEvent* event,
65 UASOrientationEvent* event,
76 UASOrientationEvent* event,
UbuntuStatus
Indicates the status of an operation.
void UASOrientationEvent
Opaque type describing an orientation reading.
UBUNTU_DLL_PUBLIC UStatus uas_orientation_event_get_pitch(UASOrientationEvent *event, float *value)
Query the pitch (rotation around X-axis).
UBUNTU_DLL_PUBLIC uint64_t uas_orientation_event_get_timestamp(UASOrientationEvent *event)
Query the timestamp of the sensor reading.
#define UBUNTU_DLL_PUBLIC
UBUNTU_DLL_PUBLIC UStatus uas_orientation_event_get_roll(UASOrientationEvent *event, float *value)
Query the roll (rotation around Y-axis).
UBUNTU_DLL_PUBLIC UStatus uas_orientation_event_get_azimuth(UASOrientationEvent *event, float *value)
Query the azimuth (rotation around Z-axis).