Browse Source

autotest: fixed overshoot due to low resolution log timing

mission-4.1.18
Andrew Tridgell 13 years ago
parent
commit
d60126fc1f
  1. 2
      Tools/autotest/arduplane.py

2
Tools/autotest/arduplane.py

@ -69,7 +69,7 @@ def fly_left_circuit(mavproxy, mav): @@ -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

Loading…
Cancel
Save