Add Hall Effect Sensor code to test sensor
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / shooter / RunFlyWheelContinuous.java
index a73e7d065ad8555936378217e0d15d597d80a7f4..8c8248d51272f2ba93219ce366c4709e08eabbb8 100644 (file)
@@ -51,7 +51,7 @@ public class RunFlyWheelContinuous 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);
   }