more photogate incorporation edits
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / Robot.java
index 5bc3c0123be8ca2d5354bdfd733aae0965e5dbdd..30926c7af8a9e6b0168b2fa1181e4b59bda65ba0 100644 (file)
@@ -4,6 +4,7 @@ import org.usfirst.frc.team3501.robot.Constants.Auton;
 import org.usfirst.frc.team3501.robot.Constants.Defense;
 import org.usfirst.frc.team3501.robot.commands.auton.ChooseStrategy;
 import org.usfirst.frc.team3501.robot.commands.driving.SetLowGear;
+import org.usfirst.frc.team3501.robot.commands.intakearm.Photogate;
 import org.usfirst.frc.team3501.robot.subsystems.DriveTrain;
 import org.usfirst.frc.team3501.robot.subsystems.IntakeArm;
 import org.usfirst.frc.team3501.robot.subsystems.Shooter;
@@ -18,7 +19,7 @@ public class Robot extends IterativeRobot {
   public static DriveTrain driveTrain;
   public static Shooter shooter;
   public static IntakeArm intakeArm;
-  // public static Photogate photogate;
+  public static Photogate photogate;
 
   // Sendable Choosers send a drop down menu to the Smart Dashboard.
   SendableChooser positionChooser;
@@ -32,7 +33,7 @@ public class Robot extends IterativeRobot {
     intakeArm = new IntakeArm();
 
     oi = new OI();
-    // photogate = new Photogate();
+    photogate = new Photogate();
 
     initializeSendableChoosers();
     addPositionChooserOptions();