From 109ed18a3a5f35adcc347a37b0f118aaf2b0e1d9 Mon Sep 17 00:00:00 2001 From: bresch Date: Fri, 23 Oct 2020 14:45:28 +0200 Subject: [PATCH] Flow: adjust default optical flow delay based on pmw3901 This is the correct value for the most common optical flow sensor --- src/modules/ekf2/ekf2_params.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/ekf2/ekf2_params.c b/src/modules/ekf2/ekf2_params.c index 7f84af3653ff..b1a4c36344ef 100644 --- a/src/modules/ekf2/ekf2_params.c +++ b/src/modules/ekf2/ekf2_params.c @@ -98,7 +98,7 @@ PARAM_DEFINE_FLOAT(EKF2_GPS_DELAY, 110); * @reboot_required true * @decimal 1 */ -PARAM_DEFINE_FLOAT(EKF2_OF_DELAY, 5); +PARAM_DEFINE_FLOAT(EKF2_OF_DELAY, 20); /** * Range finder measurement delay relative to IMU measurements