View Single Post
  #4   Spotlight this post!  
Unread 10-02-2011, 09:49
omalleyj omalleyj is offline
Registered User
AKA: Jim O'Malley
FRC #1279 (Cold Fusion)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: New Jersey
Posts: 132
omalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to behold
Re: Camera Calibration in Java Visible in Dashboard View

Quote:
Originally Posted by michael714 View Post
We did those things, but not using the updateCameraControl method. Instead, we just placed the update code in teleop Periodic and expected the looping to allow the adjustment to take place. We'll give your code a try.
Thanks.
It doesn't have to be in a separate class, I just provided it that way so you could keep it separate from your own code more easily. The updateCameraControl was just a way to package it, if you are using the writeBrightness() directly that is fine (or would be if it worked ).
Can you get the input from AnalogIn directly? You can see the value is actually changing?
Can you set the brightness et al. from the Axis camera app?
Do any of the wpilibj camera functions work for you? I know you tried a 180 and brightness already, any others?
Reply With Quote