SmartDashboard put D_Val
authorMichael Wang <michaelwang9000@gmail.com>
Sat, 4 Feb 2017 21:40:56 +0000 (13:40 -0800)
committerEric Sandoval <harpnart@gmail.com>
Sun, 19 Feb 2017 18:39:38 +0000 (10:39 -0800)
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);