flybywiresim / aircraft

The A32NX & A380X Project are community driven open source projects to create free Airbus aircraft in Microsoft Flight Simulator that are as close to reality as possible.
https://flybywiresim.com
GNU General Public License v3.0
5k stars 1.04k forks source link

Random Rudder Input Spikes Disconnect AutoPilot #5070

Closed speedbird5 closed 3 years ago

speedbird5 commented 3 years ago

Aircraft Version

Development

Build info

"built": "2021-06-08T21:41:41+00:00",
  "ref": "master",
  "sha": "bda03c6c08a45df4a4d72bae3040666ad40b6561",
  "actor": "aguther",
  "event_name": "manual"

Describe the bug

When flying with the autopilot engaged. i get occasional Random Rudder Input Spikes which Disconnect AutoPilot. I can see the rudder pedals rapidly move left and right.

I have recalibrated my rudder pedals and they are working normally.

Expected behavior

No random rudder inputs.

Steps to reproduce

Use this mod and try to fly with A/P engaged. The rudder spikes are not frequent.

Watsi01 commented 3 years ago

I never had that > unless my controller had issues. I would assume this comes from your periphery and not from the A32NX itself. Could also be a misconfig with your key-/ axisbindings. Check out your controllers (windows settings). See if the rudder controls spike there too occasionally. Wiggle the cables, etc.

speedbird5 commented 3 years ago

I never had that > unless my controller had issues. I would assume this comes from your periphery and not from the A32NX itself. Could also be a misconfig with your key-/ axisbindings. Check out your controllers (windows settings). See if the rudder controls spike there too occasionally. Wiggle the cables, etc.

I have done all that and more. The rudders - MFG Crosswind - work flawlessly in other flight sims.

aguther commented 3 years ago

I‘m pretty sure this is an issue related to your setup. I never had this a single time and tbh right now I have no idea how I should fix that for you. Everything that is done is capture the events that the sim provides and use that as input.

Maybe answers to the following questions will help to shed a light on the issue you have:

Watsi01 commented 3 years ago

Also (just to be sure): remove any other mod or custom livery from your community folder and try again.

speedbird5 commented 3 years ago

I have just run some joystick monitoring software for an hour and the rudder did not move once.

I do have some custom liveries so i will remove them. I was using the Air Canada livery from flightsim.to

And i will also download a fresh latest version.

tracernz commented 3 years ago

Make sure there are no other controllers bound to rudder axes in your MSFS settings.

speedbird5 commented 3 years ago

Make sure there are no other controllers bound to rudder axes in your MSFS settings.

That was the first thing I checked

aguther commented 3 years ago

Make sure there are no other controllers bound to rudder axes in your MSFS settings.

That was the first thing I checked

Did you also check for other events on the keyboard and you other hardware? There are multiple ways to manipulate the rudder, not only axis.

speedbird5 commented 3 years ago

Yes I deleted even keyboard binds to control the rudder, and then went through every controller and checked there was nothing assigned. This is both within MSFS and FSUIPC.

First: I deleted everything from the community folder entirely and then checked with the default A320 and there were no problems.

Second: I then downloaded a fresh install of the latest dev build and straight away the problem came back.

I then deleted both the rudder and the left and right brake bindings and noticed that through FSUIPC there are a constant stream of left and right brake applications being sent to the sim. See attached.

I re checked all my bindings - within MSFS and FSUIPC - for any spurious brake assignments but there were none.

When I had the same FSUIPC monitor up in the default A320 there were no spurious Left and Right brake applications.

It seems the A32NX is sending a constant stream of commands for Left and Right Brake. Not sure if it is relevant to this problem.

I will be away from my computer for the next two days so will not be able to test further until i return.

thanks.

2021-06-09 21_53_41-Select FSUIPC7 Console Log

aguther commented 3 years ago

The AXIS_LEFT_BRAKE_SET and AXIS_RIGHT_BRAKE_SET events are from the custom braking implementation and are not related to the rudder events.

The following events are relevant for rudder:

The rudder pedals in the sim are now bound solely to trim and rudder input. So when they move rapidly it‘s coming as input. When AP is engaged and the input is more than 40% of the possible travel the AP disconnects.

aguther commented 3 years ago

As an additional info: I think you don’t see the rudder events in FSUIPC because the FBW masks those events with a high priority.

speedbird5 commented 3 years ago

Hi all, after extensive testing it looks like it may be a rare problem with my rudder hardware. Please close the topic and thanks.

sidnov commented 3 years ago

Closed as per author's response