mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
autotest: increase home tolerance
This commit is contained in:
parent
076a0e848c
commit
07f89833c0
@ -8450,11 +8450,11 @@ Also, ignores heartbeats not from our target system'''
|
||||
start_loc = self.sitl_start_location()
|
||||
self.progress("SITL start loc: %s" % str(start_loc))
|
||||
delta = abs(orig_home.latitude * 1.0e-7 - start_loc.lat)
|
||||
if delta > 0.000002:
|
||||
if delta > 0.000006:
|
||||
raise ValueError("homes differ in lat got=%f vs want=%f delta=%f" %
|
||||
(orig_home.latitude * 1.0e-7, start_loc.lat, delta))
|
||||
delta = abs(orig_home.longitude * 1.0e-7 - start_loc.lng)
|
||||
if delta > 0.000002:
|
||||
if delta > 0.000006:
|
||||
raise ValueError("homes differ in lon got=%f vs want=%f delta=%f" %
|
||||
(orig_home.longitude * 1.0e-7, start_loc.lng, delta))
|
||||
if self.is_rover():
|
||||
|
Loading…
Reference in New Issue
Block a user