mirror of https://github.com/ArduPilot/ardupilot
AP_Compass: warn user if fix_radius() is skipped
This commit is contained in:
parent
325d6f6c94
commit
64e859ecc5
|
@ -1067,6 +1067,7 @@ bool CompassCalibrator::fix_radius(void)
|
|||
{
|
||||
Location loc;
|
||||
if (!AP::ahrs().get_location(loc) && !AP::ahrs().get_origin(loc)) {
|
||||
GCS_SEND_TEXT(MAV_SEVERITY_WARNING, "MagCal: No location, fix_radius skipped");
|
||||
// we don't have a position, leave scale factor as 0. This
|
||||
// will disable use of WMM in the EKF. Users can manually set
|
||||
// scale factor after calibration if it is known
|
||||
|
|
Loading…
Reference in New Issue