Bug in URDF to SDF converter (with physical properties)

Create issue
Issue #2497 new
Former user created an issue

URDF-to-SDF convertor doesn't export physical parameters if collision tag in link has name-attribute which is not begining with parent link's name-attribute.

Conversion command was used:

gz sdf --verbose -p model.urdf > model.sdf

This example doesn't export gazebo physical properties (mu1, mu2):

  <gazebo reference="link2">
    <mu1>0.2</mu1>
    <mu2>0.2</mu2>
  </gazebo>

  <link name="link2">
    <collision name="test_collision">
     ...

Next examples are fine: - collision without name specified

  <gazebo reference="link2">
    <mu1>0.2</mu1>
    <mu2>0.2</mu2>
  </gazebo>

  <link name="link2">
    <collision>
     ...
  • collision's name beginning with link's name
  <gazebo reference="link2">
    <mu1>0.2</mu1>
    <mu2>0.2</mu2>
  </gazebo>

  <link name="link2">
    <collision name="link2_collision">
     ...

Comments (0)

  1. Log in to comment