From 3898ef168b357335ba0eace57c8f135b725734db Mon Sep 17 00:00:00 2001 From: Yamini Adusumelli Date: Thu, 28 Jan 2016 19:26:39 -0800 Subject: [PATCH] add getHookHeight method and getFootHeight method --- .../frc/team3501/robot/subsystems/DefenseArm.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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; -- 2.30.2