mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 18:38:28 -04:00
autotest: fixed overshoot due to low resolution log timing
This commit is contained in:
parent
2e11584fb7
commit
1450c3f5af
@ -69,7 +69,7 @@ def fly_left_circuit(mavproxy, mav):
|
|||||||
return False
|
return False
|
||||||
mavproxy.send('rc 1 1500\n')
|
mavproxy.send('rc 1 1500\n')
|
||||||
print("Starting leg %u" % i)
|
print("Starting leg %u" % i)
|
||||||
if not wait_distance(mav, 100):
|
if not wait_distance(mav, 100, accuracy=20):
|
||||||
return False
|
return False
|
||||||
print("Circuit complete")
|
print("Circuit complete")
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user