PID.1

Derived: PID

PID(R) regulator (with extra parameters). Used to overcome certain problems of direct control. P-only regulator is pass-through (doing nothing), but other features like ouput-change-limiting can help smooth the control signal. But that alone could stop regulating near the target, when there is some minimal threshold for action to be taken. Rotation controll (roll, killRot) with P-only regulator could settle with small but non-zero offset, keeping the vessel/ship rotating by small amount indefinitely. PI-regulator overcomes this by accumulating the error and increasing the control signal until effect can be observed (rotation speed / angular velocity changes). But that has its own problem - induced oscillation (and wind-up). Two other factors - R and D - can be used to overcome that oscillation. D directly lowers output signal when effects are observed (decrease raw-roll control signal when observing change in angular velocity) and R lowers the accumulator used by I to dampen the oscillation (reducing both oscillation/overshooting and wind-up caused by big changes in input signal). Both also react to outside disturbances (like drag).

Instance Properties:

Instance Methods: