hope fix
authorMichael Wang <michaelwang9000@gmail.com>
Sat, 4 Feb 2017 21:43:04 +0000 (13:43 -0800)
committerEric Sandoval <harpnart@gmail.com>
Sun, 19 Feb 2017 18:45:06 +0000 (10:45 -0800)
src/org/usfirst/frc/team3501/robot/Robot.java

index 3f5e2121542e1b28750a3e97ecec094e613d0d51..f505ed2207f35b5cced47716c13fc4bf08068d4a 100644 (file)
@@ -82,12 +82,12 @@ public class Robot extends IterativeRobot {
     driveTrain.getGyroController().setConstants(gyroP, gyroI, gyroD);
 
     Scheduler.getInstance().add(new DriveDistance(Setpoint, Speed));
+
   }
 
   @Override
   public void autonomousPeriodic() {
     Scheduler.getInstance().run();
-    DriveTrain.getDriveTrain().getDriveController().setConstants(
 
   }