Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

Hi,

you can just load an urdf as normal model. You just have to load an URDF instead of SDF. But loading URDFs can be tricky from time to time so you should use an SDF when you can.

Here is an example model.config:

<?xml version="1.0"?>

<model>
  <name>YOUR_MODEL</name>
  <version>1.0</version>
  <sdf>YOUR_MODEL.urdf</sdf>
  <author>
    <name>Your Name</name>
    <email>your@mail.com</email>
  </author>

  <description>
    Small description of the model 
  </description>
</model>

Have a look at this tutorial series if you do not know how to set up a robot

http://gazebosim.org/tutorials?cat=build_robot

for your first question a model plugin is the right way to go...