Static Interval Accelerometer Gyroscope And Magnetometer Calibrator2
Constructor.
Parameters
Android context.
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. Additionally, if location and timestamp are provided, magnetometer calibration will be based on Earth's magnetic model, otherwise magnetometer 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 accelerometer sensor types.
One of the supported gyroscope sensor types.
One of the supported magnetometer sensor types.
Delay of accelerometer sensor between samples.
Delay of gyroscope sensor between samples.
Delay of magnetometer 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.
true if estimated magnetometer hard iron is assumed to be the true value, false if estimated hard iron is assumed to be only an initial guess. When magnetometerSensorType is MagnetometerSensorType.MAGNETOMETER, hard iron guess is zero, otherwise when it is MagnetometerSensorType.MAGNETOMETER_UNCALIBRATED, hard iron guess is the device calibrated values.
listener to notify when initialization starts.
listener to notify when gravity norm estimation becomes unreliable. This is only used if no location is provided.