ekf2: set horizon using specific parameter

Some sensors can have their delay included in the timestamp. In this
case, the buffer cannot be sized using the _DELAY parameter.
This commit is contained in:
bresch
2024-04-05 13:49:03 +02:00
committed by Daniel Agar
parent 6796945d0b
commit a8a67fbf8f
5 changed files with 93 additions and 99 deletions
+12
View File
@@ -29,6 +29,18 @@ parameters:
default: 7
min: 0
max: 7
EKF2_DELAY_MAX:
description:
short: Maximum delay of all the aiding sensors
long: Defines the delay between the current time and the delayed-time horizon.
This value should be at least as large as the largest EKF2_XXX_DELAY parameter.
type: float
default: 200
min: 0
max: 1000
unit: ms
reboot_required: true
decimal: 1
EKF2_MAG_DELAY:
description:
short: Magnetometer measurement delay relative to IMU measurements