Browse Source

autotest: improve mount debug

zr-v5.1
Peter Barker 5 years ago committed by Peter Barker
parent
commit
1c7354c321
  1. 4
      Tools/autotest/arducopter.py

4
Tools/autotest/arducopter.py

@ -3183,8 +3183,8 @@ class AutoTestCopter(AutoTest): @@ -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" %

Loading…
Cancel
Save