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

Robot Foundations · Module 1: What Is a Robot?

Kinds of Robots and the Problems They Share

Robots are sorted by how they move. Underneath, they all have to answer the same four questions.

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

A robot vacuum, a welding arm, a delivery drone and a walking humanoid seem to have nothing in common. Their engineers, though, could swap jobs more easily than you might think, because all four machines are stuck on the same four questions. This lesson is a tour of the kinds of robot, and then of the questions they share. Those questions are the plan for the rest of this course.

What you will be able to do

  • Name five kinds of robot by how they move.
  • Give one thing each kind is good at and one thing that makes it hard.
  • State the four questions every robot must answer.
  • Say which kind of robot this course uses, and why.

The idea

The most useful way to sort robots is by how they move, because movement decides most of the engineering.

Five kinds of robot by how they move
KindHow it movesGood atWhat makes it hard
Wheeled mobile robotWheels on a floor or roadCarrying things over flat ground, cheaply and for hoursKnowing where it is, and steps, kerbs and clutter
Robot arm (manipulator)A chain of joints fixed to a basePrecise, strong, repeatable work within reachHandling objects that vary in shape, place or softness
Aerial robot (drone)Propellers or wings, through the airReaching anywhere quickly, and seeing from aboveIt cannot simply stop and think, and batteries are small
Legged robotTwo or four legsStairs, rubble and rough groundBalance: it is always about to fall
HumanoidTwo legs and two armsSpaces and tools built for peopleIt has the problems of legged robots and of arms at once

The list is not complete. There are underwater robots, boats, snake robots and soft robots, and many machines mix kinds: a mobile manipulator is an arm riding on a wheeled base. But these five cover nearly every robot you will meet.

Two families of task

Cut across those kinds and there are two things robots are asked to do.

  • Go somewhere. Move the robot's own body to a place. This is navigation (or locomotion when the hard part is the moving itself, as with legs).
  • Change something. Pick up, push, cut, assemble: move something else. This is manipulation.

A warehouse robot navigates. A welding arm manipulates. A robot that fetches a cup from the kitchen must do both, which is why it is harder than either.

The four questions every robot shares

Now forget the shapes. Whatever a robot looks like, to do its job it has to answer four questions, over and over, inside the loop of the previous lesson.

The robot loopA loop of four blocks. Sense sends readings to Think. Think sends commands to Act. Act causes motion in the World. The World, now changed, is sensed again. SenseWhat is around me?ThinkWhere am I? What next?ActHow do I move? WorldThe robot and its surroundings readings commands motion what changed
The four questions, placed on the robot loop. Two of them live in the "Think" block.
The four questions every robot must answer, with their names and two examples
QuestionIts name in roboticsFor a wheeled robotFor an arm
What is around me?Perception and mappingWhere are the walls and obstacles?Where is the part, and which way up?
Where am I?Localization (more generally, state estimation)My position and heading on the floorThe angle of each of my joints, so where my gripper is
What should I do next?PlanningA route to the goal around the obstaclesA motion of the gripper to the part that hits nothing
How do I make my body do it?ControlWhich speed to give each wheelWhich force to give each joint motor

Robots differ in their bodies. They share their questions: what is around me, where am I, what next, and how.

This is why the specialised tracks on this site are named after questions and not after robots: Perception, Localization and SLAM, Navigation, Control. Learn to answer a question for one robot and most of what you learned carries over to the next.

Why this course uses a wheeled robot

Pip is a two-wheeled mobile robot on a flat floor. That is the simplest robot that still faces all four questions for real. It moves in two dimensions, so its position is two numbers and you can draw everything on paper. It cannot fall over, so a mistake costs nothing. And nothing about the ideas is special to wheels: a drone asks "where am I?" with one more dimension and less time to answer.

The course follows the four questions. Module 3 is "how do I move?". Module 4 is the sensing behind "what is around me?". Module 5 is "what next?". Module 6 turns sensing into a map, and module 7 is "where am I?". Module 8 puts them together.

Words to know

