autotest: relax precision loiter test

This commit is contained in:
Andy Piper 2023-07-11 19:18:06 +01:00 committed by Peter Hall
parent 07f89833c0
commit 6e37beb63c

View File

@ -4550,7 +4550,7 @@ class AutoTestCopter(AutoTest):
# determine if we've successfully navigated to close to # determine if we've successfully navigated to close to
# where we should be: # where we should be:
dist = math.sqrt(delta_ef.x * delta_ef.x + delta_ef.y * delta_ef.y) dist = math.sqrt(delta_ef.x * delta_ef.x + delta_ef.y * delta_ef.y)
dist_max = 0.15 dist_max = 1
self.progress("dist=%f want <%f" % (dist, dist_max)) self.progress("dist=%f want <%f" % (dist, dist_max))
if dist < dist_max: if dist < dist_max:
# success! We've gotten within our target distance # success! We've gotten within our target distance