-
-
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/fctl): Automatic THS trim after engine start or touch and go #9843
base: master
Are you sure you want to change the base?
Conversation
I know the code is still ready for review, but i had a bit of time so just wanted to try it out. Engine start automatic THS: Touch and go: 2025-02-08.22-26-47.mp4 |
@flogross89 I just wanted to give a few tips or improvements. The first thing I noticed is that process of setting the trim automatically takes way to long. In the real aircraft the process of setting the THS takes only about 2-3 seconds(Real video for reference). In the FBW it takes about 5 or even longer. |
@aadee9940 Thanks a lot! Have you considered joining our QA team? |
@Ueeew Very helpful, thanks! Indeed, the speed is far too slow, might need to check my triggering mechanism again, I believe I have to use another method. |
@flogross89 unfortunately I don't have access to the FBW server as before, but if the mods want to have a look at my appeal LMK 😊 Yeah it completely left my mind I have to program my automatics to get proper FMA modes on landing, my fault 😂. |
@aadee9940 Ah, didn't know that. I'm not a mod so I don't know any details, but I trust their process. Yep, that's what I wanted to see, @Ueeew I changed the trim triggering mechanism, it should now use the full available speed (which is limited by the PRIMs, so that should be accurate). |
@flogross89 could you just merge the master again into this PR so that it’s up-to-Date. Thanks |
# Conflicts: # fbw-a380x/src/systems/instruments/src/PFD/PitchTrimDisplay.tsx # fbw-a380x/src/systems/instruments/src/PFD/shared/PFDSimvarPublisher.tsx
Sure, done |
We can see on your video, on the F/O's PFD that the THS took 11 seconds to be set (from 2min55 to 3min06 of the video). |
# Conflicts: # fbw-a380x/src/systems/instruments/src/PFD/shared/PFDSimvarPublisher.tsx # fbw-a380x/src/systems/systems-host/index.ts
After landing, it should move to the maintenance position (zero degrees, neutral). This also happened before the PR since it’s the same behavior as on the a320s. In case of go-around however, it will move to the GW CG position again |
A few notes from an initial test.
Can you confirm how should the THS trim behaviour be observed during a touch and go since the THS gauge doesn't appear during the touch and go? Should the pitch trim position be noted prior to takeoff and the pitch trim should return to the same pitch trim value during the touch and go? |
@heclak Thanks for testing!
When the following conditions apply, the indicator should be shown during touch&go: During touch&go, the pitch trim should be set to the optimal value w.r.t. the current GW CG, measured/computed by the FQMS. |
This is how the gauge appears immediately after power on. I believe the magenta box/lines shouldn't be there? Once the HYD is powered, the system starts trimming but the trim value that's usually on the right isn't displayed. It trims with the same visual state as above. And the magenta value on the right only appears AFTER the trimming is completed. Refer to the magenta numbers in the screenshot below. Based on the rough footage of the auto THS working in the reference video above, the magenta markings in the middle of the trim gauge and the THS target on the right should both appear at the same time once the HYD is powered? I'll have to give the touch and go a try again. The indicator didn't appear for me, maybe one of the conditions wasn't fulfilled on my run. |
I think the color of the text might need adjustment too? Looking through this video, maybe the text is white before the magenta lines appear? https://youtu.be/p28erS6uWHE?si=PzILc6PvMB_cIwpD&t=1423 Edit: Ah. Never mind. I think the color difference is because of the magenta state issue. |
Summary of Changes
Adds auto THS trim after engine start or when performing touch and go.
Also, cleans up some XML for the pedestal and the visibility conditions for the magenta GW CG box in the PFD's pitch trim indicator.
Conditions for engine start:
Conditions for touch and go:
Screenshots (if necessary)
References
Additional context
Discord username (if different from GitHub):
Testing instructions
Verify, that magenta PFD pitch trim indicator is only visible after first engine started and HYD is pressurized, and disappears after takeoff (not visible for landing)
Try to find reference videos to verify whether the trim speed is comparable. Look at the degrees per second, not the overall time.
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.