From 92d4c21a86e03328bd4e9e28b667911a874aa13c Mon Sep 17 00:00:00 2001 From: Shaina Chen Date: Thu, 4 Feb 2016 20:46:05 -0800 Subject: [PATCH] change getCurrentSetPoint in changeSpeed method to getSpeed --- src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java b/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java index 26763d0e..64efa158 100755 --- a/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java @@ -67,7 +67,7 @@ public class Shooter extends Subsystem { // Use negative # for decrement. Positive for increment. public void changeSpeed(double change) { - double newSpeed = getCurrentSetPoint() + change; + double newSpeed = getSpeed() + change; setSpeed(newSpeed); } -- 2.30.2