Load sdf

Issue #28 resolved
Agustin Alba Chicar created an issue

Load SDF file as a world plugin and try to get it working so all the arguments are taken from there.

Comments (9)

  1. Agustin Alba Chicar reporter

    @JChoclin I've got the following error message:

    Warning [parser.cc:778] XML Element[rndf], child of element[world] not defined in SDF. Ignoring[rndf]. You may have an incorrect SDF file, or an sdformat version that doesn't support this element.
    

    With the following world file:

    <?xml version="1.0"?>
    <sdf version="1.4">
      <world name="darpa">
        <include>
          <uri>model://ground_plane</uri>
        </include>
        <include>
          <uri>model://sun</uri>
        </include>
        <plugin name="dynamicrender" filename="libnrdf_gazebo_plugin.so"/>
        <rndf filepath="/home/gazebo/ws/rndf_gazebo_plugin/example/darpa.rndf" lanes="true" waypoints="true"/>      
      </world>
    </sdf>
    

    I think we need to define first our tags. Also, no standard output is provided through the world plugin. So it is difficult to debug what's going on. I've tested this on our repository and also on the bare example.

  2. Log in to comment