Browse Source

Tools: autotest: fix sub reboot detection

the string we were looking for actually gets emitted just before reboot
- sometimes!
mission-4.1.18
Peter Barker 6 years ago committed by Peter Barker
parent
commit
3ab9fa48dc
  1. 2
      Tools/autotest/ardusub.py

2
Tools/autotest/ardusub.py

@ -164,7 +164,7 @@ class AutoTestSub(AutoTest): @@ -164,7 +164,7 @@ class AutoTestSub(AutoTest):
def reboot_sitl(self):
"""Reboot SITL instance and wait it to reconnect."""
self.mavproxy.send("reboot\n")
self.mavproxy.expect("Initialising APM")
self.mavproxy.expect("Init ArduSub")
# empty mav to avoid getting old timestamps:
while self.mav.recv_match(blocking=False):
pass

Loading…
Cancel
Save