Thames & Kosmos Robotics Workshop handleiding

68 pagina's
PDF beschikbaar

Handleiding

Je bekijkt pagina 43 van 68
PROGRAMMING
Beetle
Ultrasonic Walking Robot
SAMPLE PROGRAM FOR THE WALKING ROBOT
The ultrasonic walking robot uses a motor to walk on four legs and
the ultrasonic sensor to detect objects. This program is preloaded in
the app in the Load Demo Code menu.
If the reading from the ultrasonic sensor is greater than 30,
then the robot will walk forward.
Within the loop there is an if-else
statement, which checks whether the
reading from the ultrasonic sensor is
greater than or equal to 30.
The program is placed in a loop which
will turn the robot on if the reading
from the ultrasonic sensor is greater
than 0.
If reading from the ultrasonic sensor is less than 30, then
the robot will walk backward.
Scan this QR code to view
online tech support videos
of the models in action.
41

Bekijk gratis de handleiding van Thames & Kosmos Robotics Workshop, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.

Productinformatie

MerkThames & Kosmos
ModelRobotics Workshop
CategorieNiet gecategoriseerd
TaalNederlands
Grootte55434 MB