Hot Goal Auton

I am working on getting our robot to have the ability to detect a hot goal and score in it if its on, or wait until the zone does become “hot” before it shoots. Can anyone help me in this process???

Have you looked through the C++ vision processing sample code?

That should get you most of the way there, and the WPILib website explains the overall strategy pretty well should you decide that you need to make modifications to it.

Here is 537’s code: