Skip to content

Commit 736528a

Browse files
committed
autotest: cater for new margin breach messages
1 parent 1fa945b commit 736528a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tools/autotest/arducopter.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1993,9 +1993,9 @@ def FenceMargin(self, timeout=180):
19931993
self.progress("flying forward (east) until we hit fence")
19941994
pitching_forward = True
19951995
self.set_rc(2, 1100)
1996-
self.wait_statustext("Polygon fence close")
1996+
self.wait_statustext("Polygon fence in ([0-9]+[.])?[0-9]?m", regex=True)
19971997

1998-
self.wait_statustext("Circle and Polygon fences close")
1998+
self.wait_statustext("Circle and Polygon fences in ([0-9]+[.])?[0-9]?m", regex=True)
19991999
self.progress("Waiting for fence breach")
20002000
tstart = self.get_sim_time()
20012001
while not self.mode_is("RTL"):

0 commit comments

Comments
 (0)