27404 Parallax Inc, 27404 Datasheet - Page 159

COMPETITION RING FOR SUMOBOT

27404

Manufacturer Part Number
27404
Description
COMPETITION RING FOR SUMOBOT
Manufacturer
Parallax Inc
Datasheet

Specifications of 27404

Accessory Type
Hobby and Education
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
SumoBot®
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Since
LOOKUP
maneuver
person could dream up.
ACTIVITY #2: SETTING YOUR SIGHTS ON THE OPPONENT
As soon as your SumoBot sees its opponent with one infrared object detecting "eye", it
needs to maneuver so that it can see it with both eyes. There are lots of ways to do this.
For example, the SumoBot can be programmed to do a standard Boe-Bot maneuver by
rotating in place until it sees its opponent with both eyes. The drawback to this approach
involves a nearby opponent shown in Figure 4-5. If your SumoBot halts all forward
maneuver
Modify the
in the SumoBot maneuver constants list.
For the
can do a full circle in the ring without passing over the white tawara line (see
Figure 4-4).
commands can have up to 256 different
Try making up some of your own, and add them to the maneuver constants list.
Remember, you will need new entries added to the
Spend some time refining CurveLeft and CurveRight. These two maneuvers are
strategically important to your SumoBot.
variable to a byte, you will likely have more maneuver possibilities than a
CurveLeft
is a nibble variable, it can store any one of up to 16 different maneuvers.
Pulse_Servos
and
CurveRight
subroutine to accommodate the rest of the maneuvers
maneuvers, tune them so that the SumoBot
Value
arguments, so if you change the
LOOKUP
Figure 4-4
Circling inside the
Sumo Ring
command’s table.

Related parts for 27404