pub enum ThreeDSensorCalibration {
    Timestamp(Field<DateTime>),
    SensorType(Field<SensorType>),
    CalibrationFactor(Field<Uint32>),
    CalibrationDivisor(Field<Uint32>),
    LevelShift(Field<Uint32>),
    OffsetCal(Field<Sint32>),
    OrientationMatrix(Field<Sint32>),
    Unknown {
        data: Vec<u8>,
        field_def_num: u8,
    },
}

Variants

Timestamp(Field<DateTime>)

Whole second part of the timestamp

SensorType(Field<SensorType>)

Indicates which sensor the calibration is for

CalibrationFactor(Field<Uint32>)

Calibration factor used to convert from raw ADC value to degrees, g, etc.

CalibrationDivisor(Field<Uint32>)

Calibration factor divisor

LevelShift(Field<Uint32>)

Level shift value used to shift the ADC value back into range

OffsetCal(Field<Sint32>)

Internal calibration factors, one for each: xy, yx, zx

OrientationMatrix(Field<Sint32>)

3 x 3 rotation matrix (row major)

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.