25#ifndef NAV_ALGORITHMS_COMPASS_CALIBRATOR_3D_H_
26#define NAV_ALGORITHMS_COMPASS_CALIBRATOR_3D_H_
40 : calibration_successful(
false)
48 heading_sector_error[
i]=1e20f;
56 return calibration_successful;
63 bool calibration_successful;
3 dimensional magnetic calibration and error compensation mechanism
compass_calibrator_3D(void)
bool learn(const float3vector &observed_induction, const float3vector &expected_induction, const quaternion< float > &q, bool turning_right, float error_margin)
void start_learning(void)
bool available(void) const
float3vector calibrate(const float3vector &induction, const quaternion< float > &q)
mathematical vector of arbitrary type and size
defines platform-dependent algorithms and constants
settings to allow compiling embedded software on a PC target
quaternion for 3d attitude representation (template)