onQuaternion
abstract fun onQuaternion(timestampMs: Long, quaternionsData: QuaternionData, calibrationStatus: CalibrationStatus)
Sensor fusion Quaternions data callback
Parameters
timestampMs
the frame timestamp
quaternionsData
the fused sensors data in Quaternions format
calibrationStatus
current system calibration status, system will try to auto calibrate in the presence of a local magnetism interference
In the presence of a local magnetism the system will enter the CalibrationStatus.Required till auto self calibration will start. During self auto calibration system will enter the CalibrationStatus.InProgress state If calibration is completed with out errors system will return to CalibrationStatus.Calibrated state. In case of an unexpected error system stay on CalibrationStatus.Required which means the the Los Data in unreliable