Go to Post I've ridden the real Segway many times and I think it is a truly remarkable machine and worth every cent (if you have enough cents to spend on it). - sanddrag [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 02-29-2016, 02:53 PM
joeojazz joeojazz is offline
Registered User
FRC #5712
 
Join Date: Jan 2016
Location: Hemlock
Posts: 42
joeojazz is an unknown quantity at this point
Re: Visual Tracking Help

Quote:
Originally Posted by barn34 View Post
of the whole tower? or just the goal target?
Just the goal target width.
Reply With Quote
  #17   Spotlight this post!  
Unread 02-29-2016, 03:19 PM
BenBernard BenBernard is offline
Registered User
FRC #5687 (The Outliers)
Team Role: Mentor
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Portland, ME
Posts: 39
BenBernard is an unknown quantity at this point
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
Reply With Quote
  #18   Spotlight this post!  
Unread 02-29-2016, 03:22 PM
joeojazz joeojazz is offline
Registered User
FRC #5712
 
Join Date: Jan 2016
Location: Hemlock
Posts: 42
joeojazz is an unknown quantity at this point
Re: Visual Tracking Help

Quote:
Originally Posted by BenBernard View Post
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.
Reply With Quote
  #19   Spotlight this post!  
Unread 02-29-2016, 03:31 PM
BenBernard BenBernard is offline
Registered User
FRC #5687 (The Outliers)
Team Role: Mentor
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Portland, ME
Posts: 39
BenBernard is an unknown quantity at this point
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.

Last edited by BenBernard : 02-29-2016 at 03:39 PM.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:38 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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