Quote:
|
Originally Posted by Zalumaskov
I was just wondering about how to get the robot cam to find the middle of the three goals. I am considering having it scan for all three and use the middle pan value to get the center goal. Does anyone have any suggestions/other ideas?
|
This is something I kinda cooked up--season to taste:
Step 1: Know where you're starting, and make sure the robot knows, too. (A couple of switches on the digital inputs will solve that.)
Step 2: Via dead-reckoning or counting revolutions or something like that, get somewhere in the ballpark of the center goal. (Your robot should, after all, know how to get within a few feet, even if you're bumping a tetra out of the way.)
Step 3: Now let the camera do its thing.
As long as you don't have a really huge field of view, I'm willing to bet you should be good to go when it comes to the center goal.
Hope this helps!