From 06d6526ba6be69a6defbb671af12770497c4df88 Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Tue, 1 Sep 2020 11:04:21 +0200 Subject: [PATCH] Autotest: correct wait_distance_to_home comment --- Tools/autotest/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/autotest/common.py b/Tools/autotest/common.py index fe6f1e0745..9500277ebe 100644 --- a/Tools/autotest/common.py +++ b/Tools/autotest/common.py @@ -4185,7 +4185,7 @@ class AutoTest(ABC): self.wait_and_maintain(value_name="Distance", target=distance_min, current_value_getter=lambda: get_distance(), validator=lambda value2, target2: validator(value2, target2), accuracy=(distance_max - distance_min), timeout=timeout, **kwargs) def wait_distance_to_home(self, distance_min, distance_max, timeout=10, use_cached_home=True, **kwargs): - """Wait for flight of home.""" + """Wait for distance to home to be within specified bounds.""" assert distance_min <= distance_max, "Distance min should be less than distance max." def get_distance():