2.ROS installation

Select the corresponding ros version according to the Ubuntu system. For the corresponding relationship, please refer to [1. ROS Introduction]-[1.5. Release Version] to select.This course takes the installation of ROS-Noetic on Ubuntu20.04 as an example to explain how to install ros.

2.1 Set ros source

Terminal input,

2.2 Set the key

Terminal input,

2.3 Update source

Terminal input,

2.4 Install ROS-Noetic

What is installed here is the basic desktop version, terminal input,

2.5 Set up ROS environment

Add the path of ROS to the environment variable so that when you open the terminal in the future, you can find the running environment of ROS and enter it in the terminal.

Then reopen the terminal or source to refresh the environment variables, and enter in the terminal,

2.6 Verification

Terminal input,

If the following screen appears, the installation can be successful.

image-20231023102110561