on Quaternion
abstract fun onQuaternion(timestampMs: Long, quaternionsData: QuaternionData, calibrationStatus: CalibrationStatus)
Sensor fusion Quaternions data callback
Parameters
timestamp Ms
the frame timestamp
quaternions Data
the fused sensors data in Quaternions format
calibration Status
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