From: Cindy Zhang Date: Fri, 12 Feb 2016 02:31:57 +0000 (-0800) Subject: add methods that return how far arm is sticking out and how high arm is at, and const... X-Git-Url: http://challenge-bot.com/repos/?a=commitdiff_plain;h=79a28ae5785c3f48cb4a5754b632c2d214b216d6;p=3501%2Fstronghold-2016 add methods that return how far arm is sticking out and how high arm is at, and constants that need filling in --- diff --git a/src/org/usfirst/frc/team3501/robot/Constants.java b/src/org/usfirst/frc/team3501/robot/Constants.java index d4ae7b2e..498ed27d 100644 --- a/src/org/usfirst/frc/team3501/robot/Constants.java +++ b/src/org/usfirst/frc/team3501/robot/Constants.java @@ -90,12 +90,11 @@ public class Constants { public static final int HAND_CHANNEL = 1; public final static double FULL_RANGE = 270.0; // in degrees public final static double OFFSET = -135.0; // in degrees - public final static double[] armPotValue = { 0.0, 45.0, 90.0 }; // 3 - // level + + public final static double[] armPotValue = { 0.0, 45.0, 90.0 }; // 3 level public final static double ARM_LENGTH = 0; // TODO: find actual length public final static double HAND_LENGTH = 0; // TODO: find actual length public final static double ARM_MOUNTED_HEIGHT = 0; // TODO: find actual - // height } public enum Defense {