Tools: autotest: correct tracker reboot detection
This commit is contained in:
parent
3ab9fa48dc
commit
9ab8a55c8f
@ -63,7 +63,7 @@ class AutoTestTracker(AutoTest):
|
|||||||
if self.armed():
|
if self.armed():
|
||||||
self.disarm_vehicle()
|
self.disarm_vehicle()
|
||||||
self.mavproxy.send("reboot\n")
|
self.mavproxy.send("reboot\n")
|
||||||
self.mavproxy.expect("Initialising APM")
|
self.mavproxy.expect("Init AntennaTracker")
|
||||||
# empty mav to avoid getting old timestamps:
|
# empty mav to avoid getting old timestamps:
|
||||||
while self.mav.recv_match(blocking=False):
|
while self.mav.recv_match(blocking=False):
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user