A simple color menu selection algorithm. This is useful is you have attachments that have unique color blocks for each attachment.
Menu SystemsColor-sensing Menu Approach
Line Following Algorithms
The FollowThatLine algorithm is a simple two-sensor line following algorithm that moves the robot forward a certain number of wheel rotations.