Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mavlogdump: added --reduce-rate msg #708

Merged
merged 1 commit into from
Jul 30, 2022
Merged

Conversation

tridge
Copy link
Contributor

@tridge tridge commented Jul 16, 2022

for reducing large logs for analysis

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
for reducing large logs for analysis
'''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']:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Speed-wise - and you're working with big logs - might be better to use a frozenset

@tridge tridge merged commit ebc4bd4 into ArduPilot:master Jul 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants