Skip to the lesson
FixTheRobot Explore Robotics / Robot Foundations / Module 1 / Lesson 1

Robot Foundations · Module 1: What Is a Robot?

What Is a Robot?

A robot is a machine that senses, decides and acts, by itself, again and again.

  • Lesson 1 of 4
  • Beginner
  • No code
  • About 9 minutes

A toy car driven by remote control and a robot vacuum cleaner are both small machines on wheels that roll around a room. Only one of them is a robot. The difference is not the wheels, the plastic or the price. It is who does the noticing and the deciding. This lesson gives you three questions that settle it for any machine you meet.

What you will be able to do

  • Say what a robot is in one sentence.
  • Use three questions (does it sense, does it decide, does it act?) to tell whether a machine is a robot.
  • Explain why a remote-control car and a machine that only repeats a fixed routine are not robots.
  • Describe the job of the robot this course follows.

The idea

Put a robot vacuum cleaner in a room it has never seen. Nobody steers it. It rolls forward, notices a chair leg, chooses to turn, and carries on. Move the chair and it copes. To do that it needs three abilities, and it needs all three inside itself.

  1. It senses. It measures something about the world around it or about itself: a bump, a distance, how far its wheels have turned.
  2. It decides. A program uses those measurements to choose what to do next. Different measurements lead to different choices.
  3. It acts. It moves itself or moves something else: wheels turn, an arm lifts, a gripper closes.

A robot is a machine that senses, decides and acts, and repeats those three steps by itself.

Take one ability away and you have a different kind of machine. The quickest way to see this is to ask, for each of the three jobs, who does it: the machine, or a person?

Who senses, decides and acts in three machinesThree panels. In a remote-control car, a person senses and decides and the machine only acts. In a machine that plays a fixed routine, nobody senses, the routine was decided in advance, and the machine acts. In a robot, the machine senses, decides and acts.Remote-control carSensethe personDecidethe personActthe machineFixed routineSensenobodyDecidedecided in advanceActthe machineRobotSensethe machineDecidethe machineActthe machine
Blue: the machine does this job itself. Orange: someone else does it, or nobody does. A robot is the machine where all three are blue.

Two machines that are not robots

A remote-control car acts, but the person holding the controller does the sensing (with their eyes) and the deciding. The car is the person's hands at a distance. Engineers call this teleoperation.

A machine that repeats a fixed routine, such as a simple conveyor that pushes a box every two seconds, acts without a person. But it does not sense. If the box is missing, it pushes the air. Engineers call this automation. It works very well when the world never changes, and it fails the moment the world does.

A robot is what you build when the world will not hold still: the chair moves, the floor is slippery, the box arrives crooked. Sensing is how the robot finds out, and deciding is how it adapts.

The line is not sharp

Real machines do not sort neatly into two piles. A thermostat senses temperature, decides, and switches a heater: all three abilities, though few people would call it a robot, because it does not move anything. A surgical robot is steered by a surgeon, yet it also filters out the tremor of the surgeon's hand by itself. A modern car that keeps its lane is a robot for that one task and an ordinary car for the rest. So do not ask "is it a robot, yes or no?". Ask "which of the three jobs does the machine do itself, and for which task?". That question always has a clear answer.

Five machines checked against the three questions
MachineSenses?Decides?Acts?So it is
Toaster with a timerNoNo (a fixed time)YesAutomation
Remote-control carNo (the person does)No (the person does)YesTeleoperated machine
Weather stationYesNoNoA sensor, not a robot
Robot vacuum cleanerYes: bumps, distance, wheel turnsYes: where to clean nextYes: drives and sweepsRobot
Factory arm with a cameraYes: sees where the part isYes: how to reach itYes: moves and gripsRobot

This course follows one robot from start to finish. Pip is a small two-wheeled robot that fetches parts across a workshop floor. You tell Pip which shelf to go to. Pip has to sense the room, decide how to get there, and drive, without help. Every module teaches one thing Pip needs for that job.

Words to know

