mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
AP_Arming: add prearm check that we are using configured AHRS type
This commit is contained in:
parent
4909866dd9
commit
e89f4ea599
@ -432,13 +432,6 @@ bool AP_Arming::ins_checks(bool report)
|
||||
check_failed(ARMING_CHECK_INS, report, "temperature cal running");
|
||||
return false;
|
||||
}
|
||||
|
||||
// check AHRS attitudes are consistent
|
||||
char failure_msg[50] = {};
|
||||
if (!AP::ahrs().attitudes_consistent(failure_msg, ARRAY_SIZE(failure_msg))) {
|
||||
check_failed(ARMING_CHECK_INS, report, "%s", failure_msg);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
#if HAL_GYROFFT_ENABLED
|
||||
|
Loading…
Reference in New Issue
Block a user