Go to Post You can learn just as much from building a small robot as you can from a large bot because all of the key concepts are the same. - Greg Needel [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
  #1   Spotlight this post!  
Unread 03-10-2012, 18:14
Team3266Spencer's Avatar
Team3266Spencer Team3266Spencer is offline
Team Captain and Lead Programmer
AKA: Spencer Lanman
FRC #3266 (Robots-R-US)
Team Role: Programmer
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Richmond, Indiana
Posts: 280
Team3266Spencer is an unknown quantity at this point
Camera Image Overlay - Sniper Style

So a simple obvious idea one of my teammates came up with, during/after (can't remember) one of our regional, was to put a cross-hair on the camera feed, instead of relying on some half put together camera tracking, luck, or skill. The issue we had though was our camera is not centered to our shooter and i actually side-mounted on our turret. Creating the cross-hairs in code seemed like too much much work (seeing how an image overlay of cross-hairs didn't seem like it would be sufficient at the time), so with that in mind I put the idea to rest.

Recently I revisited the idea, with some prompting from that teammate. With some geometry I was able to calculate curved lines, that could overlay the camera feed, that represented where the robot would be aimed (In relationship to a certain destination, e.g. the top goal) on the camera image dependent upon its distance (horizontally). I was then able to place cross-hairs on certain distances of the graph that our robot had preset powers to shoot from.

This was my result: http://imgur.com/uMOnz

Have any other teams worked with this idea before? I'm sure there have been, how did concepts like this work for you?
__________________
2012: Buckeye Regional, Queen City Regional, Human Player
2013: Queen City Regional, Buckeye Regional, Crossroads Regional
Shooter Operator
2014: Crossroads Regional, Queen City Regional
Catapult Operator
2015: Georgia Southern Classic Regional (Winner), Queen City Regional
Chainsaw Operator
Want to talk? TeamSpeak: team3266.noip.me
 


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 13:41.

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