[ins] enable nav init for EKF2 by default (#2930)

This commit is contained in:
Gautier Hattenberger
2022-10-17 10:55:09 +02:00
committed by GitHub
parent ca94874f74
commit acb7d1164a
+3 -6
View File
@@ -44,9 +44,9 @@
#include <stdio.h>
#endif
/** Prevent setting INS reference from flight plan */
#if USE_INS_NAV_INIT
#error INS initialization from flight plan is not yet supported
/** INS reference from flight plan, true by default */
#ifndef USE_INS_NAV_INIT
#define USE_INS_NAV_INIT TRUE
#endif
/** Special configuration for Optitrack */
@@ -57,9 +57,6 @@
#ifndef INS_EKF2_VDIST_SENSOR_TYPE
#define INS_EKF2_VDIST_SENSOR_TYPE VDIST_SENSOR_EV
#endif
#ifndef USE_INS_NAV_INIT
#define USE_INS_NAV_INIT true
#endif
#endif
/** The EKF2 fusion mode setting */