Skip to content

Commit

Permalink
autotest: change margin warning
Browse files Browse the repository at this point in the history
  • Loading branch information
andyp1per committed Feb 24, 2025
1 parent f34278b commit 8887975
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tools/autotest/arducopter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1994,9 +1994,9 @@ def FenceMargin(self, timeout=180):
self.progress("flying forward (east) until we hit fence")
pitching_forward = True
self.set_rc(2, 1100)
self.wait_statustext("Polygon fence outside margin")
self.wait_statustext("Polygon fence close")

self.wait_statustext("Circle and Polygon fences outside margin")
self.wait_statustext("Circle and Polygon fences close")
self.progress("Waiting for fence breach")
tstart = self.get_sim_time()
while not self.mode_is("RTL"):
Expand All @@ -2009,7 +2009,7 @@ def FenceMargin(self, timeout=180):
self.progress("Alt: %.02f HomeDistance: %.02f (fence radius=%f)" %
(alt, home_distance, fence_radius))

self.wait_statustext("Circle fence inside margin")
self.wait_statustext("Circle fence cleared margin breach")
self.progress("Waiting until we get home and disarm")
tstart = self.get_sim_time()
while self.get_sim_time_cached() < tstart + timeout:
Expand Down

0 comments on commit 8887975

Please sign in to comment.