|
Re: Vision tracking
for starters there is a very nice sample code that you can upload if you download the newest FRC plugins on netbeans. We used it with great success and our robot tracks squares very nicely. As for finding your position we are calculation the distance by using the camera and trig functions as well as several encoders/gyros to help us find the appropriate angle to shoot. Hope this helps!
|