Single Sensor Static Interval Accelerometer Calibrator
Constructor.
Parameters
Android context.
One of the supported accelerometer sensor types.
Delay of sensor between samples.
true to automatically solve calibration once enough measurements are available, false otherwise.
true if estimated bias is assumed to be the true value, false if estimated bias is assumed to be only an initial guess. When sensorType is AccelerometerSensorType.ACCELEROMETER, bias guess is zero, otherwise when it is AccelerometerSensorType.ACCELEROMETER_UNCALIBRATED, bias guess is the device calibrated values.
location where device is located at. When location is provided, gravity norm is assumed to be the theoretical value determined by WGS84 Earth model, otherwise, if no location is provided, gravity norm is estimated using a gravity sensor.
listener to notify when initialization starts.
listener to notify when initialization completes.
listener to notify errors.
listener to notify when gravity norm estimation becomes unreliable. This is only used if no location is provided.
listener to notify when a guess of bias 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 of standard deviation (the larger the variability, the worse the score will be).