Replay: allow for early log end in check_replay.py
when session is killed we can lose one frame worth of EKF msgs
This commit is contained in:
parent
4cd5ac5164
commit
614a77d2c9
@ -83,7 +83,7 @@ def check_log(logfile):
|
|||||||
if args.verbose:
|
if args.verbose:
|
||||||
for mtype in counts.keys():
|
for mtype in counts.keys():
|
||||||
print("%s %u/%u %d" % (mtype, counts[mtype], base_counts[mtype], base_counts[mtype]-counts[mtype]))
|
print("%s %u/%u %d" % (mtype, counts[mtype], base_counts[mtype], base_counts[mtype]-counts[mtype]))
|
||||||
if count == 0 or count != base_count:
|
if count == 0 or abs(count - base_count) > 30:
|
||||||
failure += 1
|
failure += 1
|
||||||
|
|
||||||
for filename in args.logs:
|
for filename in args.logs:
|
||||||
|
Loading…
Reference in New Issue
Block a user