mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
autotest: cope with slower updating roll in MAVLink for plane
need less precision in horizontal roll test
This commit is contained in:
parent
e8355905dd
commit
2802814a66
@ -146,11 +146,11 @@ def axial_left_roll(mavproxy, mav, count=1):
|
||||
while count > 0:
|
||||
print("Starting roll")
|
||||
mavproxy.send('rc 1 1000\n')
|
||||
if not wait_roll(mav, -150, accuracy=20):
|
||||
if not wait_roll(mav, -150, accuracy=45):
|
||||
return False
|
||||
if not wait_roll(mav, 150, accuracy=20):
|
||||
if not wait_roll(mav, 150, accuracy=45):
|
||||
return False
|
||||
if not wait_roll(mav, 0, accuracy=20):
|
||||
if not wait_roll(mav, 0, accuracy=45):
|
||||
return False
|
||||
count -= 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user