Browse Source

Tools: relax navigation test accuracy

c415-sdk
Paul Riseborough 4 years ago committed by Randy Mackay
parent
commit
ed30a7ce35
  1. 2
      Tools/autotest/arducopter.py

2
Tools/autotest/arducopter.py

@ -3749,7 +3749,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.1 dist_max = 0.15
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

Loading…
Cancel
Save