From: Kevin Zhang Date: Sat, 23 Jan 2016 03:20:08 +0000 (-0800) Subject: Change getcurrentspeed to getcurrentsetpoint() X-Git-Url: http://challenge-bot.com/repos/?a=commitdiff_plain;ds=sidebyside;h=1f7ac12c38e3fba72805c3646a9d60bb0d40ffb4;hp=37e5a1215ef4909e720304e619667d40492dfaf1;p=3501%2Fstronghold-2016 Change getcurrentspeed to getcurrentsetpoint() --- diff --git a/src/org/usfirst/frc/team3501/robot/commands/setShooterSpeed.java b/src/org/usfirst/frc/team3501/robot/commands/setShooterSpeed.java index 197da910..07cff70c 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/setShooterSpeed.java +++ b/src/org/usfirst/frc/team3501/robot/commands/setShooterSpeed.java @@ -6,7 +6,7 @@ import edu.wpi.first.wpilibj.command.Command; public class setShooterSpeed extends Command { double change = 0.0; - double speed = Robot.shooter.getCurrentSpeed(); + double speed = Robot.shooter.getCurrentSetPoint(); public setShooterSpeed(double speed) { this.speed = speed;