ekf2: make filter update period configurable

- introduces new parameter EKF2_PREDICT_US to configure the filter
update period in microseconds
 - actual filter update period will be an integer multiple of IMU
This commit is contained in:
Daniel Agar
2022-01-26 10:57:09 -05:00
parent 3f25349eb9
commit ae3070bbf1
20 changed files with 856 additions and 821 deletions
+13
View File
@@ -39,6 +39,19 @@
*
*/
/**
* EKF prediction period
*
* EKF prediction period in microseconds. This should ideally be an integer multiple of the IMU time delta.
* Actual filter update will be an integer multiple of IMU update.
*
* @group EKF2
* @min 1000
* @max 20000
* @unit us
*/
PARAM_DEFINE_INT32(EKF2_PREDICT_US, 10000);
/**
* Magnetometer measurement delay relative to IMU measurements
*