mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
autotest: improve debug on parameter download failure
This commit is contained in:
parent
be7ae6fbc9
commit
6843d0e628
@ -4141,7 +4141,8 @@ switch value'''
|
||||
while True:
|
||||
now = self.get_sim_time_cached()
|
||||
if now - tstart > 10:
|
||||
raise AutoTestTimeoutException("Failed to download parameters")
|
||||
raise AutoTestTimeoutException("Failed to download parameters (have %s/%s)" %
|
||||
(str(count), str(expected_count)))
|
||||
m = self.mav.recv_match(type='PARAM_VALUE', blocking=True, timeout=1)
|
||||
if m is None:
|
||||
raise AutoTestTimeoutException("tardy PARAM_VALUE (have %s/%s)" % (
|
||||
|
Loading…
Reference in New Issue
Block a user