Enum garminfit::profile::messages::AviationAttitude
source · pub enum AviationAttitude {
Show 13 variants
Timestamp(Field<DateTime>),
TimestampMs(Field<Uint16>),
SystemTime(Field<Uint32>),
Pitch(Field<Sint16>),
Roll(Field<Sint16>),
AccelLateral(Field<Sint16>),
AccelNormal(Field<Sint16>),
TurnRate(Field<Sint16>),
Stage(Field<AttitudeStage>),
AttitudeStageComplete(Field<Uint8>),
Track(Field<Uint16>),
Validity(Field<AttitudeValidity>),
Unknown {
data: Vec<u8>,
field_def_num: u8,
},
}
Variants
Timestamp(Field<DateTime>)
Timestamp message was output
TimestampMs(Field<Uint16>)
Fractional part of timestamp, added to timestamp
SystemTime(Field<Uint32>)
System time associated with sample expressed in ms.
Pitch(Field<Sint16>)
Range -PI/2 to +PI/2
Roll(Field<Sint16>)
Range -PI to +PI
AccelLateral(Field<Sint16>)
Range -78.4 to +78.4 (-8 Gs to 8 Gs)
AccelNormal(Field<Sint16>)
Range -78.4 to +78.4 (-8 Gs to 8 Gs)
TurnRate(Field<Sint16>)
Range -8.727 to +8.727 (-500 degs/sec to +500 degs/sec)
Stage(Field<AttitudeStage>)
AttitudeStageComplete(Field<Uint8>)
The percent complete of the current attitude stage. Set to 0 for attitude stages 0, 1 and 2 and to 100 for attitude stage 3 by AHRS modules that do not support it. Range - 100
Track(Field<Uint16>)
Track Angle/Heading Range 0 - 2pi
Validity(Field<AttitudeValidity>)
Unknown
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AviationAttitude
impl Send for AviationAttitude
impl Sync for AviationAttitude
impl Unpin for AviationAttitude
impl UnwindSafe for AviationAttitude
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more