xrt: Add xrt_imu_sample

This commit is contained in:
Mateo de Mayo 2021-08-20 20:19:42 -03:00 committed by Jakob Bornecrantz
parent de3bfc193d
commit 92fc2784e1

View file

@ -115,6 +115,7 @@ struct xrt_tracking_factory
/*!
* IMU Sample.
* @todo Replace with @ref xrt_imu_sample
*/
struct xrt_tracking_sample
{
@ -122,6 +123,16 @@ struct xrt_tracking_sample
struct xrt_vec3 gyro_rad_secs;
};
/*!
* IMU Sample.
* @todo Make @ref xrt_tracked_psmv and @ref xrt_tracked_psvr use this
*/
struct xrt_imu_sample
{
timepoint_ns timestamp;
double ax, ay, az, wx, wy, wz;
};
/*!
* @interface xrt_tracked_psmv
*