Quote:
Originally Posted by michael714
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?