From d60126fc1fe34caf076a74b9b811eea73338d1e8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell <tridge@samba.org> Date: Tue, 3 Apr 2012 10:42:53 +1000 Subject: [PATCH] autotest: fixed overshoot due to low resolution log timing --- Tools/autotest/arduplane.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/autotest/arduplane.py b/Tools/autotest/arduplane.py index 781ca1f23a..fefd770cc8 100644 --- a/Tools/autotest/arduplane.py +++ b/Tools/autotest/arduplane.py @@ -69,7 +69,7 @@ def fly_left_circuit(mavproxy, mav): return False mavproxy.send('rc 1 1500\n') print("Starting leg %u" % i) - if not wait_distance(mav, 100): + if not wait_distance(mav, 100, accuracy=20): return False print("Circuit complete") return True