hope fix
[3501/2017steamworks] / 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);