From 1c7354c321e4d3102510b9493728621434c5cc9b Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 23 Jan 2020 12:43:06 +1100 Subject: [PATCH] autotest: improve mount debug --- Tools/autotest/arducopter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index 0111f5ff24..efc1e47b91 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -3183,8 +3183,8 @@ class AutoTestCopter(AutoTest): # (m.pointing_a, m.pointing_b, m.pointing_c)) mount_pitch = m.pointing_a/100.0 # centidegrees to degrees if abs(despitch - mount_pitch) > despitch_tolerance: - self.progress("Mount pitch incorrect: %f != %f" % - (mount_pitch, despitch)) + self.progress("Mount pitch incorrect: got=%f want=%f (+/- %f)" % + (mount_pitch, despitch, despitch_tolerance)) success_start = 0 continue self.progress("Mount pitch correct: %f degrees == %f" %