PROGRAMMING
SAMPLE PROGRAM FOR THE DESERT EXPLORER
The desert explorer has two modes of movement based on its
proximity to objects. When the desert explorer is far away from
objects, it will move quickly. But once it has detected an object with
the ultrasonic sensor, it will "walk" slowly towards the object.
This program is preloaded in the app under Program 11. Test it out and
write down how the robot behaves for each program segment below.
PROGRAMMING NOTES
Programming the Desert Explorer
DEMO PROGRAM:
Program 11
OPENING SEGMENT:
SEGMENT 0-30:
SEGMENT 31-90:
SEGMENT >91:
29