add seperate pid controllers
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / driving / TurnForAngle.java
index 7e07577b7b001b9d767b89325320670bec1ec212..5d85471e55b4d97ca046804eb75be0c98c0b1377 100755 (executable)
@@ -40,7 +40,7 @@ public class TurnForAngle extends Command {
     this.gyroI = driveTrain.turnI;
     this.gyroD = driveTrain.turnD;
 
-    this.gyroController = Robot.getDriveTrain().getDriveController();
+    this.gyroController = Robot.getDriveTrain().getGyroController();
     this.gyroController.setDoneRange(1);
     this.gyroController.setMinDoneCycles(5);
   }