ekf2: enable mag check by default, but commander only warn

This commit is contained in:
Daniel Agar 2021-12-14 11:03:16 -05:00
parent 3fba7288af
commit ea29b45282
2 changed files with 2 additions and 2 deletions

View File

@ -648,7 +648,7 @@ PARAM_DEFINE_INT32(COM_ARM_MAG_ANG, 45);
*
* @group Commander
*/
PARAM_DEFINE_INT32(COM_ARM_MAG_STR, 1);
PARAM_DEFINE_INT32(COM_ARM_MAG_STR, 2);
/**
* Rearming grace period

View File

@ -1358,7 +1358,7 @@ PARAM_DEFINE_FLOAT(EKF2_REQ_GPS_H, 10.0f);
* @group EKF2
* @boolean
*/
PARAM_DEFINE_INT32(EKF2_MAG_CHECK, 0);
PARAM_DEFINE_INT32(EKF2_MAG_CHECK, 1);
/**
* Enable synthetic magnetometer Z component measurement.