-
-
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
feat(a32nx/fms): database holds #9775
Conversation
} | ||
return hold.altitude2 - altitude; | ||
case "+": | ||
return altitude >= hold.altitude1 ? 0 : hold.altitude1 - altitude; |
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.
If you want, you could do
return altitude >= hold.altitude1 ? 0 : hold.altitude1 - altitude; | |
return Math.max(0, hold.altitude1 - altitude); |
The same for the next case.
Hey, do you have any examples of airports that may have such database holds? I tried KJFK, EGLL, and KLGA, which all have holds on their arrival charts. However, the holds came into the CDU as "Computed" rather than "Database." I also disabled the navigraph cycle to force it to use the Asobo-provided one. |
Are you testing in MSFS2024 and with this build? |
Yes |
Thanks! Found an issue, where the terminal waypoint that the hold belongs to belongs to a different airport than the hold. The way MSFS allows access to the holds at the moment is quite awkward unfortunately, as we can only get them from the airport facility. KJFK has holding patterns at:
EGLL has holding patterns at:
KLGA has holding patterns at:
These should all work now if:
Only the first one was the case before, and that always worked in NZ where I tested. |
Got it, will continue my testing now. Thanks! |
Quality Assurance Trainee Report Discord Username : utkrishtm Testing Process:
Testing Results: |
Fixes #[issue_no]
Summary of Changes
Adds support for database holds using the terminal area holding pattern data added in MSFS2024.
Screenshots (if necessary)
References
Additional context
Discord username (if different from GitHub):
Testing instructions
Try to insert a hold on a terminal are waypoint that has a hold defined in the LIDO charts (https://planner.flightsimulator.com). Make sure the hold parameters match the chart. You should get a database hold. Edit a parameter such as the time/distance, and ensure you get a REVERT TO DATABASE prompt, and that it works.
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.