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