ROS 2 From Zero
An interactive course for people who have been using ROS 2 but don't really get it yet. You won't just read here: you'll type real ros2 commands into a simulated terminal, drive a turtle, break things on purpose, and see why they broke.
Progress is saved in this browser only. No account, no tracking.
Try it right now (60 seconds)
This is the terminal you'll use throughout the course. It behaves like Ubuntu with ROS 2 Jazzy installed. Click inside it and do the three tasks on the right. Each time you run a command, the “What just happened?” box explains it in plain English.
/chatter) and a message type (std_msgs/msg/String). That one idea is most of ROS. Lesson 3 and 4 unpack it.The idea in one picture
A robot in ROS is a team of small programs (nodes) that pass data around on named channels (topics) — plus request/reply calls (services), long-running jobs (actions) and settings (parameters). Everything else in ROS sits on top of that.
The course
Go in order. Each lesson has: a plain-English explanation → visual, interactive diagrams → a terminal lab with tasks that check your work → a “do it for real” section for your own Ubuntu machine → quiz questions. Expect about 30–60 minutes per lesson if you actually do the labs (and please do).
How to use this site
🖥️ In your browser
Every lesson has a simulated terminal. It is a teaching model — not real ROS — but the commands, outputs and error messages match ROS 2 Jazzy closely, so the same commands work on a real machine. Nothing to install.
🐧 On a real machine
Every lesson also has “Do it for real” boxes. Run them on Ubuntu 24.04 with ROS 2 Jazzy (or in the Docker container from the Mastering ROS 2 book). Lesson 2 shows you how to install.
📘 Alongside the book
The course follows the structure of Mastering ROS 2 for Robotics Programming (Packt, 4th ed., Jazzy) and uses its Chapter 3 code (master_ros2_pkg, master_ros2_interface) in the labs. You don't need the book, though.
🧠 Learn by breaking
Many tasks ask you to cause an error on purpose (forget to source, wrong QoS, wrong domain ID). Recognizing these errors is what makes you good at ROS. Professionals don't make fewer mistakes — they recognize them faster.
Who this is for
- You can use a Linux terminal a bit (
cd,ls). If not, lesson 2 covers the minimum. - You can read some C++ or Python. You don't need to be an expert.
- You've maybe followed ROS tutorials, copy-pasted commands, and it “worked” — but you couldn't explain why. This course is for exactly that feeling.
LICENSE and README.md in the repository). Found a mistake or have an idea for a better exercise? Open an issue or a pull request.