Go to Post FRC did a lot for me in high school. I couldn't pass up the opportunity to help it do the same for others. - Oblarg [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 28-03-2016, 14:49
quillford quillford is offline
Registered User
FRC #5924
 
Join Date: Nov 2015
Rookie Year: 2015
Location: San Francisco
Posts: 22
quillford is an unknown quantity at this point
High Goal Vision tracking question

Our shooter didn't perform very well at the Sacramento Regional this weekend, so I'm reworking our shooter to be a high goal shooter. I'm looking into vision tracking to assist in shooting accuracy, however I'm unsure of how most teams use the information gathered from it. Does the process go something like this? Filter out high goal using the reflective tape, find the contours, use the contours to find the distance of the goal, then use the distance to calculate the required flywheel RPM, display where the ball will end up on the driver station, then shoot at driver's will.
  #2   Spotlight this post!  
Unread 28-03-2016, 14:54
dubiousSwain's Avatar
dubiousSwain dubiousSwain is offline
The ride never ends
AKA: Christian Steward
FRC #5420 (Velocity)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2011
Location: USA
Posts: 304
dubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond repute
Re: High Goal Vision tracking question

Quote:
Originally Posted by quillford View Post
Our shooter didn't perform very well at the Sacramento Regional this weekend, so I'm reworking our shooter to be a high goal shooter. I'm looking into vision tracking to assist in shooting accuracy, however I'm unsure of how most teams use the information gathered from it. Does the process go something like this? Filter out high goal using the reflective tape, find the contours, use the contours to find the distance of the goal, then use the distance to calculate the required flywheel RPM, display where the ball will end up on the driver station, then shoot at driver's will.
We don't even use contours, we use the bounding box of the target blob (which i should really rewrite)
__________________
2015 MAR District Champions




  #3   Spotlight this post!  
Unread 28-03-2016, 19:28
cjl2625's Avatar
cjl2625 cjl2625 is offline
apel py
AKA: Cory Lynch
FRC #2067 (Apple Pi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Guilford, CT
Posts: 412
cjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to behold
Re: High Goal Vision tracking question

I just use the coordinates of where the goal is with respect to the camera to calculate distance and angle. Knowing x and y pixel coordinates, camera field of view, camera angle, etc, it's some trigonometry from there. Based on distance, we can change the pitch of our shooter, and speed is held constant. (we ran a quadratic regression to find the optimal shooter angle vs distance -- I suppose a similar thing could be done for shooter speed)

This method has worked well so far. When our robot isn't broken during a match (which is quite rare), the accuracy was pretty dead on.
__________________
Head Programmer / Driver

Last edited by cjl2625 : 28-03-2016 at 19:32.
Closed Thread


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 10:15.

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