add defense arm motor port
authorYamini Adusumelli <ayamini2000@gmail.com>
Tue, 26 Jan 2016 03:47:13 +0000 (19:47 -0800)
committerShaina Chen <shaina.sierra@gmail.com>
Fri, 5 Feb 2016 04:20:30 +0000 (20:20 -0800)
src/org/usfirst/frc/team3501/robot/Constants.java

index d83bedc7016fe199e8b2fdf9a9ff6a351e238d3f..a4fe655cd460b0c183545c29c57e8062c78dfa28 100644 (file)
@@ -74,12 +74,13 @@ public class Constants {
     LEFT, RIGHT, DOWN, UP, FORWARD, BACKWARD;
   }
 
+  public enum Defense {
+    PORTCULLIS, SALLY_PORT, ROUGH_TERRAIN, LOW_BAR, CHEVAL_DE_FRISE, DRAWBRIDGE, MOAT, ROCK_WALL, RAMPART;
+  }
+
   public static class DefenseArm {
     // Potentiometer related ports
     public static final int CHANNEL = 0;
-  }
-
-  public enum Defense {
-    PORTCULLIS, SALLY_PORT, ROUGH_TERRAIN, LOW_BAR, CHEVAL_DE_FRISE, DRAWBRIDGE, MOAT, ROCK_WALL, RAMPART
+    public static final int PORT = 0;
   }
 }