Sample Program For The Beetle Robot - Thames & Kosmos Robotics Smart Machines Experiment Manual

Table of Contents

Advertisement

PROGRAMMING

SAMPLE PROGRAM FOR THE BEETLE ROBOT

Use this program to make your beetle robot walk forward until it
detects an obstacle with the ultrasound sensor. When the obstacle is
detected, the robot will move its front pincers and flap its wings to
scare off any potential predators. If the obstacle keeps approaching,
the beetle will start to back away.
This program is preloaded in the app under Program 4. Test it out and
write down how the robot behaves for each program segment below.
DEMO PROGRAM:
Program 4
OPENING SEGMENT:
SEGMENT 0-21:
SEGMENT 22-35:
SEGMENT 36-50:
SEGMENT >51:
Beetle
33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents