### Author Topic: Track and Attack system  (Read 1850 times)

0 Members and 1 Guest are viewing this topic.

#### fishnflute

• Beginner
• Posts: 1
##### Track and Attack system
« 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!!!

#### Steve Joblin

• Supreme Robot
• Posts: 405
##### Re: Track and Attack system
« Reply #1 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.

#### paulstreats

• Supreme Robot
• Posts: 1,381
##### Re: Track and Attack system
« Reply #2 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

#### cooldog

• Supreme Robot
• Posts: 751
• be nice to nerds, one day they will be your boss
##### Re: Track and Attack system
« Reply #3 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
robot will rule the world and i will be building them

favorite web sites
http://www.societyofrobots.com/
http://www.instructables.com/