Datasheet

Chapter 8 Robot Control with Distance Detection
260Robotics with the BOE Shield-Bot
Follow the Leader
Here's a leader BOE Shield-Bot followed by a shadow BOE Shield-Bot. The lead robot is
running a modified version of FastIrRoaming, with maneuver speeds reduced to +/- 40. The
shadow BOE Shield-Bot is running FollowingShieldBot. One lead robot can string along a
chain of 6 or 7 shadow robots. Just add the paper panel to the rest of the shadow BOE
Shield-Bots in the chain.
If you are working on your own with one BOE Shield-Bot, you will be the leader!
The leader-object can be a book, bottle or even just your hand.
If you are part of a class with two or more BOE Shield-Bots, mount a paper panel
around the tail and both sides of a lead robot to make it more visible to the
shadow robots, like in the picture. If you are making a chain of shadow robots,
put a paper panel on each of them too.
Program the lead BOE Shield-Bot with SlowerIrRoamingForLeaderBot.
Program each shadow BOE Shield-Bot with FollowingShieldBot. Each shadow
robot’s IR LEDs should be pointing slightly to the left and right, and level with
horizontal (not up or down).
Place a shadow BOE Shield-Bot behind the lead BOE Shield-Bot or other leader-
object. The shadow BOE Shield-Bot should follow the leader at a fixed distance,
so long as it is not distracted by another object such as a hand or a nearby wall.