From 342dd67dc079427818905341c13a9f2f8fb14793 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 2 Dec 2019 15:55:27 +1100 Subject: [PATCH] AP_Compass: narrow range of allowed scale factor --- libraries/AP_Compass/CompassCalibrator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_Compass/CompassCalibrator.h b/libraries/AP_Compass/CompassCalibrator.h index b8c768bbbb..cd95dc1cf9 100644 --- a/libraries/AP_Compass/CompassCalibrator.h +++ b/libraries/AP_Compass/CompassCalibrator.h @@ -19,8 +19,8 @@ enum compass_cal_status_t { COMPASS_CAL_BAD_RADIUS = 7, }; -#define COMPASS_MIN_SCALE_FACTOR 0.3 -#define COMPASS_MAX_SCALE_FACTOR 1.6 +#define COMPASS_MIN_SCALE_FACTOR 0.85 +#define COMPASS_MAX_SCALE_FACTOR 1.3 class CompassCalibrator { public: