SmartDashboard put D_Val
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / Robot.java
index c91911294486808861ca0bc579f045e15afdce07..80f829ba0764e768fa29a33a6efa1a86840e44c5 100644 (file)
@@ -83,7 +83,7 @@ public class Robot extends IterativeRobot {
   @Override
   public void autonomousPeriodic() {
     Scheduler.getInstance().run();
-    DriveTrain.getDriveTrain().getDriveController().setConstants(
+    DriveTrain.getDriveTrain().getDriveController();
 
     double driveP = SmartDashboard.getNumber(Constants.DriveTrain.DRIVE_D_Val,
         Constants.DriveTrain.PID_ERROR);