X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fshooter%2FRunFlyWheel.java;h=83d558acfca15a4d069d1cc230b9227c011242fa;hp=bb3fbccf56de701b1b56691b876517bb2b92f562;hb=268b004857f2e73159cccfc18edeff7ad33dfe78;hpb=9e91dcb88316fdb4a1915c9d164b5e753a1ba89d diff --git a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheel.java b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheel.java index bb3fbcc..83d558a 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheel.java +++ b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheel.java @@ -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); }