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

This commit is contained in:
Daniel Agar
2021-12-15 09:43:46 -05:00
parent 3fba7288af
commit ea29b45282
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -648,7 +648,7 @@ PARAM_DEFINE_INT32(COM_ARM_MAG_ANG, 45);
* *
* @group Commander * @group Commander
*/ */
PARAM_DEFINE_INT32(COM_ARM_MAG_STR, 1); PARAM_DEFINE_INT32(COM_ARM_MAG_STR, 2);
/** /**
* Rearming grace period * Rearming grace period
+1 -1
View File
@@ -1358,7 +1358,7 @@ PARAM_DEFINE_FLOAT(EKF2_REQ_GPS_H, 10.0f);
* @group EKF2 * @group EKF2
* @boolean * @boolean
*/ */
PARAM_DEFINE_INT32(EKF2_MAG_CHECK, 0); PARAM_DEFINE_INT32(EKF2_MAG_CHECK, 1);
/** /**
* Enable synthetic magnetometer Z component measurement. * Enable synthetic magnetometer Z component measurement.