Skip to content

Commit

Permalink
Fix wrong if/unless wheel xacro (#95)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Barcelo <christianbarcelo@ekumenlabs.com>
  • Loading branch information
BarceloChristian committed Jul 6, 2023
1 parent 43017a8 commit 96f28aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions andino_description/urdf/include/common_macros.urdf.xacro
Expand Up @@ -29,9 +29,9 @@
<xacro:if value="${wheel_props['scale'] == '' }" >
<mesh filename="package://andino_description/meshes/${robot_name}/${wheel_props['mesh']}" />
</xacro:if>
<xacro:if value="${wheel_props['scale'] == '' }" >
<xacro:unless value="${wheel_props['scale'] == '' }" >
<mesh filename="package://andino_description/meshes/${robot_name}/${wheel_props['mesh']}" scale="${wheel_props['scale']}" />
</xacro:if>
</xacro:unless>
</geometry>
<material name="dark_grey"/>
</visual>
Expand Down

0 comments on commit 96f28aa

Please sign in to comment.