hope fix
authorEvanYap <evanyap.14@gmail.com>
Sat, 4 Feb 2017 21:47:15 +0000 (13:47 -0800)
committerEric Sandoval <harpnart@gmail.com>
Sun, 19 Feb 2017 18:39:41 +0000 (10:39 -0800)
src/org/usfirst/frc/team3501/robot/Robot.java

index 80f829ba0764e768fa29a33a6efa1a86840e44c5..41b7fef21b73d95b5cfa3ee74896ef9bd6f66631 100644 (file)
@@ -83,7 +83,8 @@ public class Robot extends IterativeRobot {
   @Override
   public void autonomousPeriodic() {
     Scheduler.getInstance().run();
-    DriveTrain.getDriveTrain().getDriveController();
+
+    DriveTrain.getDriveTrain().getDriveController().setConstants(p, i, d);
 
     double driveP = SmartDashboard.getNumber(Constants.DriveTrain.DRIVE_D_Val,
         Constants.DriveTrain.PID_ERROR);