Bumperbot, chapter 30

Making the wheels obey numbers

At the end of chapter 29 the hardware was ready and the controllers were only names in a file. This chapter starts them, finds the topic they listen on, and publishes two numbers that turn the wheels.

01

The launch file, line by line

Click a line. The workbench changes to match it: change the values, press run, and watch what happens. Make mistakes on purpose.

New to chapter 29? The idea in one picture, and three pieces of code this file relies on
controller.launch.py
Scroll down to read the full explanation of line.
02

How the files work together

Four files, one robot. Switch a file off to see what stops working, send a command, or play the start-up.

switch a file on or off
then
03

Quiz