From: yavda Date: Sun, 29 Jan 2017 01:15:14 +0000 (-0800) Subject: Add code for toggling camera, but took it off X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=commitdiff_plain;h=82f682df7c88dec0d531f6e6f3c1cb141caa94d7 Add code for toggling camera, but took it off --- diff --git a/src/org/usfirst/frc/team3501/robot/Robot.java b/src/org/usfirst/frc/team3501/robot/Robot.java index 529ddca..56010e1 100644 --- a/src/org/usfirst/frc/team3501/robot/Robot.java +++ b/src/org/usfirst/frc/team3501/robot/Robot.java @@ -26,8 +26,8 @@ public class Robot extends IterativeRobot { shooter = Shooter.getShooter(); 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() {