Tools: autotest: set rc to 1500 on RTL

This commit is contained in:
Peter Barker 2018-05-15 16:41:15 +10:00 committed by Randy Mackay
parent dab3b93dc3
commit 23a2ea4084
1 changed files with 1 additions and 0 deletions

View File

@ -318,6 +318,7 @@ class AutoTestCopter(AutoTest):
"""Return, land."""
self.progress("# Enter RTL")
self.mavproxy.send('switch 3\n')
self.set_rc(3, 1500)
tstart = self.get_sim_time()
while self.get_sim_time() < tstart + timeout:
m = self.mav.recv_match(type='VFR_HUD', blocking=True)