A brief overview of ROS 2
As mentioned earlier, ROS 2 is the latest version of ROS, a widely used framework for developing robot applications. I’ve been using ROS for some time now and appreciate how much simpler it makes the integration of various components, sensors, and capabilities into my robots. I resisted moving to ROS for some time, but now that I have invested the time to learn what it can do, I can’t imagine developing a robot without it.
In this section, we will discuss some concepts that are foundational for our understanding of ROS 2, how to install ROS 2, and some basic commands that we can use with it.
Note
Please use whatever is the latest version of ROS 2.
Understanding the basic concepts
ROS 2 works a bit differently than other programming paradigms. ROS is based on a publish/subscribe mechanism that allows different programs or processes to pass information from one to another without having to know in advance who is receiving the data...