-
-
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(a380x/fws): ECAM abnormal procedures: Iteration 2 #9638
base: master
Are you sure you want to change the base?
Conversation
0cb413b
to
05b0fc7
Compare
# Conflicts: # fbw-a380x/src/systems/systems-host/systems/FlightWarningSystem/FwsAbnormalSensed.ts # fbw-a380x/src/systems/systems-host/systems/FlightWarningSystem/FwsNormalChecklists.ts
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.
Some FWS logic comments:
fbw-a380x/src/systems/systems-host/systems/FlightWarningSystem/FwsCore.ts
Outdated
Show resolved
Hide resolved
fbw-a380x/src/systems/systems-host/systems/FlightWarningSystem/FwsCore.ts
Outdated
Show resolved
Hide resolved
this.fwsCore.init(); | ||
} | ||
}, true); | ||
this.fws1Failed.sub((f) => SimVar.SetSimVarValue('L:A32NX_FWS1_IS_HEALTHY', SimVarValueType.Bool, !f)); |
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.
Ideally these would be set inside the FWS itself after the startup completed/shutdown but since the code keeps running regardless of that timer I guess we can ignore it.
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 could also move the bootstrapping to the FWS classes, but this would require a larger refactor. Since when both FWS are failed, the FWS instance is destroyed and no update call is happening anymore
fbw-a380x/src/systems/systems-host/systems/FlightWarningSystem/FwsAbnormalSensed.ts
Outdated
Show resolved
Hide resolved
fbw-a380x/src/systems/systems-host/systems/FlightWarningSystem/FwsCore.ts
Outdated
Show resolved
Hide resolved
…/FwsCore.ts Co-authored-by: Pascal Störzbach <[email protected]>
fbw-a380x/src/systems/systems-host/systems/FlightWarningSystem/FwsCore.ts
Outdated
Show resolved
Hide resolved
fbw-a380x/src/systems/systems-host/systems/FlightWarningSystem/FwsCore.ts
Outdated
Show resolved
Hide resolved
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.
Apart from this minor thing LGTM
fbw-a380x/src/systems/systems-host/systems/FlightWarningSystem/FwsCore.ts
Outdated
Show resolved
Hide resolved
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.
Looks good now 👍
Fixes #9222
Fixes #9212
Fixes #8988
Summary of Changes
,[]
to ECAM font (no references available)Out of scope:
Screenshots (if necessary)
https://streamable.com/oses9h
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.