autotest: better diagnostics for mission transfer

This commit is contained in:
Peter Barker 2022-06-11 15:29:10 +10:00 committed by Andrew Tridgell
parent e02d50d0e8
commit 171bdd9e5b

View File

@ -7193,7 +7193,8 @@ Also, ignores heartbeats not from our target system'''
if len(remaining_to_receive) == 0:
self.progress("All received")
return items
self.progress("Requesting item %u" % next_to_request)
self.progress("Requesting item %u (remaining=%u)" %
(next_to_request, len(remaining_to_receive)))
self.mav.mav.mission_request_int_send(target_system,
target_component,
next_to_request,