gzfactory broken

Create issue
Issue #455 closed
Benjamin Blumer created an issue

Using Gazebo 1.3.1 on Ubuntu 12.04 LTS 64 bit.

gzfactory spawn -f model.sdf

produces the error:

Error [SDF.cc:984] Unable to find value for key[origin]
Error [SDF.cc:738] Missing element description for [origin]
Segmentation fault (core dumped)

for the model.sdf:

<?xml version='1.0'?>
<sdf version='1.3'>
  <model name="my_robot">
     <static>true</static>
       <link name='chassis'>
        <pose>0 0 .1 0 0 0</pose>

        <collision name='collision'>
          <geometry>
            <box>
              <size>.4 .2 .1</size>
            </box>
          </geometry>
        </collision>

        <visual name='visual'>
          <geometry>
            <box>
              <size>.4 .2 .1</size>
            </box>
          </geometry>
        </visual>
      </link>
  </model>
</sdf>

Either the SDF is wrong, in which case the tutorial here needs to be changed, or something's broken with gzfactory.

Comments (5)

  1. Log in to comment