ekf2: improve ring buffer sizing and dynamically allocate

This commit is contained in:
Daniel Agar
2022-01-19 09:04:53 -05:00
parent 36605bfff6
commit 92a5bbe97f
13 changed files with 356 additions and 247 deletions
-13
View File
@@ -39,19 +39,6 @@
*
*/
/**
* Minimum time of arrival delta between non-IMU observations before data is downsampled.
*
* Baro and Magnetometer data will be averaged before downsampling, other data will be point sampled resulting in loss of information.
*
* @group EKF2
* @min 10
* @max 50
* @reboot_required true
* @unit ms
*/
PARAM_DEFINE_INT32(EKF2_MIN_OBS_DT, 20);
/**
* Magnetometer measurement delay relative to IMU measurements
*