mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
autotest: larger distance error allowed in fly simple test
This commit is contained in:
parent
2949d58b71
commit
b2c71dac1b
@ -228,7 +228,7 @@ def fly_simple(mavproxy, mav, side=60, timeout=120):
|
|||||||
|
|
||||||
print("# Going forward %u meters" % side)
|
print("# Going forward %u meters" % side)
|
||||||
mavproxy.send('rc 2 1390\n')
|
mavproxy.send('rc 2 1390\n')
|
||||||
if not wait_distance(mav, side, 5, 60):
|
if not wait_distance(mav, side, 10, 60):
|
||||||
failed = True
|
failed = True
|
||||||
mavproxy.send('rc 2 1500\n')
|
mavproxy.send('rc 2 1500\n')
|
||||||
|
|
||||||
@ -243,7 +243,7 @@ def fly_simple(mavproxy, mav, side=60, timeout=120):
|
|||||||
|
|
||||||
print("# Going back %u meters" % side)
|
print("# Going back %u meters" % side)
|
||||||
mavproxy.send('rc 2 1610\n')
|
mavproxy.send('rc 2 1610\n')
|
||||||
if not wait_distance(mav, side, 5, 60):
|
if not wait_distance(mav, side, 10, 60):
|
||||||
failed = True
|
failed = True
|
||||||
mavproxy.send('rc 2 1500\n')
|
mavproxy.send('rc 2 1500\n')
|
||||||
#restore to default
|
#restore to default
|
||||||
|
Loading…
Reference in New Issue
Block a user