Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: fishnflute on April 23, 2008, 09:20:46 PM

Title: Track and Attack system
Post by: fishnflute on April 23, 2008, 09:20:46 PM
Hey Society of Robots members.  First off, I apologize for all ignorance and incompetence ahead of time.  I am a student in Mechanical Engineering and am working a project with a group of more mechanical engineers and we all suck at electronics.  The project basically is, what the title implies, to track a rolling ball and launch some projectile at the ball.  I have been trying to read up on different sensors and how each type works.  I was showing a lot of interest in two sharp IR rangefinders to have one try and do a left edge and the other do a right edge finding.  The problem I see with this is that we would like a range maybe between 5 feet and 50 feet.  The target distance should be around 20 feet away but we would prefer a better range to work with.  Maybe there is some optical system that could reach these distances?  It would also be nice to be able to extrapolate the next few coordinates based on the previous trajectory.  Again the ball should just be rolling be we are considering trying to write a code to plot trajectory so it could be use with a ball being tossed across the detector space.  This would then be used to determine where to shoot.  The speed of the ball is unknown but I'm estimating around 1 m/s.  Any ideas and help will be awesome!  I have all summer to work on this project but would like to get some good ideas going.

THANKS!!!
Title: Re: Track and Attack system
Post by: Steve Joblin on April 24, 2008, 07:15:17 AM
you can easily track a colored ball using RoboRealm... it is a free vision processing system that runs on a PC using any cheap webcam.  www.roborealm.com... check out the Tutorials page for a overview of how to track a ball.
Title: Re: Track and Attack system
Post by: paulstreats on April 24, 2008, 08:44:54 AM
Admin has recently used his erp robot to track a line using a blackfin camera. Maybe this can be modified to track a ball?

The trouble with edge finding sharp ir's is that if there is another obstacles such as a wall, they will track this aswell
Title: Re: Track and Attack system
Post by: cooldog on April 24, 2008, 05:21:44 PM
http://www.societyofrobots.com/robot_faq.shtml

go to the 5th one it tells you how to track a red thing using roborealm
Title: Re: Track and Attack system
Post by: Admin on April 27, 2008, 01:09:45 PM
Something like this?
http://www.societyofrobots.com/robotforum/index.php?topic=3980.0