How it works
Bo only followed steps, so he bumped into the table. Steps say what to do, and sensors show what is there.
A sensor measures the world: light, sound, touch or distance.
A robot does three things over and over: it senses, it decides with a rule, and it acts.
A robot follows its rule using what its sensors tell it, and nothing more.