pub struct ImuSample { /* private fields */ }Implementations§
Source§impl ImuSample
impl ImuSample
Sourcepub fn temperature(&self) -> f32
pub fn temperature(&self) -> f32
< Temperature reading of this sample (Celsius).
Sourcepub fn acc_sample(&self) -> Float3
pub fn acc_sample(&self) -> Float3
< Accelerometer sample in meters per second squared.
Sourcepub fn acc_timestamp_usec(&self) -> u64
pub fn acc_timestamp_usec(&self) -> u64
< Timestamp of the accelerometer in microseconds.
Sourcepub fn gyro_sample(&self) -> Float3
pub fn gyro_sample(&self) -> Float3
< Gyro sample in radians per second.
Sourcepub fn gyro_timestamp_usec(&self) -> u64
pub fn gyro_timestamp_usec(&self) -> u64
< Timestamp of the gyroscope in microseconds
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImuSample
impl RefUnwindSafe for ImuSample
impl Send for ImuSample
impl Sync for ImuSample
impl Unpin for ImuSample
impl UnwindSafe for ImuSample
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more