Adding model files to the Gazebo model folder

The following procedure is to add a model to the gazebo folder:

  1. Locate the default model folder of Gazebo, which is located in the folder ~/.gazebo/models.
  2. Create a folder called final_room and copy final_room.sdf inside this folder. Also, create a file called model.config, which contains the details of the model file. The definition of this file follows:
<?xml version="1.0"?> <model> <!-- Name of model which is displaying in Gazebo --> <name>Test Room</name> <version>1.0</version> <!-- Model file name --> <sdf version="1.2">final_room.sdf</sdf> <author> <name>Lentin Joseph</name> <email>qboticslabs@gmail.com</email> </author> <description> ...

Get ROS Programming: Building Powerful Robots now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.