mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
AP_Compass: warn user if fix_radius() is skipped
This commit is contained in:
parent
ad3a3aefae
commit
85bba3c145
@ -1067,6 +1067,7 @@ bool CompassCalibrator::fix_radius(void)
|
|||||||
{
|
{
|
||||||
Location loc;
|
Location loc;
|
||||||
if (!AP::ahrs().get_location(loc) && !AP::ahrs().get_origin(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
|
// we don't have a position, leave scale factor as 0. This
|
||||||
// will disable use of WMM in the EKF. Users can manually set
|
// will disable use of WMM in the EKF. Users can manually set
|
||||||
// scale factor after calibration if it is known
|
// scale factor after calibration if it is known
|
||||||
|
Loading…
Reference in New Issue
Block a user