Skip to content
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): Correct flap/slats positions #8651

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

flogross89
Copy link
Contributor

@flogross89 flogross89 commented May 10, 2024

A380X only, no QA needed.

Summary of Changes

This should be an improvement to the current SFCC implementation for the A380X.

In scope:

  • Actuate to correct flap angles, modify FPPU angles
  • Actuate to correct slats angles, modify FPPU angles
  • Modify PFD lower part flaps/slats display to match new FPPU angles
  • Update Automatic extension system (AES)
  • Update Automatic retraction system (ARS)
  • Introduce new config 2*
  • Implement Flap load relief system (FLRS) + tests
  • Slat alpha/speed lock function + tests
  • Slats/flaps cruise baulk function + tests

Out of scope:

  • Aileron droop (should remain the same as the A32NX)
  • 2 out of 8 slats are droop noses
  • Electric actuation of slats via SLAT SYS 1 (via AC ESS, only if G HYD pressurized)
  • Power-off brake
  • Wing tip brakes
  • Asymmetry position pick-off units (APPU)
  • Flap disconnect sensor
  • Slat/Flap fault for HYD faults + tests

Screenshots (if necessary)

References

Additional context

No appropriate references for A380 FPPU, hence it's assumed the same FPPU as in the A320 is used.
Resulting FPPU angles:

CONF Flap surface angle Flap FPPU angle Slat surface angle Slat FPPU angle
0 0 0 0 0
1 0 0 20 247.27
1+F 8 108.28 20 247.27
2 17 154.65 20 247.27
2* 17 154.65 23 284.65
3 26 194.03 23 284.65
FULL 32 218.91 23 284.65

Discord username (if different from GitHub): floridude

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.

  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 or flybywire-aircraft-a380-842 download link at the bottom of the page

@github-actions github-actions bot added this to 🟡 Code Review: Ready for Review in Quality Assurance May 10, 2024
@flogross89 flogross89 added Not Ready For Testing Not ready for testing as still being discussed or developed. Not Ready For Review Still draft but needs a GitHub build QA A380 Only QA only for A380 required A380X Related to the A380X aircraft labels May 10, 2024
@flogross89 flogross89 force-pushed the fix-a380x-flaps-positions branch 3 times, most recently from 9064aa9 to 9c59c77 Compare May 12, 2024 02:03
@flogross89 flogross89 removed Not Ready For Testing Not ready for testing as still being discussed or developed. Not Ready For Review Still draft but needs a GitHub build labels May 12, 2024
Quality Assurance automation moved this from 🟡 Code Review: Ready for Review to 🔴 Code Review: In progress May 15, 2024
@flogross89
Copy link
Contributor Author

@tracernz Reworked some bits, your comments should now be addressed

@flogross89 flogross89 requested a review from tracernz May 25, 2024 23:31
@@ -210,7 +211,7 @@ impl SlatFlapControlComputer {
if context.is_in_flight()
&& (context.indicated_airspeed().get::<knot>()
< Self::ALPHA_SPEED_LOCK_IN_AIRSPEED_THRESHOLD_KNOTS
|| context.angle_of_attack().get::<degree>()
|| adirs_output.angle_of_attack(1).value().get::<degree>()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should check the SSM before using the value. Should it just blindly always use ADR1, or should there be some selection logic to choose an ADR based on validity of the data/SSM?

fn set_angle_of_attack(&mut self, v: Angle) {
self.angle_of_attack = Arinc429Word::new(v, SignStatus::NormalOperation);
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels very weird. Don't we already have the stuff to mock the ADR in the test bed? @Gurgel100 will know better than me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A380X Related to the A380X aircraft QA A380 Only QA only for A380 required
Projects
Quality Assurance
🔴 Code Review: In progress
Development

Successfully merging this pull request may close these issues.

None yet

2 participants