Static Interval Accelerometer And Gyroscope Calibrator
Constructor.
Parameters
Android context.
One of the supported accelerometer sensor types.
One of the supported gyroscope sensor types.
Delay of accelerometer sensor between samples.
Delay of gyroscope sensor between samples.
true to automatically solve calibration once enough measurements are available, false otherwise.
true if estimated accelerometer bias is assumed to be the true value, false if estimated bias is assumed to be only an initial guess. When accelerometerSensorType is AccelerometerSensorType.ACCELEROMETER, bias guess is zero, otherwise when it is AccelerometerSensorType.ACCELEROMETER_UNCALIBRATED, bias guess is the device calibrated values.
true if estimated gyroscope bias is assumed to be the true value, false if estimated bias is assumed to be only an initial guess. When gyroscopeSensorType is GyroscopeSensorType.GYROSCOPE, bias guess is zero, otherwise when it is GyroscopeSensorType.GYROSCOPE_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 a static interval is detected.
listener to notify when a dynamic interval is detected.
listener to notify when a static interval is skipped if its duration is too short.
listener to notify when a dynamic interval is skipped if its duration is too long.
listener to notify when a new accelerometer calibration measurement is generated.
listener to notify when a new gyroscope calibration measurement is generated.
listener to notify when enough measurements have been collected and calibrator is ready to solve calibration.
listener to notify when calibration solving starts.
listener to notify when calibration solving completes.
listener to notify when calibrator is stopped.
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 guess of bias values is obtained.
listener to notify when sensor accuracy changes.
mapper to convert collected accelerometer measurements into quality scores, based on the amount of standard deviation (the larger the variability, the worse the score will be).
mapper to convert collected gyroscope measurements into quality scores, based on the amount of standard deviation (the larger the variability, the worse the score will be).