mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
autotest: improve mount debug
This commit is contained in:
parent
8222b5db62
commit
1c7354c321
@ -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…
Reference in New Issue
Block a user