When using gzsdf to convert an URDF with a <gazebo> tag with a <gravity> child like the following, gzsdf adds an additional <gravity> tag which re-enables it. This prevents the feature from being used via URDF.
When trying to spawn a similar URDF in gazebo, errors similar to these are shown:
Warning [parser_urdf.cc:1010] multiple inconsistent <gravity> exists due to fixed joint reduction overwriting previous value [false] with [true].
Warning [parser_urdf.cc:1010] multiple inconsistent <gravity> exists due to fixed joint reduction overwriting previous value [false] with [true].
Warning [parser_urdf.cc:1010] multiple inconsistent <gravity> exists due to fixed joint reduction overwriting previous value [0] with [true].
Original report (archived issue) by Jonathan Bohren (Bitbucket: jbohren).
When using gzsdf to convert an URDF with a
<gazebo>
tag with a<gravity>
child like the following, gzsdf adds an additional<gravity>
tag which re-enables it. This prevents the feature from being used via URDF.in URDF:
in generated SDF:
When trying to spawn a similar URDF in gazebo, errors similar to these are shown: