autotest: adjust test_altitude_types for small change in longitude_scale

This commit is contained in:
Andrew Tridgell 2021-07-08 19:04:37 +10:00
parent 338ab28dea
commit 5a5018cda2

View File

@ -5051,7 +5051,7 @@ class AutoTestCopter(AutoTest):
post_arming_home_offset_mm = m.alt - m.relative_alt
self.progress("post-arming home offset: %f" % (post_arming_home_offset_mm))
self.progress("gpi=%s" % str(m))
min_post_arming_home_offset_delta_mm = -3000
min_post_arming_home_offset_delta_mm = -2500
max_post_arming_home_offset_delta_mm = -4000
delta_between_original_home_alt_offset_and_new_home_alt_offset_mm = post_arming_home_offset_mm - orig_home_offset_mm
self.progress("delta=%f-%f=%f" % (