View Single Post
  #6   Spotlight this post!  
Unread 02-10-2016, 01:21 PM
smarthimandrew's Avatar
smarthimandrew smarthimandrew is offline
Programmer, and (sigh) Electrical
AKA: Andrew Dickinson
FRC #3546 (Buc 'n' Gears)
Team Role: Programmer
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Grand Haven, Western Michigan, US
Posts: 22
smarthimandrew is an unknown quantity at this point
Re: USB Camera not working

Quote:
Originally Posted by JacobD View Post
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...
Reply With Quote