View Single Post
  #6   Spotlight this post!  
Unread 31-01-2017, 21:22
skidad68 skidad68 is offline
Registered User
FRC #2506
Team Role: Mentor
 
Join Date: Feb 2013
Rookie Year: 2013
Location: United States
Posts: 13
skidad68 is an unknown quantity at this point
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...
Reply With Quote