Add code for toggling camera, but took it off
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / Robot.java
index 1ad62e1f4de0b8a7d9d6c262680d41a0e4b19ea3..29b1a3cdde2ecea9d847eb48dbf3b215fdae0e71 100644 (file)
@@ -27,9 +27,13 @@ public class Robot extends IterativeRobot {
     intake = Intake.getIntake();
 
     usbCamera = CameraServer.getInstance().startAutomaticCapture();
+
     // cameraServer2 = CameraServer;getInstance();
     // axisCamera = cameraServer2.addAxisCamera("axisCamera", "10.35.1.11");
 
+    cameraServer2 = CameraServer.getInstance();
+    axisCamera = cameraServer2.addAxisCamera("axisCamera", "10.35.1.11");
+
   }
 
   public static DriveTrain getDriveTrain() {