LESSON 01 · FOUNDATIONS

Meet the robot: sense, decide, act

Understand the feedback loop before installing software or connecting a motor.

Environment and verification

Documented target: Ubuntu 24.04 · ROS 2 Jazzy · Gazebo Harmonic where used. Browser labs tested; ROS/Ubuntu/hardware execution not performed here.

What you will understand

  • Identify sensor, controller and actuator roles.
  • Distinguish simulated behavior from physical validation.
  • Explain feedback.

Prerequisites: Curiosity and a modern browser. No hardware needed.

The idea, made clear.

A mobile robot combines a mechanism, sensors, computation and actuators. A sensor reading is an observation, not a complete description of the world. A controller compares observations with a desired outcome and selects a command. The next observation closes the loop: without it, the robot cannot tell whether its command worked.

Separate the task from implementation. Stopping before an obstacle requires a distance observation, a stopping rule and an actuator command. The same task can be demonstrated in a browser, simulator or real robot, but their failure modes differ. A browser has no battery, wheel slip, people or braking delay.

Begin with a stationary simulation exercise. On hardware, disconnect motor power while wiring, inspect polarity and test with wheels lifted. A software stop button does not replace a reachable physical power disconnect. Keep moving robots away from stairs, pets and people.

ObservationDecisionActuationFeedback
An original overview of the information or commissioning sequence.

Try it, step by step.

1

Describe a mission

Specify a stop threshold of 0.35 m and what happens when observations are missing.

Expected: A measurable goal and a conservative failure policy.

2

Explore a measurement

Move the obstacle in the LiDAR lab before deciding whether a stop command is appropriate.

Expected: Ray intersections change with obstacle geometry.

3

Record assumptions

List ideal sensing, two-dimensional geometry and absent braking dynamics.

Expected: The demonstration is explicitly separate from a physical safety controller.

Explore the interactive lab →

If something goes wrong

Model behaves perfectly
Account for noise, missed observations and actuator delay in your reasoning.
One reading is treated as truth
Check repeated observations and define invalid-data behavior.

Check your understanding

What closes the loop?

Make it yours

Draw the feedback loop for a greenhouse rover and identify one failure at each stage.

Your learning progress

Optional progress stays in this browser. No account needed.

Go to the source documentation

Commands are educational examples for the stated environment, not a transcript of local ROS execution. Verify actual behavior on your machine.

Look up a term · Version notes · Report an issue