From e7aefc7fe40de1dc592714ed6035933efe786fbb Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 12 Jan 2021 19:52:20 +1100 Subject: [PATCH] autotest: make polling home position quiet by default --- Tools/autotest/common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tools/autotest/common.py b/Tools/autotest/common.py index 5ff2ffd5e0..b142cdc534 100644 --- a/Tools/autotest/common.py +++ b/Tools/autotest/common.py @@ -5160,7 +5160,7 @@ Also, ignores heartbeats not from our target system''' mavutil.dump_message_verbose(f, m) return f.getvalue() - def poll_home_position(self, quiet=False, timeout=30): + def poll_home_position(self, quiet=True, timeout=30): old = self.mav.messages.get("HOME_POSITION", None) tstart = self.get_sim_time() while True: @@ -5188,6 +5188,7 @@ Also, ignores heartbeats not from our target system''' break if m._timestamp != old._timestamp: break + self.progress("Polled home position (%s)" % str(m)) return m def distance_to_home(self, use_cached_home=False):