Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tools/mavlogdump.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def reduce_rate_msg(m, reduction_rate):
'''return True if this msg should be discarded by reduction'''
global last_msg_rate_t
mtype = m.get_type()
if mtype in ['PARM','MSG','FMT','FMTU','MULT','MODE','EVT']:
if mtype in ['PARM','MSG','FMT','FMTU','MULT','MODE','EVT','UNIT']:
return False
t = getattr(m,'_timestamp',None)
if t is None:
Expand Down Expand Up @@ -258,7 +258,7 @@ def match_type(mtype, patterns):
continue

if not mavutil.evaluate_condition(args.condition, mlog.messages) and (
not (m_type in ['FMT', 'FMTU', 'MULT','PARM','MODE'] and args.meta)):
not (m_type in ['FMT', 'FMTU', 'MULT', 'PARM', 'MODE', 'UNIT'] and args.meta)):
continue
if args.source_system is not None and args.source_system != m.get_srcSystem():
continue
Expand Down