Quote:
Originally Posted by JacobD
The code that I wrote for it but I still haven't tested it because we are getting ready to reassemble the electronics on our robot. Otherwise try this:
Make sure you name the usb cam in the roboRio web panel to the appropriate name ("cam1")
Code:
public void robotInit()
{
usbCam = CameraServer.getInstance();
usbCam.setQuality(50);
usbCam.startAutomaticCapture("cam1");
}
It seems like they added the camera server class back into the library so hopefully it is functional. I'll try to let you know before the end of this week.
|
This won't work. The bug is in the CameraServer class itself. This is exactly what I've tried. My original post describes the bug...