Skip to content

Commit

Permalink
Change finding mesh files method (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
KmakD authored Aug 14, 2023
1 parent 317c16f commit b7fbb11
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions panther_description/urdf/body.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
<visual>
<origin xyz="0.0 0.0 0.0" rpy="0.0 0.0 0.0" />
<geometry>
<mesh filename="file://$(find panther_description)/meshes/body.dae" />
<mesh filename="package://panther_description/meshes/body.dae" />
</geometry>
</visual>

<collision>
<origin xyz="0.0 0.0 0.0" rpy="0.0 0.0 0.0" />
<geometry>
<mesh filename="file://$(find panther_description)/meshes/body_collision.stl" />
<mesh filename="package://panther_description/meshes/body_collision.stl" />
</geometry>
</collision>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
<visual>
<origin xyz="0.0 0.0 0.0" rpy="0.0 0.0 0.0" />
<geometry>
<mesh filename="file://$(find panther_description)/meshes/components/external_antenna.dae" />
<mesh filename="package://panther_description/meshes/components/external_antenna.dae" />
</geometry>
</visual>

<collision>
<origin xyz="0.0 0.0 0.0" rpy="0.0 0.0 0.0" />
<geometry>
<mesh filename="file://$(find panther_description)/meshes/components/external_antenna_collision.stl" />
<mesh filename="package://panther_description/meshes/components/external_antenna_collision.stl" />
</geometry>
</collision>

Expand Down
4 changes: 2 additions & 2 deletions panther_description/urdf/wheel.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@
<visual>
<origin xyz="0.0 0.0 0.0" rpy="0.0 0.0 0.0" />
<geometry>
<mesh filename="file://$(find ${wheel_config['mesh_package']})/${wheel_config['folder_path']}/${prefix}_wheel.dae" />
<mesh filename="package://${wheel_config['mesh_package']}/${wheel_config['folder_path']}/${prefix}_wheel.dae" />
</geometry>
</visual>

<collision>
<origin xyz="0.0 0.0 0.0" rpy="0.0 0.0 0.0" />
<geometry>
<mesh filename="file://$(find ${wheel_config['mesh_package']})/${wheel_config['folder_path']}/wheel_collision.stl" />
<mesh filename="package://${wheel_config['mesh_package']}/${wheel_config['folder_path']}/wheel_collision.stl" />
</geometry>
</collision>

Expand Down

0 comments on commit b7fbb11

Please sign in to comment.