Datasheet

Page 104· Applied Robotics with the SumoBot
Figure 3-13 White Tawara vs. Black Sumo Ring Surface
Example Program: QtiSelfCalibrate.bs2
Place the SumoBot on the black part of your practice ring.
Lighting Reminder
Your SumoBot and SumoBot Robot Competition Ring poster should be well away from any
sources of direct sunlight and other bright lights. Close nearby blinds if necessary, and
make sure the light sources in your work area are either fluorescent or indirect
incandescent.
Enter, save and run QtiSelfCalibrate.bs2.
Position your SumoBot so that the left QTI is over the white tawara line as
shown in Figure 3-13, and verify that the display reports white for the left side.
Repeat for the right QTI, then for both QTIs.
' -----[ Title ]--------------------------------------------------------------
' Applied Robotics with the SumoBot - QtiSelfCalibrate.bs2
' This program sets a threshold between black and white, and then displays
' whether the QTI sees black or white.
' Important: You must start with the QTIs seeing black.