-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
fix(a380x): fix speed margin display above crossover altitude #9861
base: master
Are you sure you want to change the base?
fix(a380x): fix speed margin display above crossover altitude #9861
Conversation
/** | ||
* The maximum operating speed in knots | ||
*/ | ||
VMO: number; | ||
|
||
/** | ||
* The maximum operating Mach number | ||
*/ | ||
MMO: number; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/** | |
* The maximum operating speed in knots | |
*/ | |
VMO: number; | |
/** | |
* The maximum operating Mach number | |
*/ | |
MMO: number; | |
/** | |
* The maximum operating speed in knots | |
*/ | |
Vmo: number; | |
/** | |
* The maximum operating Mach number | |
*/ | |
Mmo: number; |
Our current style.
-e- hmm, well the rest of it is for some reason upper-snake-case? 😕 That wasn't ever FBW style.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have this convention written down somewhere? I also prefer PascalCase for these parameters that do not change at runtime, but it does not appear that this has been enforced so far.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably write them down, yeah.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have opened a separate PR to convert them #9865. It would be ideal to have a lint rule for this, but I have not found one that does this.
c432c24
to
fc706d3
Compare
fc706d3
to
0c16431
Compare
Fixes #[issue_no]
Summary of Changes
The speed margins are upper-limited by VMO and MMO. Previously these values were hardcoded to the A320 values (350 kts and M.82). This PR makes them configurable per aircraft type.
Screenshots (if necessary)
Before:


After:
References
Additional context
Discord username (if different from GitHub):
Testing instructions
How to download the PR for QA
Every new commit to this PR will cause new A32NX and A380X artifacts to be created, built, and uploaded.