Ship Stabilizer - Potateau/Space-Engineers GitHub Wiki
A script that uses gyros and remote control blocks to stabilize a ship with gravity. Keeps the ship downward orientation aligned with gravity.
Takes advantage of how Remote Control blocks can find how gravity is effecting them.
Gyro Override
This script uses gyro override to function. This means the ship needs at least one gyro to function and it is recommended to have more than the necessary amount of gyros so you have a somewhat natural feel to controlling your ship while the script helps to correct your alignment to gravity. The number of gyros working to stabilize the ship is specified in the script itself. You will have to manually edit that line to change it. It is defaulted to one. This will be a very slow stabilizer for large ships if it is not edited.
The amount that the gyros try to stabilize the ship is relative to how "unstable" the ship is.
Tolerance
Tolerance is set in radians in the terminal run argument. This tolerance is shared by all angles so you cannot have a different tolerance for roll and pitch.