Example #1
0
 public AltitudeController(Vessel vessel, IVertSpeedController vertSpeedController)
 {
     Target         = new AltitudeTarget(vessel);
     ControlElement = new VertSpeedElement(vertSpeedController);
     SetPoint       = 2000.0f;
     CoeffP         = 0.5f;
     TimeConstI     = 10.0f;
     UseCoeffI      = false;
 }
 public VertSpeedElement(IVertSpeedController vertSpeedController)
 {
     VertSpeedController = vertSpeedController;
 }