public void initTable(ITable table) { this.table = table; super.initTable(table); if (table != null) { table.putNumber("error", super.getError()); table.putNumber("output", super.get()); table.putBoolean("onTarget", false); // timer = new Timer(); // timer.schedule(new // org.usfirst.frc330.wpilibj.BeachbotMultiPrefSendablePIDController.SendDataTask(), 0, 250); } }
public synchronized void setPercentTolerance(double percentage) { super.setPercentTolerance(percentage); tolerance_set = true; }
public synchronized void setAbsoluteTolerance(double absvalue) { super.setAbsoluteTolerance(absvalue); tolerance_set = true; }