30 likes | 125 Views
See and Hit. Spin / Turn/ Until the object is in Sight Drive forward towards the object Until it hits the object Back up Repeat the above process. Modifications. If the ball is in sight go forward If ball isn’t in sight Turn 3 times Move forward Repeat the above process
E N D
Spin / Turn/ Until the object is in Sight • Drive forward towards the object • Until it hits the object • Back up • Repeat the above process
Modifications • If the ball is in sight go forward • If ball isn’t in sight • Turn 3 times • Move forward • Repeat the above process Need a switch statement Repeat the process