-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from clearpathrobotics/rkreinin/fenders
Added fenders for J100
- Loading branch information
Showing
9 changed files
with
83 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Binary file removed
BIN
-8.29 KB
clearpath_platform_description/meshes/j100/attachments/j100_fenders.stl
Binary file not shown.
File renamed without changes.
Empty file removed
0
clearpath_platform_description/urdf/j100/attachments/accessory_fender.urdf.xacro
Empty file.
27 changes: 0 additions & 27 deletions
27
clearpath_platform_description/urdf/j100/attachments/bumper.urdf.xacro
This file was deleted.
Oops, something went wrong.
Empty file.
36 changes: 36 additions & 0 deletions
36
clearpath_platform_description/urdf/j100/attachments/front_fender.urdf.xacro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0"?> | ||
<robot xmlns:xacro="http://ros.org/wiki/xacro"> | ||
<xacro:macro name="front_fender" params="model *origin"> | ||
<!-- Spawn fender link --> | ||
<link name="front_fender_link"> | ||
<visual> | ||
<geometry> | ||
<xacro:if value="${model == 'default'}"> | ||
<mesh filename="package://clearpath_platform_description/meshes/j100/attachments/default_fender.stl" /> | ||
</xacro:if> | ||
<xacro:if value="${model == 'sensor'}"> | ||
<mesh filename="package://clearpath_platform_description/meshes/j100/attachments/sensor_fender.stl" /> | ||
</xacro:if> | ||
</geometry> | ||
<material name="yellow" /> | ||
</visual> | ||
</link> | ||
|
||
<xacro:if value="${model == 'sensor'}"> | ||
<link name="front_fender_mount"/> | ||
<joint name="front_fender_mount_joint" type="fixed"> | ||
<origin xyz="0.25629 0 0.07455" rpy="${pi} 0 0" /> | ||
<parent link="front_fender_link" /> | ||
<child link="front_fender_mount" /> | ||
</joint> | ||
</xacro:if> | ||
|
||
<!-- Attach fender --> | ||
<joint name="front_fender_joint" type="fixed"> | ||
<origin xyz="0 0 0" rpy="0 0 0"/> | ||
<parent link="base_link" /> | ||
<child link="front_fender_link" /> | ||
</joint> | ||
|
||
</xacro:macro> | ||
</robot> |
36 changes: 36 additions & 0 deletions
36
clearpath_platform_description/urdf/j100/attachments/rear_fender.urdf.xacro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0"?> | ||
<robot xmlns:xacro="http://ros.org/wiki/xacro"> | ||
<xacro:macro name="rear_fender" params="model *origin"> | ||
<!-- Spawn fender link --> | ||
<link name="rear_fender_link"> | ||
<visual> | ||
<geometry> | ||
<xacro:if value="${model == 'default'}"> | ||
<mesh filename="package://clearpath_platform_description/meshes/j100/attachments/default_fender.stl" /> | ||
</xacro:if> | ||
<xacro:if value="${model == 'sensor'}"> | ||
<mesh filename="package://clearpath_platform_description/meshes/j100/attachments/sensor_fender.stl" /> | ||
</xacro:if> | ||
</geometry> | ||
<material name="yellow" /> | ||
</visual> | ||
</link> | ||
|
||
<xacro:if value="${model == 'sensor'}"> | ||
<link name="rear_fender_mount"/> | ||
<joint name="rear_fender_mount_joint" type="fixed"> | ||
<origin xyz="0.25629 0 0.07455" rpy="${pi} 0 0" /> | ||
<parent link="rear_fender_link" /> | ||
<child link="rear_fender_mount" /> | ||
</joint> | ||
</xacro:if> | ||
|
||
<!-- Attach fender --> | ||
<joint name="rear_fender_joint" type="fixed"> | ||
<origin xyz="0 0 0" rpy="0 0 ${pi}"/> | ||
<parent link="base_link" /> | ||
<child link="rear_fender_link" /> | ||
</joint> | ||
|
||
</xacro:macro> | ||
</robot> |