View Single Post
  #11   Spotlight this post!  
Unread 25-01-2016, 16:56
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: USB-Camera lower exposure

Quote:
Can you be specific how to do that?
Here is what I'd do.

Use slider zero and button zero on the basic tab for the camera exposure. These values are automatically stored as "DB/Slider 0" and "DB/Button 0" and if your robot reads those network table variables, it gets the slider values.

Within your camera loop, in the enabled case, the code already updates the image size. Similarly, you can update the exposure by reading the button and slider and calling the Set Exposure subVI. It internally checks against current value and only modifies the camera on change.

Greg McKaskle
Attached Thumbnails
Click image for larger version

Name:	From Clipboard.png
Views:	32
Size:	45.1 KB
ID:	19878  
Reply With Quote