AP_Compass: raise max scale factor and make symmetric

This commit is contained in:
Andrew Tridgell 2020-11-08 07:32:45 +11:00
parent 87564f145b
commit f7daa4a93a
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@
#define COMPASS_CAL_NUM_ELLIPSOID_PARAMS 9
#define COMPASS_CAL_NUM_SAMPLES 300 // number of samples required before fitting begins
#define COMPASS_MIN_SCALE_FACTOR 0.85
#define COMPASS_MAX_SCALE_FACTOR 1.4
#define COMPASS_MAX_SCALE_FACTOR 1.5
#define COMPASS_MIN_SCALE_FACTOR (1.0/COMPASS_MAX_SCALE_FACTOR)
class CompassCalibrator {
public: