#include <ubuntu/visibility.h>
#include <stdint.h>
Go to the source code of this file.
Opaque type describing an orientation reading.
Definition at line 34 of file orientation.h.
Query the azimuth (rotation around Z-axis).
- Returns
- U_STATUS_SUCCESS if the updates were successfully started on the service side, else U_STATUS_ERROR.
- Parameters
-
[out] | value | The reading to be queried. |
Query the pitch (rotation around X-axis).
- Returns
- U_STATUS_SUCCESS if the updates were successfully started on the service side, else U_STATUS_ERROR.
- Parameters
-
[out] | value | The reading to be queried. |
Query the roll (rotation around Y-axis).
- Returns
- U_STATUS_SUCCESS if the updates were successfully started on the service side, else U_STATUS_ERROR.
- Parameters
-
[out] | value | 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. |