autotest: forced loiter via 2nd method

This commit is contained in:
Andrew Tridgell 2012-05-03 15:39:21 +10:00
parent 0b8dca31e5
commit 033b0e27f3
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ def fly_LOITER(mavproxy, mav, num_circles=4):
'''loiter where we are'''
print("Testing LOITER for %u turns" % num_circles)
mavproxy.send('switch 3\n')
mavproxy.send('loiter\n')
wait_mode(mav, 'LOITER')
while num_circles > 0:
if not wait_heading(mav, 0):