Chapter 01 · Meet the robot, then build its mathematical language
Today in the field story
One problem, then the next
Two hinge angles now describe the Parcel-Sorting Desk Robot, so record six safe arm shapes and trace where the tool flap lands. The same parcel lane may be reached with an elbow-up or elbow-down shape; that difference matters near the desk edge. Treat the symbols as labels for measured hinge settings, not as an invitation to skip the physical arm or its limits.
- Why now
The sorter must separate its complete shape from the smaller set of tool locations it can reach.
- Ignore today
Ignore collision planning algorithms and formal topology proofs; observe wrapping and boundaries physically.
- Unlocks next
Configuration-space reasoning for inverse kinematics, collision checking, and MoveIt later in the course.
Understand
Build the physical picture first
Configuration space is a catalogue of every complete robot shape; workspace is the shadow those shapes cast through the tool's reachable positions.
A configuration is one complete snapshot of the robot. Before doing any algebra, give each cardboard shape an ordered two-slot record: shoulder reading first, elbow reading second. Roboticists often name the whole record q and an angle θ, pronounced “theta,” so q = (θ₁, θ₂) is only a compact label for those two slots today. Day 4 will teach signed coordinates and units; Day 8 will teach degrees and radians. One hand position is still incomplete because elbow-up and elbow-down shapes can place the hand at the same point.
Configuration space, shortened to C-space, is the catalogue of all allowed complete records. Imagine one paper slider for every independent joint: choosing one mark on each slider identifies one robot shape. Joint stops, self-collision, cable limits, and declared safety rules remove some combinations. Planning a motion means moving through a connected sequence of allowed complete shapes, not merely drawing a line for the tool. The formal coordinate and geometry language comes later; today you only need to distinguish the catalogue from the physical arm.
Workspace describes what configurations or positions the end-effector can reach. For this beginner exercise, use the simpler position workspace traced by the cardboard hand. C-space and workspace answer different questions: “What is the whole robot shape?” versus “Where can the hand go?” Several C-space points can map to one workspace point, and a straight tool path can require a curved joint-space path.
Topology is used here in one beginner sense: which shapes are neighbours, where motion is blocked, and whether an apparent paper edge joins back to another edge. A freely turning joint returns to the same physical orientation after one full turn, like a clock hand returning to twelve. You do not need torus equations or formal topology today. Mark only the wrap-around and the real joint-stop boundaries you can demonstrate on the cardboard arm.
Words you need
Name each idea precisely
- Configuration
A complete set of coordinate values describing the robot's shape or pose.
Physical example:Shoulder = 30° and elbow = −20° for a two-hinge arm.
- Configuration space
The set of every allowed robot configuration.
Physical example:Every permitted shoulder–elbow angle pair plotted on a sheet.
- Workspace
The set of end-effector configurations or positions the robot can reach.
Physical example:The region traced by the cardboard arm's pen tip.
- Topology
Which configurations connect continuously, which boundaries block motion, and which drawn edges wrap back together.
Physical example:A full-turn angle behaves like a circle whose 0° and 360° locations meet.
- End effector
The robot part intended to interact with the task or environment.
Physical example:A gripper, welding torch, pen tip, or camera at the end of an arm.
Visual model
See the relationship
Math, one line at a time
Work through today’s relationship
Prerequisite rescue · optionalStart at zero: counting, units, and coordinates
No maths is assumed. First give every robot number a physical meaning, a unit, a zero point, and a positive direction.
- N
- a count, such as number of jointsUnit: no unit
- x
- one position measured from a chosen zeroUnit: centimetres (cm) or metres (m)
- Δx
- change in x; Δ means changeUnit: same unit as x
Draw a number line. Put the origin at 0 cm, choose right as positive, and place the robot at x = 20 cm.
Move 30 cm right, so Δx = +30 cm. Predict x_new = 20 cm + 30 cm = 50 cm.
Measure to check, then convert with 100 cm = 1 m: 50 cm = 0.50 m. Never add centimetres directly to metres.
A variable is like a named field in code, but a robot field must also say its physical unit and what zero means.
A robot starts at x = 40 cm and moves 15 cm left. What is its new x coordinate?
Left is negative, so Δx = -15 cm and x_new = 40 - 15 = 25 cm.
Write the shape label as
Here means the complete robot shape and each (theta) names one joint reading. Count two independent slots, but defer signed coordinates and units to Day 4 and degree/radian calculation to Day 8.
Separate C-space evidence from workspace evidence
A two-link arm reaches a dot using qA = (35°, 70°) and another measured shape qB = (105°, −70°).
Record each configuration as an ordered shoulder–elbow pair.
Notice that qA and qB are different points in the two-dimensional C-space.
Mark the hand position produced by each pair on the table grid.
Observe that the two hand positions can be the same or close even though the arm shapes differ.
Check joint limits and collision clearance for both configurations.
Keep both valid candidates until the task supplies another requirement such as elbow clearance.
One workspace target can correspond to multiple C-space solutions, with different safety and collision consequences.
A tool target does not uniquely describe the robot; planners and validators must reason about the complete configuration.
Physical examples
Where this appears in real life
Elbow-up and elbow-down reach
Bend a two-link arm above and below the line to a target while keeping its tip near the same dot.
The workspace point is nearly unchanged, but the two ordered joint-angle pairs are different.
Clock hand wrap-around
Move a hand from 359° to 0° through a tiny physical rotation.
The coordinate number jumps across a paper boundary even though the physical orientation changes continuously.
Hands-on exercise
Make the idea observable
Use the Day 2 cardboard arm, a protractor or printed angle guide, squared paper, and a pen at the tip.
Choose one fixed zero direction and use a printed angle guide or evenly spaced paper marks; treat the readings as labels rather than an algebra exercise.
Place the arm in six different shapes and write each ordered angle pair.
Mark the pen-tip position for every pair on the same sheet.
Search for two visibly different arm shapes whose tip marks are nearly equal.
Draw the angle limits as boundaries on a shoulder-versus-elbow coordinate plot.
Explain whether each angle wraps fully or stops at a physical limit.
The list of angle pairs records full shapes; the traced tip region records only a workspace projection.
Your sheet contains six configurations, their tip positions, one many-to-one example, joint-limit boundaries, and a correct wrap-around statement.
Build today
Build a paper two-link robot and a browser notebook that shows its parts, allowed motion, coordinates, vectors, frames, and matrices.
Evidence to save
DONE when a deterministic “Configuration, C-space, workspace, limits, and topology” failure test reports expected versus actual behavior and passes after the documented fix.
Common mistakes
Catch the wrong mental model
Calling the hand's x-y point the robot configuration.
Record every independent joint coordinate; the hand point is a workspace result.
Assuming one workspace point has one joint solution.
Test for multiple configurations such as elbow-up and elbow-down and compare their constraints.
Calling every two-revolute-joint C-space a full torus.
State that both joints rotate without limits; joint limits cut the allowed set and change its boundary structure.
Job connection
How this becomes employable evidence
Reject a language-selected grasp that looks reachable in camera space but requires a colliding or joint-limit configuration; return a bounded failure instead of a command.
Relevant target roles
- Robotics Software Engineer — ROS 2 / AMR
- Robotics Application / ROS 2 Integration Engineer
- Robot Learning Deployment / Physical AI Integration Engineer
Chapter 01 interview drill
Interview questions: Configuration, C-space, workspace, limits, and topology
Practise a 60–90 second answer: define the idea, connect it to a physical robot, state assumptions, frames, and units when relevant, then finish with the failure signal or evidence you would inspect.
Primary interview scenario
Why is checking only an end-effector target insufficient before executing an arm motion, and what additional C-space checks belong in the pipeline?
Answer shape: clarify the situation → trace the physical and software path → test the most likely boundaries → name the evidence that would confirm the result.
Technical follow-up questions
Q1What is the dimension of the C-space for two independent hinge angles?
Two, because two independent numbers are needed for each configuration.
Q2How can two configurations share one workspace point?
Different full arm shapes can place the end effector at the same location, such as elbow-up and elbow-down solutions.
Q3Why are 0° and 360° not two distant physical orientations?
They represent the same orientation; the coordinate representation is cut at a wrap-around point.