pub type LEAP_IMU_EVENT = _LEAP_IMU_EVENT;Aliased Type§
#[repr(C, packed(1))]pub struct LEAP_IMU_EVENT {
pub timestamp: i64,
pub timestamp_hw: i64,
pub flags: u32,
pub accelerometer: _LEAP_VECTOR,
pub gyroscope: _LEAP_VECTOR,
pub temperature: f32,
}Fields§
§timestamp: i64The timestamp for these measurements, in microseconds, referenced against LeapGetNow(). @since 4.1.0
timestamp_hw: i64The timestamp for these measurements, in microseconds, referenced against the device’s internal clock. @since 4.1.0
flags: u32A combination of eLeapIMUFlag flags. @since 4.1.0
accelerometer: _LEAP_VECTORThe accelerometer measurements, in m/s^2. @since 4.1.0
gyroscope: _LEAP_VECTORThe gyroscope measurements, in rad/s. @since 4.1.0
temperature: f32The measured temperature, in deg C. @since 4.1.0