public override void Init() { base.Init(); bearing_pid.setPID(BRC.DirectionPID); bearing_pid.Reset(); CFG.BR.AddSingleCallback(ControlCallback); }
public override void Init() { base.Init(); rocket_pid.setPID(ALT.RocketPID); jets_pid.setPID(ALT.JetsPID); Falling.Period = ALT.FallingTime; CFG.VF.AddHandler(this, VFlight.AltitudeControl); if (VSL.LandedOrSplashed) { CFG.DesiredAltitude = -10; } }