10 |
P a g e
E. Run the Motors
There are a number of ways we may want to move the mBot2. The blocks we need are in the mBot2 Chassis group.
Movement
Commands
Forward or backward
forever.
(Should only be used when the
ultrasonic sensor or colour
sensors are used to control
when the motors should stop)
Forward or backward for
a length of time
Forward or backward for
a fixed distance
Turn on the spot for a
length of time
(wheels turning in different
directions)
Turn for a number of
degrees of heading
Gradual turn for a length
of time
(wheels turning in the same
direction or one wheel
stopped)
Stop motors
cm
seconds
forever
time
degrees
time