SensorOffsets class

Offsets and calibrations values for hardware sensors. This makes it easier to debug the calibration process.

SENSOR_OFFSETS

Implemented types

Constructors

SensorOffsets({required float magDeclination, required int32_t rawPress, required int32_t rawTemp, required float gyroCalX, required float gyroCalY, required float gyroCalZ, required float accelCalX, required float accelCalY, required float accelCalZ, required int16_t magOfsX, required int16_t magOfsY, required int16_t magOfsZ})
SensorOffsets.parse(ByteData data_)
factory

Properties

accelCalX float
Accel X calibration.
final
accelCalY float
Accel Y calibration.
final
accelCalZ float
Accel Z calibration.
final
gyroCalX float
Gyro X calibration.
final
gyroCalY float
Gyro Y calibration.
final
gyroCalZ float
Gyro Z calibration.
final
hashCode int
The hash code for this object.
no setterinherited
magDeclination float
Magnetic declination.
final
magOfsX int16_t
Magnetometer X offset.
final
magOfsY int16_t
Magnetometer Y offset.
final
magOfsZ int16_t
Magnetometer Z offset.
final
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
rawPress int32_t
Raw pressure from barometer.
final
rawTemp int32_t
Raw temperature from barometer.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() ByteData
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

mavlinkEncodedLength → const int