User manual
- 22 -
6.3 Complex Line-seekers
Line-seeking and line-following robots usually will need a light
source such as a LED and twi or more light sensors. These devices
allow the system to identify a line and follow the track. Initially the
robot may need a special search pattern routine to nd a line. The
pattern may consist of a strategy to follow a spiral pattern with a
gradually increasing radius from the starting point. This pattern is to
be followed until the sensor detects a specic line pattern and starts
following this line.
Developing such programs, which sufciently solves the problem of
searching any kind of line patterns, already belongs to the sophisti-
cated categories of software.
6.3.1 Complex behavior patterns (as a programming task)
The project may be complicated by specifying the search strategy to
work in a complicated pattern of colored areas and lines and to nd
any red line which will lead the robot to a safe and dark “garage”.
As soon as the noise pattern has been absent for a while the robot
may leave its “garage” and start searching a green line, which may
lead the device to another “garage” with bright, green light, in which
the robot will feel comfortable – even in an environment with heavy
music.
As soon as the music however does contain a ute’s high frequen-
cies the robot will feel uncomfortable. It will leave its carport to nd
the red lines, which will bring it back home to its dark “garage”.