Add Hall Effect Sensor code to test sensor
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / shooter / RunFlyWheel.java
index bb3fbccf56de701b1b56691b876517bb2b92f562..83d558acfca15a4d069d1cc230b9227c011242fa 100644 (file)
@@ -46,7 +46,7 @@ public class RunFlyWheel extends Command {
   // Called repeatedly when this Command is scheduled to run
   protected void execute() {
     double shooterSpeed = this.wheelController
-        .calcPID(this.shooter.getShooterSpeed());
+        .calcPID(this.shooter.getShooterRPM());
 
     this.shooter.setFlyWheelMotorVal(shooterSpeed);
   }