Hey all. I’m working with the WPI Raspberry Pi vision image, and it’s working fine, except for a very, VERY annoying problem.
This happens regardless of the code that I’m using, so code shouldn’t be related much, but I’m testing right now with ChickenVision: https://github.com/team3997/ChickenVision
When I first start up the Pi and set the exposure + gain to values giving me a good image, so exposure_absolute = 1 and gain = 0, it’s all fine and dandy. I save the values, and reboot the Pi. Then the problem occurs: On the sliders, the exposure and gain are at the values they should be at: 1 and 0, respectively. However, the image looks as though both of those were reset to the original values, and is much brighter than I left it.
When I move the gain and exposure at all after booting, and then move them back to where I want them, it’s like they suddenly remember, “Oh, right, an exposure of 1 should actually look like a low exposure,” and the same for gain, and suddenly, the image looks correct.
If I don’t manually adjust the gain and exposure after booting, and I click the “Terminate” button in the “Vision Status” section to restart the code, the problem is fixed then as well.
If it’s relevant, I’m using a Logitech C270. What camera are you guys using?
Does anyone have any insight? I’m not sure where to go next with this, so any help is appreciated.