Skyward boardcore
|
This is the dumbest type of calibration possible: an offset. More...
#include <BiasCalibration.h>
Public Member Functions | |
BiasCalibration () | |
BiasCalibration (Eigen::Vector3f ref) | |
void | setReferenceVector (Eigen::Vector3f ref) |
Eigen::Vector3f | getReferenceVector () |
void | reset () |
void | feed (const Eigen::Vector3f &measured, const AxisOrientation &transform) |
void | feed (const Eigen::Vector3f &measured) |
BiasCorrector | computeResult () |
This is the dumbest type of calibration possible: an offset.
During the calibration phase it will use a given reference vector (for example the gravitational acceleration), and every time you'll feed the model with a new value, you have to give it the orientation of the sensor, so it can guess the bias.
Definition at line 43 of file BiasCalibration.h.
Boardcore::BiasCalibration::BiasCalibration | ( | ) |
Definition at line 30 of file BiasCalibration.cpp.
|
explicit |
BiasCorrector Boardcore::BiasCalibration::computeResult | ( | ) |
Definition at line 52 of file BiasCalibration.cpp.
void Boardcore::BiasCalibration::feed | ( | const Eigen::Vector3f & | measured | ) |
void Boardcore::BiasCalibration::feed | ( | const Eigen::Vector3f & | measured, |
const AxisOrientation & | transform ) |
Vector3f Boardcore::BiasCalibration::getReferenceVector | ( | ) |
Definition at line 36 of file BiasCalibration.cpp.
void Boardcore::BiasCalibration::reset | ( | ) |
Definition at line 38 of file BiasCalibration.cpp.
void Boardcore::BiasCalibration::setReferenceVector | ( | Eigen::Vector3f | ref | ) |
Definition at line 34 of file BiasCalibration.cpp.