ekf2check: add COM_ARM_MAG_STR to en/disable mag field strength preflight check

This commit is contained in:
Mathieu Bresciani
2019-12-28 14:06:14 -05:00
committed by Daniel Agar
parent 7bb952baed
commit 226169192a
2 changed files with 24 additions and 5 deletions
+11
View File
@@ -622,6 +622,17 @@ PARAM_DEFINE_FLOAT(COM_ARM_IMU_GYR, 0.25f);
*/
PARAM_DEFINE_INT32(COM_ARM_MAG_ANG, 30);
/**
* Enable mag strength preflight check
*
* Deny arming if the estimator detects a strong magnetic
* disturbance (check enabled by EKF2_MAG_CHECK)
*
* @boolean
* @group Commander
*/
PARAM_DEFINE_INT32(COM_ARM_MAG_STR, 1);
/**
* Enable RC stick override of auto modes
*