12#include <android/sensor.h>
53android_device_create(
void);
62#define ANDROID_TRACE(d, ...) U_LOG_XDEV_IFL_T(&d->base, d->log_level, __VA_ARGS__)
63#define ANDROID_DEBUG(d, ...) U_LOG_XDEV_IFL_D(&d->base, d->log_level, __VA_ARGS__)
64#define ANDROID_INFO(d, ...) U_LOG_XDEV_IFL_I(&d->base, d->log_level, __VA_ARGS__)
65#define ANDROID_WARN(d, ...) U_LOG_XDEV_IFL_W(&d->base, d->log_level, __VA_ARGS__)
66#define ANDROID_ERROR(d, ...) U_LOG_XDEV_IFL_E(&d->base, d->log_level, __VA_ARGS__)
u_logging_level
Logging level enum.
Definition u_logging.h:45
C interface to math library.
A IMU fusion specially made for 3dof devices.
Wrapper around OS threading native functions.
Definition android_sensors.h:33
struct os_mutex lock
Lock for last_accel and fusion.
Definition android_sensors.h:42
struct xrt_vec3 last_accel
Latest accelerometer sample, fed to the fusion on each gyro update.
Definition android_sensors.h:45
Definition m_imu_3dof.h:35
A wrapper around a native mutex.
Definition os_threading.h:69
All in one helper that handles locking, waiting for change and starting a thread.
Definition os_threading.h:500
Both given and derived values needed for cardboard distortion.
Definition u_distortion.h:106
A single HMD or input device.
Definition xrt_device.h:357
A 3 element vector with single floats.
Definition xrt_defines.h:310
Code to handle distortion parameters and fov.
Basic logging functionality.
Header defining an xrt display or controller device.