The Robot is getting smarter...
Now it can find goal posts! And its supposed to be able to shoot the ball into the goal... that is, after it finds the ball and the posts and lines up properly, which is proving to be tricky...

We convert the RGB picture it takes into YUV, and then analyze that, so it filters the color of the tennis ball better. Then, we use this awesome time-saving library called CCAnalysis to find the middle of the posts and the ball, we turn until the ball is inbetween the posts, and then... we shoot!!

0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home