mirror of https://github.com/ArduPilot/ardupilot
autotest: forced loiter via 2nd method
This commit is contained in:
parent
0b8dca31e5
commit
033b0e27f3
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue