Browse Source

AP_Compass: narrow range of allowed scale factor

master
Andrew Tridgell 5 years ago
parent
commit
d3226e1f94
  1. 4
      libraries/AP_Compass/CompassCalibrator.h

4
libraries/AP_Compass/CompassCalibrator.h

@ -19,8 +19,8 @@ enum compass_cal_status_t {
COMPASS_CAL_BAD_RADIUS = 7, COMPASS_CAL_BAD_RADIUS = 7,
}; };
#define COMPASS_MIN_SCALE_FACTOR 0.3 #define COMPASS_MIN_SCALE_FACTOR 0.85
#define COMPASS_MAX_SCALE_FACTOR 1.6 #define COMPASS_MAX_SCALE_FACTOR 1.3
class CompassCalibrator { class CompassCalibrator {
public: public:

Loading…
Cancel
Save