//All under robot.java import edu.wpi.first.wpilibj.CameraServer; //under robotInit camera = CameraServer.getInstance().startAutomaticCapture()