Fixed conflict
authorRohan Rodrigues <rohanrodrigues19@gmail.com>
Thu, 9 Mar 2017 00:56:39 +0000 (16:56 -0800)
committerRohan Rodrigues <rohanrodrigues19@gmail.com>
Thu, 9 Mar 2017 00:56:39 +0000 (16:56 -0800)
src/org/usfirst/frc/team3501/robot/Constants.java
src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java

index 312e0c355a8b584dcda01b230f30bb15d121471a..197f76ea13c21db2385dd83c22b8cd82138b5a01 100644 (file)
@@ -40,11 +40,16 @@ public class Constants {
 
     public final static int HALL_EFFECT_PORT = 9;
 
+<<<<<<< HEAD
     public final static int TOGGLE_INDEXER = 8;
 
     public static final int MODULE_NUMBER = 10, PISTON_FORWARD = 4,
         PISTON_REVERSE = 5;
 
+=======
+    public static final int PISTON_MODULE = 10, PISTON_FORWARD = 0,
+        PISTON_REVERSE = 1;
+>>>>>>> Add code to alternate pistons in runIndexWheelContinuous
     public static final Value HIGH_GEAR = DoubleSolenoid.Value.kForward;
     public static final Value LOW_GEAR = DoubleSolenoid.Value.kReverse;
   }
index ccc0e4374d6223121eefff87bc28ced1bee495c2..48f3546560c895c1bf4a8ae681503aa694f19d94 100644 (file)
@@ -36,7 +36,7 @@ public class RunIndexWheelContinuous extends Command {
 
   @Override
   protected void execute() {
-    if (t.get() >= 1) {
+    if (t.get() > 1) {
       if (Shooter.getShooter().getPistonValue() == Constants.Shooter.LOW_GEAR) {
         Shooter.getShooter().setHighGear();
       } else {