LEAP_IMU_EVENT

Type Alias LEAP_IMU_EVENT 

Source
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: i64

The timestamp for these measurements, in microseconds, referenced against LeapGetNow(). @since 4.1.0

§timestamp_hw: i64

The timestamp for these measurements, in microseconds, referenced against the device’s internal clock. @since 4.1.0

§flags: u32

A combination of eLeapIMUFlag flags. @since 4.1.0

§accelerometer: _LEAP_VECTOR

The accelerometer measurements, in m/s^2. @since 4.1.0

§gyroscope: _LEAP_VECTOR

The gyroscope measurements, in rad/s. @since 4.1.0

§temperature: f32

The measured temperature, in deg C. @since 4.1.0