MagCalReport class

Reports results of completed compass calibration. Sent until MAG_CAL_ACK received.

MAG_CAL_REPORT

Implemented types

Constructors

MagCalReport({required float fitness, required float ofsX, required float ofsY, required float ofsZ, required float diagX, required float diagY, required float diagZ, required float offdiagX, required float offdiagY, required float offdiagZ, required uint8_t compassId, required uint8_t calMask, required MagCalStatus calStatus, required uint8_t autosaved, required float orientationConfidence, required MavSensorOrientation oldOrientation, required MavSensorOrientation newOrientation, required float scaleFactor})
MagCalReport.parse(ByteData data_)
factory

Properties

autosaved uint8_t
0=requires a MAV_CMD_DO_ACCEPT_MAG_CAL, 1=saved to parameters.
final
calMask uint8_t
Bitmask of compasses being calibrated.
final
calStatus MagCalStatus
Calibration Status.
final
compassId uint8_t
Compass being calibrated.
final
diagX float
X diagonal (matrix 11).
final
diagY float
Y diagonal (matrix 22).
final
diagZ float
Z diagonal (matrix 33).
final
fitness float
RMS milligauss residuals.
final
hashCode int
The hash code for this object.
no setterinherited
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
newOrientation MavSensorOrientation
orientation after calibration.
final
offdiagX float
X off-diagonal (matrix 12 and 21).
final
offdiagY float
Y off-diagonal (matrix 13 and 31).
final
offdiagZ float
Z off-diagonal (matrix 32 and 23).
final
ofsX float
X offset.
final
ofsY float
Y offset.
final
ofsZ float
Z offset.
final
oldOrientation MavSensorOrientation
orientation before calibration.
final
orientationConfidence float
Confidence in orientation (higher is better).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleFactor float
field radius correction factor
final

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