Skyward boardcore
Loading...
Searching...
No Matches
Boardcore::BiasCalibration Class Reference

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 ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ BiasCalibration() [1/2]

Boardcore::BiasCalibration::BiasCalibration ( )

Definition at line 30 of file BiasCalibration.cpp.

◆ BiasCalibration() [2/2]

Boardcore::BiasCalibration::BiasCalibration ( Eigen::Vector3f ref)
explicit

Member Function Documentation

◆ computeResult()

BiasCorrector Boardcore::BiasCalibration::computeResult ( )

Definition at line 52 of file BiasCalibration.cpp.

◆ feed() [1/2]

void Boardcore::BiasCalibration::feed ( const Eigen::Vector3f & measured)

◆ feed() [2/2]

void Boardcore::BiasCalibration::feed ( const Eigen::Vector3f & measured,
const AxisOrientation & transform )

◆ getReferenceVector()

Vector3f Boardcore::BiasCalibration::getReferenceVector ( )

Definition at line 36 of file BiasCalibration.cpp.

◆ reset()

void Boardcore::BiasCalibration::reset ( )

Definition at line 38 of file BiasCalibration.cpp.

◆ setReferenceVector()

void Boardcore::BiasCalibration::setReferenceVector ( Eigen::Vector3f ref)

Definition at line 34 of file BiasCalibration.cpp.


The documentation for this class was generated from the following files: