mirror of https://github.com/ArduPilot/ardupilot
autotest: show log numbers while dumping
This commit is contained in:
parent
02ba05aa0f
commit
ab3e933f11
|
@ -53,6 +53,7 @@ def dump_logs(atype):
|
||||||
lognums.append(int(mavproxy.match.group(1)))
|
lognums.append(int(mavproxy.match.group(1)))
|
||||||
mavproxy.expect("Log]")
|
mavproxy.expect("Log]")
|
||||||
for i in range(numlogs):
|
for i in range(numlogs):
|
||||||
|
print("Dumping log %u (i=%u)" % (lognums[i], i))
|
||||||
mavproxy.send("dump %u\n" % lognums[i])
|
mavproxy.send("dump %u\n" % lognums[i])
|
||||||
mavproxy.expect("logs enabled:", timeout=400)
|
mavproxy.expect("logs enabled:", timeout=400)
|
||||||
mavproxy.expect("Log]")
|
mavproxy.expect("Log]")
|
||||||
|
|
Loading…
Reference in New Issue