+ public void changeCam() {
+ System.out.println("enter toggleCamera");
+ if (curCam == "intakeCam") {
+ server.getVideo(axisCamName);
+ curCam = "climberCam";
+ System.out.println("Switching to climber camera, curCam = " + curCam);
+ } else if (curCam == "climberCam") {
+ server.getVideo(usbCamName);
+ curCam = "intakeCam";
+ System.out.println("Switching to intake camera, curCam = " + curCam);
+ }