Class DefaultAccelerometerAndGyroscopeMseRule

java.lang.Object
com.irurueta.navigation.inertial.calibration.intervals.thresholdfactor.DefaultAccelerometerAndGyroscopeMseRule
All Implemented Interfaces:
AccelerometerAndGyroscopeMseRule

public class DefaultAccelerometerAndGyroscopeMseRule extends Object implements AccelerometerAndGyroscopeMseRule
Provides a rule or function to convert estimated accelerometer calibration Mean Square Error (MSE) and estimated gyroscope calibration Mean Square Error (MSE) into a single MSE value. This implementation simply sums both MSE values.
  • Constructor Details

    • DefaultAccelerometerAndGyroscopeMseRule

      public DefaultAccelerometerAndGyroscopeMseRule()
  • Method Details

    • evaluate

      public double evaluate(double accelerometerMse, double gyroscopeMse)
      Evaluates provided accelerometer calibration MSE and gyroscope calibration MSE to get a single MSE value representing both.
      Specified by:
      evaluate in interface AccelerometerAndGyroscopeMseRule
      Parameters:
      accelerometerMse - accelerometer calibration MSE.
      gyroscopeMse - gyroscope calibration MSE.
      Returns:
      single MSE value.