-
-
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/doors): disallow opening doors in mid-flight #9104
fix(a380x/doors): disallow opening doors in mid-flight #9104
Conversation
@@ -11,7 +11,9 @@ | |||
</UseTemplate> | |||
<UseTemplate Name="ASOBO_GT_Interaction_LeftSingle_Leave_Code"> | |||
<LEFT_SINGLE_CODE> | |||
#TOGGLE_ID# (>K:TOGGLE_AIRCRAFT_EXIT) | |||
(L:A32NX_PRESS_MAN_CABIN_DELTA_PRESSURE, psi) 0.8 < (A:INTERACTIVE POINT OPEN:#ID#, Percent) 0 > || if{ |
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.
In practice, this should never happen that the cabin is pressurized and the door is open, however this condition allows for correcting possible bugs where if the plane spawns with the door open (and cabin is pressurized), that the door can still be closed.
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.
When the pressurization simulation reads all door states, this will never happen as you would get cabin decompression if a door is open with delta P > 0. But since that's still not done, this looks good to me.
Quality Assurance Report Object of Testing: Testing Process Taken off and reached altitude of 3000FT Positives: Doors did not open during defined testing conditions as expected Testing Results: Passed |
…#9104) fix: door opening pressure Co-authored-by: flogross89 <[email protected]>
fix: door opening pressure Co-authored-by: flogross89 <[email protected]> (cherry picked from commit af6f247)
Fixes #[issue_no]
Summary of Changes
Blocks door from opening above a certain positive pressure difference between cabin and outside.
Screenshots (if necessary)
References
Additional context
Discord username (if different from GitHub): 2cas
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.