Can you guess what the red ball is for?


OK, so the red ball is there so that the robot knows it made a full circle. You can see that the color sensor rotates with the rest of the robot while the ball remains still.

Here's the source code for the program that the robot is running.
No comments:
Post a Comment