Class MagnetometerCalibration
Defined in File MagnetometerCalibration.hpp
Inheritance Relationships
Derived Type
public navtk::magnetic::MagnetometerCalibrationScaleFactorBias(Class MagnetometerCalibrationScaleFactorBias)
Class Documentation
An abstract class for calibrating magnetometer measurements.
Subclassed by navtk::magnetic::MagnetometerCalibrationScaleFactorBias
Public Functions
Given x and y magnetometer values, compute the calibration parameters.
- Parameters
mag – Matrix of magnetometer measurements(any units), with each row corresponding to an axis, and each column to a measurement.
Apply calibration parameters to a magnetometer measurement to obtain a calibrated measurement.
- Parameters
mag – magnetic field measurement vector (any units)
- Returns
Vector containing the calibrated magnetic field vector in the same units as the input values.
Get status of [calibrated].
- Returns
whether or not the calibration parameters have been generated yet. If
false, all calls to apply_calibration will return uncalibrated_measurements.- Returns
false
Protected Attributes
Indicates whether the calibration parameters have been generated yet.
If this is
false, all calls to apply_calibration will return uncalibrated measurements.