Remove pointless code and add print commands.
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / Robot.java
index 1cffcb01aeeeae61e0daaae4d795230bda22459f..655b3427585bed2d4d8b09be073896388a956d8a 100644 (file)
@@ -12,6 +12,10 @@ public class Robot extends IterativeRobot {
   private static Shooter shooter;
   private static OI oi;
   private static Intake intake;
+  // private static UsbCamera usbCamera;
+  // private static CameraServer cameraServer2;
+  // private static AxisCamera axisCamera;
+  private static CameraFeeds cameraFeeds;
 
   @Override
   public void robotInit() {
@@ -20,6 +24,8 @@ public class Robot extends IterativeRobot {
     shooter = Shooter.getShooter();
     intake = Intake.getIntake();
 
+    cameraFeeds = CameraFeeds.getCameraFeeds();
+
   }
 
   public static DriveTrain getDriveTrain() {
@@ -30,6 +36,10 @@ public class Robot extends IterativeRobot {
     return Shooter.getShooter();
   }
 
+  public static CameraFeeds getCameraFeeds() {
+    return cameraFeeds;
+  }
+
   public static OI getOI() {
     return OI.getOI();
   }
@@ -53,12 +63,10 @@ public class Robot extends IterativeRobot {
 
   @Override
   public void teleopInit() {
-
   }
 
   @Override
   public void teleopPeriodic() {
     Scheduler.getInstance().run();
-
   }
 }