pub struct InertialSensorData {
pub status: InertialSensorStatus,
pub quaternion: InertialSensorQuaternion,
pub euler: InertialSensorEuler,
pub gyro_rate: InertialSensorRaw,
pub accel: InertialSensorRaw,
}Expand description
Represents the data that can be read from an inertial sensor.
Fields§
§status: InertialSensorStatusThe status of the inertial sensor.
quaternion: InertialSensorQuaternionThe quaternion representing the rotation of the inertial sensor.
euler: InertialSensorEulerThe Euler angles representing the rotation of the inertial sensor.
gyro_rate: InertialSensorRawThe raw gyroscope values of the inertial sensor.
accel: InertialSensorRawThe raw accelerometer values of the inertial sensor.
Trait Implementations§
Source§impl Clone for InertialSensorData
impl Clone for InertialSensorData
Source§fn clone(&self) -> InertialSensorData
fn clone(&self) -> InertialSensorData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InertialSensorData
impl Debug for InertialSensorData
Source§impl PartialEq for InertialSensorData
impl PartialEq for InertialSensorData
impl Copy for InertialSensorData
impl StructuralPartialEq for InertialSensorData
Auto Trait Implementations§
impl Freeze for InertialSensorData
impl RefUnwindSafe for InertialSensorData
impl Send for InertialSensorData
impl Sync for InertialSensorData
impl Unpin for InertialSensorData
impl UnwindSafe for InertialSensorData
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