|
Re: Vision problem - robot view not matching Grip view
So I've been monkeying around with this for some time now, and I think the real problem is that the HSV thresholds generated by GRIP don't produce the same results on the roboRIO. (Note that the camera I used to tune GRIP is the same one used by the roboRIO). Plus, the lack of brightness control in GRIP makes it pretty much useless for tuning as the brightness is a critical setting to improve noise rejection.
To figure this out, I had to modify the generated pipeline to make all of the tuning parameters variable, and then use the SmartDashboard to tune the parameters and monitor the result in real time.
Now I can at least tune the vision accurately, but we're having some problems with the camera producing consistent readings. But that's probably a topic for another thread...
|