Robot
A machine that senses, decides and acts, repeatedly and by itself. On Pip: it measures the room, chooses a route to the shelf and drives there.
Sense
To measure something about the world or about the machine itself. On Pip: a spinning laser measures the distance to the walls.
Decide
To choose the next action from the measurements, using a program. On Pip: a wall is 0.4 m ahead, so turn left.
Act
To cause motion or force in the physical world. On Pip: two motors turn the two wheels.
Autonomous
Working without a person steering. It does not mean "intelligent": a robot can be autonomous at one small task. On Pip: nobody holds a controller while it drives to the shelf.
Teleoperation
A person controls the machine from a distance and does the sensing and deciding. On Pip: a technician drives it by hand with a joystick to rescue it when it is stuck.
Automation
A machine repeating a routine that was fixed in advance, without sensing. On Pip: it would be automation if it always drove 3 m forward and stopped, whatever was in the way.

A worked example: is an automatic door a robot?

An automatic sliding door at a shop entrance. Ask the three questions in order.

  1. Does it sense? Yes. A sensor above the door detects that someone is approaching.
  2. Does it decide? Yes, though the decision is tiny: if someone is there, open; if nobody has been there for a few seconds, close.
  3. Does it act? Yes. A motor slides the door.

All three jobs are done by the machine, so the door runs the same loop as a robot. It is about the simplest example there is: one sensor, one rule, one motor. Most people would not call it a robot, because its decision is a single if and it never has to cope with anything new. That tells you where the interesting part of robotics lies. Sensing and acting are needed, but the difficulty, and most of this course, is in the middle step: making good decisions from imperfect measurements.

Now change one thing. The sensor breaks and the shop sets the door to open for ten seconds every minute. It still acts, but it no longer senses or decides. It has become automation, and it will happily close on a customer.

Try it yourself

Look around the room or the street and pick three machines: for example a washing machine, a lift (elevator), and a drone flown by a person. For each, write one line answering: what does it sense, what does it decide, what does it act on? Then say who does each job.

One possible answer

Washing machine: senses water level and temperature, decides when to stop filling and heating, acts with a valve, a heater and a motor. It mostly follows a fixed programme, with a little sensing: closer to automation. Lift: senses which buttons were pressed and where the car is, decides which floor to visit next, acts with a motor and doors: all three by itself. Drone flown by a person: the pilot decides where to go, but the drone senses its own tilt and corrects it hundreds of times a second so that it stays level. Teleoperated for the route, a robot for staying in the air.

Common mistakes

"A robot is a machine that looks like a person."

Most robots look like trolleys, arms or boxes. Shape is not the test. The three abilities are.

"If it moves by itself, it is a robot."

A wind-up toy moves by itself. It senses nothing and decides nothing, so it cannot react when something changes.

"A robot is intelligent."

A robot needs only enough decision-making for its task. A robot that follows a line on the floor uses a rule you could write on a postcard, and it is still a robot.

Remember this

  1. A robot senses, decides and acts, and it repeats these by itself.
  2. To classify any machine, ask who does each of the three jobs: the machine, a person, or nobody.
  3. Remote control leaves the sensing and deciding to a person. Automation leaves out the sensing.
  4. Robots are for a world that changes. Sensing is how they find out, and deciding is how they adapt.

Check yourself

Three questions. Write an answer in your own words, then reveal the explanation. Nothing you type leaves your browser.

Question 1

A toy car follows a black line on the floor. It has two light sensors underneath and steers toward the side that sees black. Is it a robot? Give your reason using the three questions.

Explanation

Yes. It senses (the two light sensors), it decides (steer toward the side that sees the line) and it acts (it drives its wheels). Nobody steers it, and if you bend the line it follows the new shape. The decision rule is very simple, which does not matter.

Question 2

A factory machine stamps a metal sheet once every second. One day a sheet is missing, and the machine stamps anyway. Which of the three abilities is it missing, and what is this kind of machine called?

Explanation

It is missing sensing, and therefore it has nothing to base a decision on. Its actions were fixed in advance. This is automation. Add a sensor that checks for the sheet and a rule that waits when there is none, and it takes its first step toward being a robot.

Question 3

A person flies a camera drone with two joysticks. Their friend says "that is not a robot, you are flying it". Is the friend completely right?

Explanation

Only partly. The person decides where the drone goes, so the route is teleoperated. But the drone senses its own tilt and adjusts its four motors many times a second to stay level, which no person could do by hand. For the task of staying balanced, the drone senses, decides and acts by itself.

What’s next

You can now say what a robot does. The next lesson opens one up and names the parts that do it.

Next lesson

The Parts of a Robot

Name the six parts every robot has (body, actuators, sensors, computer, power, software) and say what each one does.

Where this goes on the site

Nothing below is needed to continue this course. These pages take the topic of this module further, and most assume more mathematics or Python than this course does.