
GOLF-BOT 259
NOTE If you placed the target too far away from Golf-
Bot and the ultrasonic sensor doesn’t detect it, simply
reposition the target, and run the program again. Remem-
ber that if Golf-Bot doesn’t detect anything, it will return
to its starting position, and its program will end.
When Golf-Bot detects the target, it should immediately
drop the ball onto the ground and continue rotating until
its club is directly behind the ball. At that point, the robot
should swing the club and knock the ball toward the target.
If the ball lands inside the target, you can press the touch
sensor. If the ball doesn’t land inside the target, press the ...