Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Visual Tracking Help (http://www.chiefdelphi.com/forums/showthread.php?t=144932)

joeojazz 29-02-2016 14:53

Re: Visual Tracking Help
 
Quote:

Originally Posted by barn34 (Post 1548974)
of the whole tower? or just the goal target?

Just the goal target width.

BenBernard 29-02-2016 15:19

Re: Visual Tracking Help
 
I think you would benefit from reading some of the existing CD threads on this subject, starting with:
http://www.chiefdelphi.com/forums/sh...hreadid=144809

joeojazz 29-02-2016 15:22

Re: Visual Tracking Help
 
Quote:

Originally Posted by BenBernard (Post 1549111)
I think you would benefit from reading some of the existing CD threads on this subject, starting with:
http://www.chiefdelphi.com/forums/sh...hreadid=144809

I don't want to use OpenCV really if I can avoid it. I want to try and get it to work with grip like some of the other users.

BenBernard 29-02-2016 15:31

Re: Visual Tracking Help
 
Understood...but the math is the same no matter where you get your measurements. We do all (or most of) the math in our robot code, reading values from NetworkTables which be populated by GRIP on the driver station, GRIP on the roborio, or our opencv-based tracker on a raspberry pi.

You need to separate out the problem and focus on the parts separately. GRIP won't tell you distance--but neither will OpenCV. Both will tell you height, width, center X and center Y. You will need to determine the distance to the target based on those inputs, as described in the linked thread.


All times are GMT -5. The time now is 01:37.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi