tools: add --health flag to mavsummarize.py#1190
Open
Aryan95614 wants to merge 1 commit into
Open
Conversation
Adds a flight health summary covering vibration (VIBE), EKF state estimation (XKF4 for EKF3 and NKF4 for EKF2), battery voltage (BAT), GPS quality (GPS), and decoded error events (ERR). Also fixes a minor bug where PrintSummary() referenced the loop variable `filename` instead of the function parameter `logfile`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
--healthflag tomavsummarize.pythat prints a quick-look flight health report after the normal summary. Covers:Sample output:
When
--healthis not passed, behavior is unchanged. The flag expands therecv_matchtype filter to include VIBE, XKF4, NKF4, BAT, GPS, and ERR in the same single-pass read.Also fixes a minor pre-existing bug where
PrintSummary()referenced the loop variablefilenameinstead of the function parameterlogfile.