From 5f669e22ff22b2ee488ad6feabb3def55dde00c5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 9 Nov 2020 13:28:35 +1100 Subject: [PATCH] autotest: adjust optical flow speed test --- Tools/autotest/arducopter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index e0c02bb52d..a550f39e05 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -1772,11 +1772,11 @@ class AutoTestCopter(AutoTest): # calculate max speed from altitude above the ground margin = 2.0 - max_speed = alt * 1.4 + margin - self.progress("%0.1f: Low Speed: %f (want <= %u)" % + max_speed = alt * 1.5 + margin + self.progress("%0.1f: Low Speed: %f (want <= %u) alt=%.1f" % (self.get_sim_time_cached() - tstart, spd, - max_speed)) + max_speed, alt)) if spd > max_speed: raise NotAchievedException(("Speed should be limited by" "EKF optical flow limits"))