From 033b0e27f3a5e4d8a2691a207968a78943dbfe34 Mon Sep 17 00:00:00 2001
From: Andrew Tridgell <tridge@samba.org>
Date: Thu, 3 May 2012 15:39:21 +1000
Subject: [PATCH] autotest: forced loiter via 2nd method

---
 Tools/autotest/arduplane.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Tools/autotest/arduplane.py b/Tools/autotest/arduplane.py
index 6e4626c55..2fe9ae12f 100644
--- a/Tools/autotest/arduplane.py
+++ b/Tools/autotest/arduplane.py
@@ -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):
-- 
GitLab