Interface AccelerometerGyroscopeAndMagnetometerMseRule

All Known Implementing Classes:
DefaultAccelerometerGyroscopeAndMagnetometerMseRule

public interface AccelerometerGyroscopeAndMagnetometerMseRule
Provides a rule or function to convert estimated accelerometer calibration Mean Square Error (MSE), estimated gyroscope calibration Mean Square Error (MSE) and estimated magnetometer calibrator Mean Square Error (MSE) into a single MSE value. Typical implementation simply sums all three MSE values; however, custom implementations can be made to make one error more prevalent than the other, etc.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    evaluate(double accelerometerMse, double gyroscopeMse, double magnetometerMse)
    Evaluates provided accelerometer calibration MSE, gyroscope calibration MSE and magnetometer calibration MSE in order to obtain a single MSE value representing all three of them.
  • Method Details

    • evaluate

      double evaluate(double accelerometerMse, double gyroscopeMse, double magnetometerMse)
      Evaluates provided accelerometer calibration MSE, gyroscope calibration MSE and magnetometer calibration MSE in order to obtain a single MSE value representing all three of them.
      Parameters:
      accelerometerMse - accelerometer calibration MSE.
      gyroscopeMse - gyroscope calibration MSE.
      magnetometerMse - magnetometer calibration MSE.
      Returns:
      single MSE value.