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

Fields

data: Vec<u8>
field_def_num: u8

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.