From 1f7ac12c38e3fba72805c3646a9d60bb0d40ffb4 Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Fri, 22 Jan 2016 19:20:08 -0800 Subject: [PATCH] Change getcurrentspeed to getcurrentsetpoint() --- .../usfirst/frc/team3501/robot/commands/setShooterSpeed.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2