Enum garminfit::profile::messages::GyroscopeData
source · pub enum GyroscopeData {
Timestamp(Field<DateTime>),
TimestampMs(Field<Uint16>),
SampleTimeOffset(Field<Uint16>),
GyroX(Field<Uint16>),
GyroY(Field<Uint16>),
GyroZ(Field<Uint16>),
CalibratedGyroX(Field<Float32>),
CalibratedGyroY(Field<Float32>),
CalibratedGyroZ(Field<Float32>),
Unknown {
data: Vec<u8>,
field_def_num: u8,
},
}
Variants
Timestamp(Field<DateTime>)
Whole second part of the timestamp
TimestampMs(Field<Uint16>)
Millisecond part of the timestamp.
SampleTimeOffset(Field<Uint16>)
Each time in the array describes the time at which the gyro sample with the corrosponding index was taken. Limited to 30 samples in each message. The samples may span across seconds. Array size must match the number of samples in gyro_x and gyro_y and gyro_z
GyroX(Field<Uint16>)
These are the raw ADC reading. Maximum number of samples is 30 in each message. The samples may span across seconds. A conversion will need to be done on this data once read.
GyroY(Field<Uint16>)
These are the raw ADC reading. Maximum number of samples is 30 in each message. The samples may span across seconds. A conversion will need to be done on this data once read.
GyroZ(Field<Uint16>)
These are the raw ADC reading. Maximum number of samples is 30 in each message. The samples may span across seconds. A conversion will need to be done on this data once read.
CalibratedGyroX(Field<Float32>)
Calibrated gyro reading
CalibratedGyroY(Field<Float32>)
Calibrated gyro reading
CalibratedGyroZ(Field<Float32>)
Calibrated gyro reading