Module 1 of 10
Video coming soonAbout 10 minutes
Module 1: Core concepts
Goal: write your own programs that drive Bumperbot, read its sensors and obey commands, and learn the ideas every ROS 2 robot is built on.
Before you start
You need to know Python and a few Linux terminal commands. Nothing else. Every robotics word is explained the first time you meet it.
Watch first
Watch the video above (about 10 minutes), then follow the steps below. Each step is short, and each one ends with a challenge: you write code and watch the robot do what you told it.
What you will build
You start with a robot that does nothing, and you finish with a complete driver for it.
- Meet Bumperbot: the robot, the simulator, and your first two ideas.
- Move the robot: your program sends speed commands.
- Where am I?: your program reads the robot's position.
- BONK!!: your program reads the lidar and brakes before a wall.
- Change it live: you change a setting while the program runs.
- Ask and answer: you build an emergency stop that any terminal can call.
- Start everything together: one command starts the whole demo.
- Record and replay: you record a run and play it back.
How each step works
- The idea. A few lines, with a picture.
- Look at it live. A few commands that show the idea on the running robot.
- Read the code. A short example, explained line by line.
- Your mission. A code file opens in the editor, with TODO comments. You fill them in and run it.
- Submit. Open the Submit tab and send your work to your coach.
Start the robot
- Open the Simulator tab on the right, choose Bumperbot in small house, and press Launch.
- When the status says the simulator is running, open the 3D and data tab. You see the robot.
- Leave it running while you work through the module.