Jump to content

Howto fix the adjustor bug aka "spiral/roll of death"


Hagbard

Recommended Posts

**Fixing the "Roll of death" aka "Stuck Adjustor" bug in DU**

Since almost forever there is a bug in the default autoconfigure scripts that causes adjustors to behave like they are "stuck". This leads to a lot of crashes. So here is the fix.

Open the LUA Editor of your control unit (hoverseat, commandchair, remote control, whatever)
click on "system"

In here we have to change 6 different "actions" for the 3 axis. they are the "ActionStop" actions for the following keys:
-left
-right
-forward
-backward
-yawleft
-yawright

Each of these actions is trying to change one specific variable by in/decreasing it.
you have to basically overwrite the single line and assign the value 0 to that variable

Here is the example for ActioStop(Forward):

Original Line: pitchInput = pitchInput + 1
change tis line to: pitchInput=0

now do that kind of change for all the above mentioned actions (each axis will have a different variable name)
then hit "apply" and enjoy the fixed bug, where your adjusters will not get stuck again.

If you want, you can create your own autoconfigure script with these changes (copy the default\**config file to the custom\ directory and do the changes in there

Link to comment
Share on other sites

the problem basically occurs as sometimes when the pilot quickly presses any of the buttons for the roll/pitch/yaw axis, one of the Filters/Events when releasing the key is not gettting executed. this leads to that axis constantly firing the adjustors.
The change above fixes this and works great for any default autoconfig.
If you use another HUD/flight control script, this might work, but might as well break other stuff.. so try at your own risk if you use something else then the default autoconfigs

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...