private int minDoneCycleCount;
private int doneCycleCount;
+ private String name;
+
public PIDController() {
this(0.0, 0.0, 0.0, 0.0, 0.0);
}
}
+ public void setName(String s) {
+ this.name = s;
+ }
+
public PIDController(double p, double i, double d, double eps) {
this(p, i, d, eps, eps * 0.8);
}
this.pConst = p;
this.iConst = i;
this.dConst = d;
+
+ System.out.println(this.name + " " + " P: " + this.pConst + " I: "
+ + this.iConst + " D: " + this.dConst);
}
public void setConstants(double p, double i, double d, double eps,