If This, Then That
Sensor rules: write one program that guides a museum robot through galleries it has never seen, turning and stopping by itself.
- Robot Senses: Touch, distance, light and line sensors: drive a robot vacuum round a living room, watch its readings, and work out where it is from what it senses.
- Follow the Line: A smooth-driving factory robot: two sensors and four rules, checked ten times a second, keep it on a bending line. Find out why it wiggles.