Writing a URDF for a mobile robot
You have seen the complete process of adding links and joints in a URDF file. By repeating this process several times, you can create a complete model for any robot.
We are now going to use this process to create a mobile robot. We will then use this URDF as a base for the next chapters.
I will first show you the final robot model so you get an idea, and then we will build the URDF, step by step. You will get the specs for the robot as we build it. I encourage you to follow along and even write the code at the same time as you read the section. This is good practice for you to get more comfortable with URDF. As a reminder, you can find the complete code on GitHub.
What we want to achieve
Before writing any code, it’s important to define what we want to achieve. The final result will look like this in RViz:
Figure 11.6 – Final result for the mobile robot
We will start the URDF with the robot’...