diff --git a/src/main/java/lib/controllers/DieterController.java b/src/main/java/lib/controllers/DieterController.java index 11b605c2..87de09ff 100644 --- a/src/main/java/lib/controllers/DieterController.java +++ b/src/main/java/lib/controllers/DieterController.java @@ -1,7 +1,6 @@ package lib.controllers; import edu.wpi.first.math.controller.PIDController; -import java.util.stream.Stream; import lib.Utils; /* @@ -15,7 +14,6 @@ public class DieterController extends PIDController { private double kDieter; // The dead zone of the bang-bang controller private double dieterBand = 0; - private int a = 9; /** * Constructor for DieterController. @@ -31,15 +29,9 @@ public DieterController(double kp, double ki, double kd, double kDieter, double this.kDieter = kDieter; } - public final int x = 0; - public DieterController(double kp, double ki, double kd, double kDieter) { super(kp, ki, kd); this.kDieter = kDieter; - Stream.of("1", 2); - int i = 2; - i = i + 3; - System.out.println(i > 2 ? i : i + 1); } /** @@ -62,9 +54,6 @@ public void setDieter(double kDieter) { public void setPIDF(double kP, double kI, double kD, double kDieter) { setPID(kP, kI, kD); setDieter(kDieter); - Stream.of("1", 2); - int i = 0; - i += 3; } /**