Class MagnetometerCalibrationEllipse2d
Defined in File MagnetometerCalibrationEllipse2d.hpp
Inheritance Relationships
Base Type
public navtk::magnetic::MagnetometerCalibrationScaleFactorBias(Class MagnetometerCalibrationScaleFactorBias)
Class Documentation
Class for calibrating magnetometer measurements using the Ellipse2D method.
This method is taken from Section 2.4.5.1 of Shockley PhD Dissertation: Ground Vehicle Navigation Using Magnetic Field Variation, 2012 (available on dtic.mil)
Public Functions
Constructor.
- Parameters
calibrate_caruso – if true, compute calibration parameters with the 2D Caruso method first, then further calibrate with the Ellipse2D method.
Given x and y magnetometer values, compute the calibration parameters using the Ellipse2D method.
- Parameters
mag – Matrix of magnetometer measurements(any units), with each row corresponding to an axis, and each column to a measurement. Must have 2 rows, with the first being the x-axis, and the second being the y-axis.