mirror of https://github.com/ArduPilot/ardupilot
Tools: autotest: set rc to 1500 on RTL
This commit is contained in:
parent
dab3b93dc3
commit
23a2ea4084
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue