autotest: cope with slower updating roll in MAVLink for plane

need less precision in horizontal roll test
This commit is contained in:
Andrew Tridgell 2013-07-15 13:11:41 +10:00
parent e8355905dd
commit 2802814a66

View File

@ -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