KalmanAbsoluteAttitudeProcessor5

constructor(location: Location? = null, currentDate: Date? = null, computeExternalAcceleration: Boolean = true, computeEulerAngles: Boolean = true, computeCovariances: Boolean = true, computeEulerAnglesCovariance: Boolean = true, phiMatrixMethod: PhiMatrixMethod = PhiMatrixMethod.APPROXIMATED, processNoiseCovarianceMethod: ProcessNoiseCovarianceMethod = ProcessNoiseCovarianceMethod.BETTER, quaternionStepIntegrator: QuaternionStepIntegratorType = QuaternionStepIntegratorType.SUH, gyroscopeNoisePsd: Double = DEFAULT_GYROSCOPE_NOISE_PSD, accelerometerNoiseStandardDeviation: Double = DEFAULT_ACCELEROMETER_NOISE_STANDARD_DEVIATION, magnetometerNoiseStandardDeviation: Double = DEFAULT_MAGNETOMETER_NOISE_STANDARD_DEVIATION, externalAccelerationCovarianceMatrixEstimationMethod: ExternalAccelerationCovarianceMatrixEstimationMethod = DEFAULT_EXTERNAL_ACCELERATION_COVARIANCE_MATRIX_ESTIMATION_METHOD, processorListener: KalmanAbsoluteAttitudeProcessor5.OnProcessedListener? = null)

Parameters

location

current device location or null if location is not known. When location and currentDate are provided, magnetic field dip and declination angles are estimated along with current gravity norm.

phiMatrixMethod

method to compute the matrix exponential to integrate orientation.

processNoiseCovarianceMethod

method to compute process noise covariance matrix.

quaternionStepIntegrator

type of integrator to use to compute quaternions.