How Gazebo works
Before we work on our application, it’s important to understand what Gazebo is and how it works.
Gazebo is a 3D simulation engine. It contains a physics engine (with gravity, friction, and other physical constraints) with which you can simulate a robot, just like if it were in the real world.
That’s one of the strengths of Gazebo. You can develop your application using mostly the Gazebo simulation and then work with the real robot. This brings a lot of benefits. For example, you can work on robots that don’t exist yet, test extreme use cases without damaging the real robot, create custom environments you can’t access on a daily basis, work remotely, and so on.
In this section, we will start Gazebo and explore a few functionalities. We will also see how to connect Gazebo with ROS 2 and understand the steps we need to take to adapt our robot for Gazebo. Before getting started with this, a common question that lots of people have at...