-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[boxy urdf] added collision tags for the adapters and kms40:
it's freaky how in the collision mesh of Boxy the grippers are just floating in the air... Basically, just copy pasted the visual tags for collision. The other changes are only minor stuff like fixing indentation / removing trailing whitespace / breaking too long lines.
- Loading branch information
Showing
5 changed files
with
83 additions
and
25 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
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
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
21 changes: 17 additions & 4 deletions
21
iai_adapters_description/urdf/lwr4_cabling_adaptor.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 |
---|---|---|
@@ -1,30 +1,43 @@ | ||
<?xml version="1.0"?> | ||
|
||
<!-- Many Kuka LWR4s are equipped with a little plate to let the cables go out | ||
<!-- Many Kuka LWR4s are equipped with a little plate to let the cables go out | ||
sideways. This is a description of such an adaptor. --> | ||
|
||
<robot xmlns:xacro="http://www.ros.org/wiki/xacro" name="lwr4_cabling_adaptor"> | ||
<robot xmlns:xacro="http://www.ros.org/wiki/xacro" name="lwr4_cabling_adaptor"> | ||
|
||
<xacro:macro name="lwr4_cabling_adaptor" params="prefix parent *origin"> | ||
|
||
<joint name="${prefix}arm_cabling_adaptor_joint" type="fixed"> | ||
<xacro:insert_block name="origin" /> | ||
<!--origin xyz="0 0 0.01" rpy="0 0 0"/--> <!-- This places the link at the end of the plate (frame_out) --> | ||
<!-- This places the link at the end of the plate (frame_out) --> | ||
<!--origin xyz="0 0 0.01" rpy="0 0 0"/--> | ||
<parent link="${parent}"/> | ||
<child link="${prefix}cabling_adaptor_link"/> | ||
</joint> | ||
|
||
<link name="${prefix}cabling_adaptor_link"> | ||
<visual> | ||
<origin xyz="0 0 -0.005" rpy="0 0 0" /> <!-- The cylinder is placed at the center --> | ||
<!-- The cylinder is placed at the center --> | ||
<origin xyz="0 0 -0.005" rpy="0 0 0" /> | ||
<geometry> | ||
<cylinder length="0.01" radius="0.0315"/> | ||
</geometry> | ||
<material name="Black"> | ||
<color rgba="0 0 0 1.0"/> | ||
</material> | ||
</visual> | ||
<collision> | ||
<!-- The cylinder is placed at the center --> | ||
<origin xyz="0 0 -0.005" rpy="0 0 0" /> | ||
<geometry> | ||
<cylinder length="0.01" radius="0.0315"/> | ||
</geometry> | ||
<material name="Black"> | ||
<color rgba="0 0 0 1.0"/> | ||
</material> | ||
</collision> | ||
</link> | ||
|
||
</xacro:macro> | ||
|
||
</robot> |
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