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

Commander check reporting improvements #22886

Merged
merged 3 commits into from
Mar 15, 2024

Conversation

sfuhrer
Copy link
Contributor

@sfuhrer sfuhrer commented Mar 14, 2024

Solved Problem

The failsafe event messages are a bit long.

Solution

Make them shorter.
That's how it would look like now:
https://github.com/PX4/PX4-Autopilot/assets/26798987/ece1ea4e-74de-473c-8458-a7c24d986d6e

Changelog Entry

For release notes:

Improvement: Commander: make failsafe warnings shorter

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
Such that the focus is on the important keywords.

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
@sfuhrer sfuhrer requested review from bkueng and cmic0 March 14, 2024 10:49
@@ -402,15 +402,15 @@
},
"2": {
"name": "fallback_posctrl",
"description": "fallback to Position mode"
"description": "Position mode"
Copy link
Member

Choose a reason for hiding this comment

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

Fallback isn't important context?

Copy link
Contributor Author

@sfuhrer sfuhrer Mar 15, 2024

Choose a reason for hiding this comment

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

I don't think so. All the fields in this enum are fallbacks in the end.
See my screen recording above to see how it looks for the operator. I think in the context it's enough.

Copy link
Contributor Author

@sfuhrer sfuhrer Mar 15, 2024

Choose a reason for hiding this comment

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

That's the message you'd get when GPS in invalidated in Position flight mode for example.
image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

And that was an option I had though about once. It adds the key words "failsafe action" before the fallback mode:
image
I'm not strongly in favor of any, but think the "failsafe action" keywords are not crucial for context.

@sfuhrer sfuhrer merged commit da39d07 into main Mar 15, 2024
89 of 92 checks passed
@sfuhrer sfuhrer deleted the pr-commander-check-reporting-improvements-main branch March 15, 2024 09:25
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

3 participants