From: Yamini Adusumelli Date: Fri, 29 Jan 2016 02:53:04 +0000 (-0800) Subject: make skeleton branch X-Git-Url: http://challenge-bot.com/repos/?p=3501%2Fstronghold-2016;a=commitdiff_plain;h=dc5aab20d72fac88ccecfccff76049f7a2f183ba make skeleton branch --- diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/DefenseArm.java b/src/org/usfirst/frc/team3501/robot/subsystems/DefenseArm.java index 8a36c652..e59481d7 100755 --- a/src/org/usfirst/frc/team3501/robot/subsystems/DefenseArm.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/DefenseArm.java @@ -9,17 +9,18 @@ import edu.wpi.first.wpilibj.command.Subsystem; public class DefenseArm extends Subsystem { // Defense arm related objects public AnalogPotentiometer defenseArmPotentiometer; - public AnalogPotentiometer defenseHandPotentiometer; public CANTalon defenseArmMotor; public CANTalon defenseHandMotor; // Defense arm specific constants that relate to the degrees per pulse value // for the potentiometers // private final static double PULSES_PER_ROTATION = 1; // in pulses - private final static double FULL_RANGE = 270.0; // in degrees - private final static double OFFSET = -135.0; // in degrees - private Double[] armPotValue = { 0.0, 45.0, 90.0 }; // 3 level array; + 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 + // array; + // do we want to use a hashmap?? // angles at 0,45,90 (Potentiometer value readings) // degrees