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 no experience with GRIP, but I imagine you could find the IP of a camera through the Networking and Sharing Center on your computer (The one connected to said camera), or through the device manager.
See https://www.chiefdelphi.com/forums/showthread.php?t=141952. Unless this has changed since then, GRIP doesn’t support USB cameras on the roboRio using CameraServer at present due to the non-standard protocol used by the current CameraServer.