public PIDConstant(ComputeParams cps, PIDControlAlgorithm algor = PIDControlAlgorithm.PID, bool liveUpdEnable = false, bool reverse = false, double tcoef = 1) { this.ComputeParams = cps; this.ControlAlgorithm = algor; this.LiveUpdateEnable = liveUpdEnable; this.Reverse = reverse; this.TargetCoefficient = tcoef; }
public PIDConstant(double cp, double ti, double td, PIDControlAlgorithm algor = PIDControlAlgorithm.PID, bool liveUpdEnable = false, bool reverse = false, double tcoef = 1) { this.CP = cp; this.TI = ti; this.TD = td; this.ControlAlgorithm = algor; this.LiveUpdateEnable = liveUpdEnable; this.Reverse = reverse; this.TargetCoefficient = tcoef; }