Jayd009
18-10-2016, 21:23
Hello everyone,
I have a quick question. What is the IP Address of a USB Camera that is setup with the cameraserver class? We're trying to run GRIP on the driver station (after failing to run it on a Raspberry Pi & RoboRIO) and I'm trying to set up the camera as an IP Source.
Thanks,
Jonathan
P.S. Is my code correct?
server = CameraServer.getInstance();
camera = new USBCamera("cam0");
camera.setExposureManual(20);
camera.updateSettings();
server.startAutomaticCapture(camera);
I have a quick question. What is the IP Address of a USB Camera that is setup with the cameraserver class? We're trying to run GRIP on the driver station (after failing to run it on a Raspberry Pi & RoboRIO) and I'm trying to set up the camera as an IP Source.
Thanks,
Jonathan
P.S. Is my code correct?
server = CameraServer.getInstance();
camera = new USBCamera("cam0");
camera.setExposureManual(20);
camera.updateSettings();
server.startAutomaticCapture(camera);