From: Shaina Chen Date: Thu, 11 Feb 2016 05:03:25 +0000 (-0800) Subject: change variable name to match new variable names in defenseArm X-Git-Url: http://challenge-bot.com/repos/?p=3501%2Fstronghold-2016;a=commitdiff_plain;h=98c05a0ad968dac39f289b545a0270f8cc205918 change variable name to match new variable names in defenseArm --- diff --git a/src/org/usfirst/frc/team3501/robot/commands/SetHandToLevel.java b/src/org/usfirst/frc/team3501/robot/commands/SetHandToLevel.java index 3d7fb748..28dd418f 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/SetHandToLevel.java +++ b/src/org/usfirst/frc/team3501/robot/commands/SetHandToLevel.java @@ -14,7 +14,7 @@ public class SetHandToLevel extends Command { requires(Robot.defenseArm); this.speed = speed; - this.targetPosition = Robot.defenseArm.getAngleForLocation(level); + this.targetPosition = Robot.defenseArm.getAngleForHandLocation(level); } @Override