Quick Start Guide
© Modular Robotics, 2016 www.modrobotics.comPage 12
Swap out the Flashlight Action block and put a
Drive Action block in its place. Now you’ve built
a robot that goes when it’s dark, and stops
when it’s light.
The Inverse Think block in this Night-Gobot
inverts the number from the Brightness Sense
block before passing it to the Drive Action
block. In low light, the Brightness Sense block
produces a small number; the Inverse Think
block inverts it to a big number, which makes
the Drive Action block go fast. In bright light,
the Brightness Sense block produces a big
number, which the Inverse Think block inverts
to a small number, so the Drive Action block
moves slowly, or not at all.
13. Differential Drive
Put two Gobots together on a robot (facing
the same way) and you’ve built a Steeringbot.
The Steeringbot has two Gobot towers with a
Battery block in between. Each Gobot tower
responds to nearby objects. Put your hand
near the right side Gobot tower and its Drive
Action block will go, while the left side’s Drive
Action block stays still (or goes slower).
When one Drive Action block moves and the
other doesn’t, or turns the other way, the
Steeringbot turns. That’s called “differential
drive steering.”