Skip to content

Commit

Permalink
Fix "scale" check on wheel macro (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsH12 authored Mar 29, 2024
1 parent c6f602c commit 0aca693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions diffbot_description/urdf/include/common_macros.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<xacro:if value="${wheel_props['scale'] == '' }" >
<mesh filename="package://${package_name}/meshes/${robot_name}/${wheel_props['mesh']}" />
</xacro:if>
<xacro:if value="${wheel_props['scale'] == '' }" >
<xacro:if value="${wheel_props['scale'] != '' }" >
<mesh filename="package://${package_name}/meshes/${robot_name}/${wheel_props['mesh']}" scale="${wheel_props['scale']}" />
</xacro:if>
</geometry>
Expand Down Expand Up @@ -341,4 +341,4 @@
</material>
<!-- ========================================================================-->

</robot>
</robot>

0 comments on commit 0aca693

Please sign in to comment.