In code, we have our limelight being changed from a vision pipeline to a driver pipeline with higher exposure, different color balances, etc. In code we also set the limelight to driver camera mode from the vision driver mode. But when its switch from vision to driver, the limelight doesn’t seem to recover; the stream is very very green even with the leds off. The driving pipeline and function work, I’ve tested it, it only breaks when switching from vision.
I would actually like to remove that separate driver camera mode option for this reason. Instead, just make a pipeline for “driver mode” because then you have complete control over everything. You could make pipeline 9 be driver mode for example.
I have the pipeline set for driving, so would I just stop using the onDriver network tables function? And just default to the pipeline I have?
Yes, you can set network table value ‘pipeline’ to your “driving pipeline” when you want to drive and back to your “tracking pipeline” when you want to track targets. Its just a workaround for now. We’ve also added a task to look at the problem you bring up with “camMode”. The problem is it probably is not setting the color balances back to normal when you ask for driver mode.
Cameras send Red, Green, and Blue (RGB) data and combine the Data to make every color. It sounds like you’ve lost your red and blue data.
Our team just tried using the Limelight as a driver camera, but can’t get past the “green screen” (or magenta, sometimes) problem. Our guys tried pretty much all of the settings in a new pipeline, without success. What pipeline settings would be appropriate for an unfiltered driver view?
Sounds like your color balance settings are messed up. Each pipeline has its own color balance settings.
That’s the red and blue balance sliders? We tried that, but they didn’t seem to have any effect. Do we need to do anything for the values to take effect? Also, can you suggest reasonable default values?
Btw, we updated to the latest firmware a few days ago.
Strange, they definitely had an effect for our team.
We use red 1100, blue 1700 at the moment - it still leans green but should be a good starting point.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.