|
Re: USB Camera Problems Please Help!!
My team got ours to work using the USBCamera to set the camera name and starting automatic capture with the USBCamera object. This code placed in robot init worked for us with camera already declared as a USBCamera.
camera = new USBCamera("cam0");
CameraServer.getInstance().setQuality(50);
CameraServer.getInstance().startAutomaticCapture(c amera);
|