Interface AccelerometerAndGyroscopeMseRule
- All Known Implementing Classes:
DefaultAccelerometerAndGyroscopeMseRule
public interface 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.
Typical implementation simply sums both MSE values. However, custom
implementations can be made to make one error more prevalent than the other, etc.
-
Method Summary
Modifier and TypeMethodDescriptiondouble
evaluate
(double accelerometerMse, double gyroscopeMse) Evaluates provided accelerometer calibration MSE and gyroscope calibration MSE to get a single MSE value representing both.
-
Method Details
-
evaluate
double evaluate(double accelerometerMse, double gyroscopeMse) Evaluates provided accelerometer calibration MSE and gyroscope calibration MSE to get a single MSE value representing both.- Parameters:
accelerometerMse
- accelerometer calibration MSE.gyroscopeMse
- gyroscope calibration MSE.- Returns:
- single MSE value.
-