mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
xrt: Add xrt_imu_sample
This commit is contained in:
parent
de3bfc193d
commit
92fc2784e1
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue