onYpr

abstract fun onYpr(timestampMs: Long, yprData: YprData, calibrationStatus: CalibrationStatus)

Sensor fusion Yaw Pitch Roll data callback

Parameters

timestampMs

the frame timestamp

yprData

the fused sensors data in Yaw Pitch Roll 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