feat(fwc): Initial implementation of EMER CANC pb#10488
feat(fwc): Initial implementation of EMER CANC pb#10488FozzieHi wants to merge 42 commits intoflybywiresim:masterfrom
Conversation
|
Forgot about this, is this still WIP? Do you need a review? |
It's pretty much feature complete, I just need to clean up the logic in the 380 because I don't like how I'm passing across messages. It's also going to have a few conflicts with the 320 grouping PR so I'm leaning towards getting that in first. I'll let you when it's ready for a review 🙂 |
Sounds like a plan, thanks! |
Fixes #10423
Summary of Changes
Adds an initial implementation of the
EMER CANCECAM pushbutton. Due to not having a status page on the A32NX, I have only implemented the following for now:Manual audio inhibition (MAI)
This will stop any new sounds from being broadcast, for the duration the EMER CANC button is held down. My understanding of this is that it shouldn't stop any sounds being queued, only broadcast (you can then later clear any queued sounds which start playing with a single press of the pb). A good example of this is the AP disconnect sound after pressing the takeover pb, if you hold the EMER CANC button for the whole duration of the warning, the sound will never sound. However, if you let go mid-way through the warning, the sound will resume playing:
mai_held_down_full_duration_v2.mp4
mai_held_down_partial_duration_v2.mp4
Emergency audio cancel (EAC)
This will cancel one signal at a time each time the EMER CANC button is pressed down, stopping its audio and also associated master warning/caution lights. This means if you have multiple alerts active, you will need to press the button once at a time to clear all of them:
eac_press.mp4
Emergency caution cancel (ECC)
Partially implemented for now on the A32NX. As we don't have the status page I didn't think it was correct to cancel the caution for the entire flight without the user being able to see the cancelled cautions list. So for now this just acts like the
CLRkey does (cancel the master caution lights, remove from ECAM).Fully implemented on the A380X as we have a STS page available. Pressing the EMER CANC pb will cancel a caution for the entire flight, adding it to the "CANCELLED CAUTION" list on the STS More page.
Still not 100% sure on how the EWD should look on the A380, but I think it would look something like below:

I am more certain on the STS page:

This PR also fixes master warning prorities within the CRC category. This now means that overspeeds and AP disconnect will take precedence over C-chords.
Screenshots (if necessary)
References
Additional context
Discord username (if different from GitHub): fozzie
Testing instructions
Part 1
EMER CANCECAM pushbutton, confirm it stops playing.Part 2
EMER CANCECAM pushbutton, then cause an alarm (overspeed, AP disc. etc).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.