Single Sensor Static Interval Magnetometer Calibrator
Constructor.
Parameters
Android context.
Current device location. If location and timestamp are provided, calibration will be based on Earth's magnetic model.If no location and timestamp is provided, calibration will be based on measured magnetic flux density norm at current location.
Current timestamp.
Earth's magnetic model. Null to use default model.
One of the supported magnetometer sensor types.
Delay of sensor between samples.
true to automatically solve calibration once enough measurements are available, false otherwise.
listener to notify when initialization starts.
listener to notify when initialization completes.
listener to notify errors.
listener to notify when a guess of hard iron values is obtained.
listener to notify when a new calibration measurement is obtained.
listener to notify when calibrator is ready to be solved.
listener to notify when calibration solving starts.
listener to notify when calibration is successfully completed.
listener to notify when measurement collection stops.
mapper to convert collected measurements into quality scores, based on the amount ot standard deviation (the larger the variability, the worse the score will be).