Mobile robot
A robot whose whole body travels. On Pip: it is one: it drives across the workshop.
Manipulator
A robot arm: a chain of rigid links joined by motorised joints, usually ending in a gripper or tool. On Pip: it has none. A person loads and unloads its tray.
Navigation
Getting the robot itself from one place to another without collisions. On Pip: its whole job.
Manipulation
Using the robot to move or change other objects. On Pip: not its job.
Perception
Turning raw sensor readings into knowledge about the surroundings. On Pip: working out from laser readings that there is a wall ahead.
Localization
Working out where the robot is. On Pip: knowing it is 2 m from the door, facing the shelf.
Planning
Choosing a sequence of actions that leads to the goal. On Pip: a route around the workbench to shelf B.
Control
Computing the commands that make the body follow the plan. On Pip: the two wheel speeds, recomputed on every pass of the loop.

A worked example: the four questions for a delivery drone

A drone carries a parcel from a depot to a garden 2 km away. Its body shares nothing with Pip. Ask the four questions anyway.

  1. What is around me? Trees, wires, buildings and other aircraft. Cameras and distance sensors look for them.
  2. Where am I? Position in three dimensions, and also its tilt. A satellite receiver gives position outdoors. A motion sensor gives tilt hundreds of times a second.
  3. What should I do next? A route at a safe height that avoids no-fly areas, then a descent into the garden.
  4. How do I make my body do it? Four propeller speeds. To move forward the drone must tilt, and to tilt it must speed up the rear propellers and slow the front ones.

Each answer differs from Pip's. The questions are the same, they are asked in the same loop, and the methods are relatives: the drone's position estimate works on the principle you will meet in module 7.

Try it yourself

A robot in a hospital pharmacy picks a named medicine box from a shelf and drops it into a tray. It is an arm on a fixed base with a camera. Write one line for each of the four questions.

One possible answer

What is around me? Which box on the shelf is the one requested, and exactly where it sits (camera, reading the label). Where am I? The angle of each joint, from encoders, which gives the position of the gripper. What next? A path for the gripper to the box, then to the tray, that does not knock other boxes. How? The motor commands at each joint that follow the path, and a grip firm enough to hold the box without crushing it.

Common mistakes

"Humanoids are the most advanced robots, so the others are simpler versions."

Each kind fits a job. A wheeled robot carries more, for longer, at a fraction of the cost on a flat floor. A humanoid makes sense where the surroundings were built for people and cannot be changed.

"What I learn about wheeled robots will not apply to arms or drones."

The mechanics differ. The four questions, the loop, and most of the methods for answering them carry over. That is why a simple robot is a good place to start.

"Navigation means knowing where you are."

In everyday robotics, navigation means getting to a place, which needs localization, planning and control together. Knowing where you are is localization. (Aerospace engineers use "navigation" for the estimation part alone.)

Remember this

  1. By movement, the main kinds of robot are wheeled, arm, aerial, legged and humanoid.
  2. Tasks come in two families: going somewhere (navigation) and changing something (manipulation).
  3. Every robot answers four questions in its loop: what is around me, where am I, what next, and how.
  4. This course uses Pip, a wheeled robot, because it is the simplest robot that faces all four questions.

Check yourself

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

Question 1

A robot must carry a tray up a staircase. Which kind of robot fits, and what is the main difficulty that comes with that choice?

Explanation

A legged robot (or a humanoid), because wheels do not climb stairs. The price is balance: a legged robot is supported on a small area and must keep adjusting to avoid falling, so it needs a fast loop and good sensing of its own tilt.

Question 2

A self-driving car stops at a red light. Which of the four questions did "the light is red" answer, and which question did "so stop before the line" answer?

Explanation

"The light is red" answers "what is around me?" (perception). "Stop before the line" answers "what should I do next?" (planning). Knowing how far away the line is needs "where am I?", and pressing the brake by the right amount is "how do I make my body do it?" (control).

Question 3

Why is a robot that fetches a cup from another room harder to build than either a warehouse robot or a factory arm?

Explanation

It has to do both families of task. It must navigate through rooms (where am I, what is around me, a route) and then manipulate an object whose exact place and shape it does not know in advance. Errors in the first part become problems for the second: if it stops a few centimetres off, the cup is not where the arm expects.

What’s next

That completes the picture in words. From here on the course needs a few numbers. Module 2 starts with the simplest: where, exactly, is Pip? If you would like to see where the four questions lead much later, What Is Physical AI, and Why Is It Hard? shows the same loop driven by spoken instructions.

Next lesson

Units, Position and Coordinates

Write a position on a floor as two numbers, x and y, in metres, and find the distance between two positions.

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.