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

MAVExplorer: Add verbose output of DF log messages #1313

Merged
merged 1 commit into from
Jan 27, 2024

Conversation

shancock884
Copy link
Contributor

This PR provides the MAVExplorer side of: ArduPilot/pymavlink#911

It enables the use of the '--verbose' argument on the dump command for DF logs.
I use hasattr to check for dump_verbose function to avoid exception in case an older pymavlink is installed.

Example of output:

MAV> dump --verbose POS
2023-12-30 09:59:58.079: POS
    TimeUS: 37126810 µs
    Lat: 33.810313 deglatitude
    Lng: -118.393867 deglongitude
    Alt: -0.14000000059604645 m
    RelHomeAlt: -0.535001277923584 m
    RelOriginAlt: -0.21500125527381897 m

Use hasattr to check for dump_verbose function to avoid exception with older pymavlink
@peterbarker peterbarker merged commit 7531734 into ArduPilot:master Jan 27, 2024
2 checks passed
@peterbarker
Copy link
Contributor

Merged, thanks!

@shancock884 shancock884 deleted the dump-verbose-dfmsg branch January 27, 2024 09:35
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.

2 participants