Skip to content

feat(fwc): Initial implementation of EMER CANC pb#10488

Draft
FozzieHi wants to merge 42 commits intoflybywiresim:masterfrom
FozzieHi:emer-canc
Draft

feat(fwc): Initial implementation of EMER CANC pb#10488
FozzieHi wants to merge 42 commits intoflybywiresim:masterfrom
FozzieHi:emer-canc

Conversation

@FozzieHi
Copy link
Copy Markdown
Contributor

@FozzieHi FozzieHi commented Jan 18, 2026

Fixes #10423

Summary of Changes

Adds an initial implementation of the EMER CANC ECAM 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 CLR key does (cancel the master caution lights, remove from ECAM).

Screenshot 2026-02-21 162400

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:
Screenshot 2026-02-22 140011

Screenshot 2026-02-22 151227

I am more certain on the STS page:
Screenshot 2026-02-22 181536

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

image

Additional context

Discord username (if different from GitHub): fozzie

Testing instructions

Part 1

  1. Trigger an altitude deviation (C-chord) by deviating from the altitude set in the FCU.
  2. Trigger an overspeed, confirm that the overspeed alarm starts playing.
  3. Clear the overspeed using the EMER CANC ECAM pushbutton, confirm it stops playing.

Part 2

  1. Hold the EMER CANC ECAM pushbutton, then cause an alarm (overspeed, AP disc. etc).
  2. Check that no audio plays whilst you hold the button down, and that the audio resumes when you release the button.

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.

  1. Make sure you are signed in to GitHub
  2. Click on the Checks tab on the PR
  3. On the left side, find and click on the PR Build tab
  4. Click on either flybywire-aircraft-a320-neo, flybywire-aircraft-a380-842 (4K) or flybywire-aircraft-a380-842 (8K) download link at the bottom of the page

@FozzieHi FozzieHi added A32NX Related to the A32NX aircraft A380X Related to the A380X aircraft labels Feb 22, 2026
@flogross89
Copy link
Copy Markdown
Contributor

Forgot about this, is this still WIP? Do you need a review?

@FozzieHi
Copy link
Copy Markdown
Contributor Author

FozzieHi commented Apr 4, 2026

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 🙂

@flogross89
Copy link
Copy Markdown
Contributor

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A32NX Related to the A32NX aircraft A380X Related to the A380X aircraft

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Overspeed alarm does not take precedence over altitude c-chord

2 participants