From: Yamini Adusumelli Date: Fri, 29 Jan 2016 03:26:39 +0000 (-0800) Subject: add getHookHeight method and getFootHeight method X-Git-Url: http://challenge-bot.com/repos/?p=3501%2Fstronghold-2016;a=commitdiff_plain;h=3898ef168b357335ba0eace57c8f135b725734db add getHookHeight method and getFootHeight method --- diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/DefenseArm.java b/src/org/usfirst/frc/team3501/robot/subsystems/DefenseArm.java index 7e57dbe2..33fb5f92 100755 --- a/src/org/usfirst/frc/team3501/robot/subsystems/DefenseArm.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/DefenseArm.java @@ -41,7 +41,8 @@ public class DefenseArm extends Subsystem { * attached to the end of the hand, which is attached to the arm. * * @return hookHeight gets height of hook from ground. The hook is attached to - * the end of the hand, which is attached the arm. + * the end of the hand, which is attached the arm. The height is in + * inches. * */ @@ -50,6 +51,16 @@ public class DefenseArm extends Subsystem { return hookHeight; } + /*** + * This method gets the height of the foot from the ground. The foot is + * attached to the end of the hand, which is attached to the arm. + * + * @return footHeight gets height of foot from ground. The foot is attached to + * the end of the hand, which is attached the arm. The height is in + * inches. + * + */ + public double getFootHeight() { return footHeight;