GB+USA
end? We are still in the design phase (next level of top-down). GO sets
when which drive maneuver is started.
"Real" program code is only hidden behind the various subprograms such as
FIND and FORWARD. We have finally reached the bottom. Now the motors
are switched on and off. Each of these subprograms has a clearly defined
task, which we can program with more of an overview.
Conclusion:
Complex programs require completely new types of solution strategies. It
makes sense to aim for an overall solution strategy. We wrote a program
according to the strategy of top-down design. The required solution ap-
proaches are (first) formulated in formal structures, e.g., SEARCH or GO.
These approaches are only refined in further steps and filled with the actual
program code at the end. As a result, we separate program structure from
the actual program code. We can consider both separately and analyze
errors separately too, which is very important.
4.7 FTS — Driverless Transport System
Let's leave the area of scientific experiments now, which malicious gossip
refers to as playing around, and deal with the area of practical applications.
We now want to build and program a robot not just for its own sake,
but instead it should handle a task. The tracker is equipped with a mobile
transport fork for this. This creates a forklift robot, which can transport
material stored on a pallet.
As simple as this experiment seems, it contains all the components of an
26
industrial application. And such transport systems are already in use in part
today. In the meantime, you have had good training in programming, so
that you certainly are willing to take on this complex programming task in
good spirits.
Task 7:
The driverless transport system should drive along a black track.
At the end of the track, it picks up a pallet, turns 180° and drives
back along the track. When the end of the track is detected, the
robot puts the pallet down, turns again and gets the next pallet.
Task 8:
As an extension to Task 7, supplement the program so that the pallet
is only put down for a short time at the end points of the track.
In other words, the robot searches for the pallet, drives to the end
of the track, puts the pallet down for a short time, picks it up again,
drives to the other end, etc.
Solution: