Skip to main content
SWStudyWalks Search

Artificial Intelligence / Unit 9   AI 0549 worked example, 60 to 90 seconds

The Floor Cleaner, Layered

Captions available

The idea

One floor-cleaning robot, built in three layers of control, shows the hierarchy whole — each layer on its own clock, spared its neighbors' concerns.

In practice

The bottom layer owns the wheels: bump sensor fires, veer — a reflex in milliseconds, no goals consulted. The middle layer owns "go to the next waypoint": it remembers the current target, steers toward it through the bottom layer's reflexes, and tells upward when the target is reached. The top layer owns the plan — which rooms today, in what order — deliberating on the scale of minutes and commanding by handing down waypoints, never touching a wheel. Now read the design by what it spares. The reflex layer holds no concept of Tuesday's schedule; the planner holds no concept of wheel torque; each operates on its own abstraction of the world, delivered by its neighbors. Bump, veer, re-steer, arrive, report, re-plan — three clocks ticking at three speeds, one competent machine.

Where people slip

The top layer is Unit 3's planning and Unit 7's policy thinking — the hierarchy is how one body affords deliberation and reflex at once.

Your place on the trail

Every lesson rests on earlier ones and opens later ones. Tap any to jump.

Something wrong in this lesson? Flag it  ·  Sources for Artificial Intelligence