View Single Post
  #27   Spotlight this post!  
Unread 10-04-2010, 15:45
Al3+'s Avatar
Al3+ Al3+ is offline
ARTist
AKA: Anthony
FRC #0840 (Aragon Robotics Team)
Team Role: Programmer
 
Join Date: Oct 2009
Rookie Year: 2008
Location: San Mateo, CA
Posts: 58
Al3+ is a jewel in the roughAl3+ is a jewel in the roughAl3+ is a jewel in the rough
Re: Autonomous Perception

Range finders are a good idea, but they're kind of limited. Unless you plan to have a whole row of them, you probably need a better way to distinguish between gamepieces, robots, and obstacles.

I imagine a possible "find gamepiece" routine going something like this:
Use the camera to find the nearest blob matching certain parameters (depending on gamepiece). If one exists, compute the angle from the x-position in the image, rotate the bot to that angle using gyro, confirm that the gamepiece is still there, then use a rangefinder on the front of the robot to find the distance and drive up to it. If none are found, rotate 30 degrees or so and try again.
__________________
cout << "Hello, robotics. Goodbye, world." << endl;

"The two-axis accelerometer provided in the kit of parts (shown in the picture below) is a two-axis accelerometer." - WPILib User's Guide