-
Notifications
You must be signed in to change notification settings - Fork 44
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
Cockpit flight controls not reacting to trim settings. #1471
Comments
…settings Fixes c172p-team#1471 - cockpit flight controls not reacting to trim settings
Thank you, we'll take a look and get it merged. |
@dany93 I think this is OK but I would like your approval. If your good with this please go ahead and merge. |
Just for the discussion - is this really correct? So in my opinion, the current behaviour is correct regarding the yoke, but the elevator should maybe not be moved by the trim wheel like its currently is (only in flight). |
You are technically correct, but the current behaviour of trim in most flight simulators is dictated by these 2 issues:
For these reasons, the approach commonly taken by flight simulators is to allow the trim to change flight control displacements even in the absence of airflow. This is IMO the best possible compromise, even if it is technically unrealistic (mostly from a visual point of view, though). In any case, the current behaviour of FG C172 has certainly a discrepancy, in that external control surfaces move but flight controls remain centered. To keep consistency with how trim action is currently modeled, flight controls should move as well when changing trim settings. |
Thats not just a PoV issue. In real life, you can get out of elevator traversal range when mistrimmed at landings for example. By moving the Yoke also when trimming, you effectively either exaggerate that effect or you inhibit it. It is a horse lead by a cart: The yoke moves not because of the trim, but because of changed airflow the pressure to the yoke changes. Your model moves the yoke as direct result of trimming.
Yes it is. However in my opinion the proper fix would be:
Maybe I just don't understand correctly... In any case; I think it is a good Idea to also add a configuration option (probably "on" as default") so the user can disable this in case he has either other feelings or a force feedback system. I for example fly with mouse, and when trimming the plane the yoke does not need to move. For example when applying power, this results in the correct behavior of "i need to push the yoke forward" and when trimming away the pressure, the yoke can stay where it is. The "felt power to push" goes from n to 0, but of course i cannot feel this. But it's what happening to the yoke when looking at it when flying. With a joystick that wants to center itself all the time, this is different, however, because the "no pressure" position is always the centered one, and when letting go of your joystick this will dramatically move your yoke. |
@hbeni wrote
True in real life. The C172 has no aileron trim, am I right? |
Indeed, for example in the FG C172, if you trim 100% nose up, pulling the stick will have no effect since the elevator is already at its max nose up position, while pushing the stick all the way down will produce neutral elevator (so you lose 50% of control authority). I think this is the best compromise for a flight sim, given the lack of force feedback on 99.9% of PC flight controls. The issue however is that currently the trim moves the control surfaces but not the yoke/pedals. This is inconsistent with how trim effects are currently implemented: if it is decided that moving the trim actually moves the elevator (as I said, the best compromise for me), then the yoke should move as well. There is a direct and fixed relationship between flight controls position and flight surfaces position in an aircraft with reversible flight controls like the C172. As it is now instead, if you move the trim, you can see the elevator/rudder surfaces moving, while the yoke/pedals stay centered. This also happens in flight. |
Back in '21 we also had an interesting discussion about this: HHS81/c182s#382 Edit: With an interesting implementation we discussed back then, see jakkos98 comment there |
No, because considering how the trim mechanism is currently implemented in FG (and in most PC flight sims), the modification I'm proposing would not change anything in flight dynamics or control authority. It would be just a visual change regarding the yoke: as it is now, the yoke always maintains the same centered position when the aircraft is flying trimmed, whatever the speed/AoA it is trimmed for; with my modification instead, the yoke would actually change its position when the aircraft is trimmed for different speeds/AoA's. Just like it happens in the real aircraft. So, just to be sure, the modification I'm proposing has no effects whatsoever on any aspect of the flight dynamics. It is purely visual, and consistent with how trimming is currently modeled in the sim. |
Really? In these situations I should not had pressure on the yoke. |
Uhm, I think you're misundertanding what my modification does. My modification will only change the visual position of the yoke in the cockpit (to be consistent with elevator position, as it should be). Do a comparison flight test between the master C172 and the branch with my modification: you'll notice that when flying at the same conditions, everything will be the same, including of course the internal variables of the fdm. The only difference will be the visual position of the yoke in the cockpit: it will be the correct one with my modification. |
Again, to reiterate, with my modification nothing would change in flight dynamics, neither for people using joysticks or mouse or any other device. Indeed, my modification just changes the output to some visual variables (specifically, the position of cockpit flight controls), and it does not change in any way the fdm. This can be easily seen by checking the few changes made to the code. |
Thanks for pointing that out :) |
Yes, you are correct. But we do have the elevator trim modeled. I also remember someone working on the FDM to control that surface and vice versa. I don't remember offhand what that entailed though. |
If trim settings are modified, the external model correctly shows the control surfaces changing their positions with centered flight controls.
Cockpit flight controls, though, will not react to trim changes, and the yoke and pedals will stay centered, even if the control surfaces are trimmed out-of-center. This is wrong for the C172, since it has direct mechanical link (cables) between flight controls and control surfaces.
The cause of this, is that the three variables:
are output from:
whereas they should be output from:
which take into account the trim input.
I tried the modification and it works as it should.
The text was updated successfully, but these errors were encountered: