Go to Post I don't care if my team wins. I care if they try their hardest to win. - pfreivald [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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.
 


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 21:24.

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