Change getcurrentspeed to getcurrentsetpoint()
authorKevin Zhang <icestormf1@gmail.com>
Sat, 23 Jan 2016 03:20:08 +0000 (19:20 -0800)
committerKevin Zhang <icestormf1@gmail.com>
Sat, 23 Jan 2016 03:37:35 +0000 (19:37 -0800)
src/org/usfirst/frc/team3501/robot/commands/setShooterSpeed.java

index 197da9102c254be47d960ae0f920fefdb34c5b72..07cff70c3141eb570e07599dde6482f1f9178331 100644 (file)
@@ -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;