StaticIntervalGyroscopeCalibrator

constructor(context: Context, accelerometerSensorType: AccelerometerSensorType = AccelerometerSensorType.ACCELEROMETER_UNCALIBRATED, gyroscopeSensorType: GyroscopeSensorType = GyroscopeSensorType.GYROSCOPE_UNCALIBRATED, accelerometerSensorDelay: SensorDelay = SensorDelay.FASTEST, gyroscopeSensorDelay: SensorDelay = SensorDelay.FASTEST, solveCalibrationWhenEnoughMeasurements: Boolean = true, isGyroscopeGroundTruthInitialBias: Boolean = false, initializationStartedListener: StaticIntervalWithMeasurementGeneratorCalibrator.OnInitializationStartedListener<StaticIntervalGyroscopeCalibrator>? = null, initializationCompletedListener: StaticIntervalWithMeasurementGeneratorCalibrator.OnInitializationCompletedListener<StaticIntervalGyroscopeCalibrator>? = null, errorListener: StaticIntervalWithMeasurementGeneratorCalibrator.OnErrorListener<StaticIntervalGyroscopeCalibrator>? = null, staticIntervalDetectedListener: StaticIntervalWithMeasurementGeneratorCalibrator.OnStaticIntervalDetectedListener<StaticIntervalGyroscopeCalibrator>? = null, dynamicIntervalDetectedListener: StaticIntervalWithMeasurementGeneratorCalibrator.OnDynamicIntervalDetectedListener<StaticIntervalGyroscopeCalibrator>? = null, staticIntervalSkippedListener: StaticIntervalWithMeasurementGeneratorCalibrator.OnStaticIntervalSkippedListener<StaticIntervalGyroscopeCalibrator>? = null, dynamicIntervalSkippedListener: StaticIntervalWithMeasurementGeneratorCalibrator.OnDynamicIntervalSkippedListener<StaticIntervalGyroscopeCalibrator>? = null, generatedGyroscopeMeasurementListener: StaticIntervalGyroscopeCalibrator.OnGeneratedGyroscopeMeasurementListener? = null, readyToSolveCalibrationListener: StaticIntervalWithMeasurementGeneratorCalibrator.OnReadyToSolveCalibrationListener<StaticIntervalGyroscopeCalibrator>? = null, calibrationSolvingStartedListener: StaticIntervalWithMeasurementGeneratorCalibrator.OnCalibrationSolvingStartedListener<StaticIntervalGyroscopeCalibrator>? = null, calibrationCompletedListener: StaticIntervalWithMeasurementGeneratorCalibrator.OnCalibrationCompletedListener<StaticIntervalGyroscopeCalibrator>? = null, stoppedListener: StaticIntervalWithMeasurementGeneratorCalibrator.OnStoppedListener<StaticIntervalGyroscopeCalibrator>? = null, initialGyroscopeBiasAvailableListener: StaticIntervalGyroscopeCalibrator.OnInitialGyroscopeBiasAvailableListener? = null, accuracyChangedListener: SensorCollector.OnAccuracyChangedListener? = null, gyroscopeQualityScoreMapper: QualityScoreMapper<BodyKinematicsSequence<StandardDeviationTimedBodyKinematics>> = DefaultGyroscopeQualityScoreMapper())

Constructor.

Parameters

isGyroscopeGroundTruthInitialBias

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.