Thames & Kosmos 620380 Experiment Manual page 47

Robotics smart machines rovers & vehicles
Table of Contents

Advertisement

SAMPLE PROGRAM FOR THE SCOUT ROVER
First, place several large objects along a corridor or hallway. When you run this program, the scout rover will be
able to navigate these obstacles. First, the scout rover will move the ultrasonic sensor left and right searching for
any objects that are nearby. If no objects are detected the scout rover will move forward. When an object is within
range of the scout rover, it will back away and turn its wheels. Then the scout rover will continue to move forward
again in a new direction until it detects another object.
This program is preloaded in the app under Program 13. Test it out and write down how the robot behaves for each
program segment below.
PROGRAMMING NOTES
44
SCOUT ROVER
DEMO PROGRAM:
Program 13
OPENING SEGMENT:
SEGMENT 0-30:
SEGMENT >31:

Advertisement

Table of Contents
loading

Table of Contents