Quote:
Originally Posted by skidad68
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.
|
Yes, this is going to be true whenever the Robot calls the (CameraServer's) setResolution(...) and/or setContrast(...) methods. Good that you figured out how to adjust your HSV parameters into modified generated-code. The other (easier) approach to this should be to have the modified camera-server running on the RIO, and then have GRIP connect to this stream via 'add-ip-camera' in GRIP , eg with
http://roborio-TEAM-frc:1181.