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=442897aa9e15eb71f22544f8b2170bb32f2d5b35;hp=a20af8e63badd3bfee9722e5037c9771b60a8a52;hb=09e509d3b1f6e73a06d62e41c5a959e6eed2e5c6;hpb=d7042bec1cddc809132fcc233ba3320b0b6681d9 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 a20af8e..442897a 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheel.java +++ b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheel.java @@ -34,7 +34,7 @@ public class RunFlyWheel extends Command { this.wheelController.setDoneRange(0.5); this.wheelController.setMaxOutput(1.0); this.wheelController.setMinDoneCycles(3); - this.target = this.shooter.CURRENT_SHOOTING_SPEED; + this.target = this.shooter.getCurrentShootingSpeed(); } // Called just before this Command runs the first time