Unit 2 Basic Concepts

Estimated time to completion: 1.5 hours

What will you learn in this unit?

2.1 What is ROS2?

It is possible you took this course to answer this question: "What is ROS2?"

For now, however, it will be more helpful to experience what ROS2 can do.

2.1.1 Move a Robot with ROS2

On the right corner of the screen, you have your first simulated robot: the TurtleBot3. Let us move that robot now!

How do you move the TurtleBot?

The simplest method is to control the robot using an existing ROS2 program. Then, the executables created during the compilation of a ROS2 program are used to run it. Later in this guide, you will learn more about compilation.

Since it already exists in this workspace, you will launch a previously-made ROS2 program (executable) that allows you to move the robot using the keyboard.

Before attempting to run the executable, you will need to do some preliminary work. Do not think about the meanings of the commands below; you will learn how to use them during this tutorial.

So, get on with it. To source your working space, execute the following commands in Webshell #1: