View Single Post
  #6   Spotlight this post!  
Unread 28-01-2016, 09:04
robert1356 robert1356 is offline
Registered User
AKA: Robert Palmer
FRC #3824 (RoHAWKtics)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2012
Location: Knoxville, TN
Posts: 47
robert1356 is an unknown quantity at this point
Re: LifeCam USBCamera changing settings from Java

Quote:
Originally Posted by ahartnet View Post
Robert,

Code:
...
    	SmartDashboard.putNumber("Brightness", targetCam.getBrightness());
    	
    	targetCam.openCamera();
...
See my followup. The openCamera() call is superfluous, it is opened when you created the object. Your use of setBrightness(), setExposureManual() and updatedSettings() is correct.

Were you able to get a good DARK image, or just an image that is good for a driver to look at? I want a DARK image that a driver would find unusable, but the image processing will be very happy about (because the retro-reflectors will show up nicely).