APM:Libraries
Classes | Macros | Enumerations
CompassCalibrator.h File Reference
#include <AP_Math/AP_Math.h>
Include dependency graph for CompassCalibrator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CompassCalibrator
 
class  CompassCalibrator::param_t
 
class  CompassCalibrator::CompassSample
 

Macros

#define COMPASS_CAL_NUM_SPHERE_PARAMS   4
 
#define COMPASS_CAL_NUM_ELLIPSOID_PARAMS   9
 
#define COMPASS_CAL_NUM_SAMPLES   300
 
#define COMPASS_CAL_DEFAULT_TOLERANCE   5.0f
 

Enumerations

enum  compass_cal_status_t {
  COMPASS_CAL_NOT_STARTED =0, COMPASS_CAL_WAITING_TO_START =1, COMPASS_CAL_RUNNING_STEP_ONE =2, COMPASS_CAL_RUNNING_STEP_TWO =3,
  COMPASS_CAL_SUCCESS =4, COMPASS_CAL_FAILED =5
}
 

Macro Definition Documentation

◆ COMPASS_CAL_DEFAULT_TOLERANCE

#define COMPASS_CAL_DEFAULT_TOLERANCE   5.0f

Definition at line 8 of file CompassCalibrator.h.

◆ COMPASS_CAL_NUM_ELLIPSOID_PARAMS

#define COMPASS_CAL_NUM_ELLIPSOID_PARAMS   9

Definition at line 4 of file CompassCalibrator.h.

Referenced by CompassCalibrator::run_ellipsoid_fit().

◆ COMPASS_CAL_NUM_SAMPLES

#define COMPASS_CAL_NUM_SAMPLES   300

◆ COMPASS_CAL_NUM_SPHERE_PARAMS

#define COMPASS_CAL_NUM_SPHERE_PARAMS   4

Definition at line 3 of file CompassCalibrator.h.

Referenced by CompassCalibrator::run_sphere_fit().

Enumeration Type Documentation

◆ compass_cal_status_t

Enumerator
COMPASS_CAL_NOT_STARTED 
COMPASS_CAL_WAITING_TO_START 
COMPASS_CAL_RUNNING_STEP_ONE 
COMPASS_CAL_RUNNING_STEP_TWO 
COMPASS_CAL_SUCCESS 
COMPASS_CAL_FAILED 

Definition at line 10 of file CompassCalibrator.h.