Skip to content

Commit

Permalink
move common materials inside macro
Browse files Browse the repository at this point in the history
  • Loading branch information
cjue committed Apr 4, 2023
1 parent 9fd0ad1 commit 55a43a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions kuka_kr6_support/urdf/kr6_r1820_macro.xacro
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://wiki.ros.org/xacro">
<xacro:include filename="$(find kuka_resources)/urdf/common_constants.xacro"/>
<xacro:include filename="$(find kuka_resources)/urdf/common_materials.xacro"/>

<xacro:macro name="kuka_kr6_r1820" params="prefix">
<xacro:include filename="$(find kuka_resources)/urdf/common_materials.xacro"/>
<link name="${prefix}base_link">
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
Expand Down
3 changes: 1 addition & 2 deletions kuka_kr6_support/urdf/kr6r700sixx_macro.xacro
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://wiki.ros.org/xacro">
<xacro:include filename="$(find kuka_resources)/urdf/common_constants.xacro"/>
<xacro:include filename="$(find kuka_resources)/urdf/common_materials.xacro"/>

<xacro:macro name="kuka_kr6r700sixx" params="prefix">
<xacro:include filename="$(find kuka_resources)/urdf/common_materials.xacro"/>
<link name="${prefix}base_link">
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
Expand Down
3 changes: 1 addition & 2 deletions kuka_kr6_support/urdf/kr6r900sixx_macro.xacro
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://wiki.ros.org/xacro">
<xacro:include filename="$(find kuka_resources)/urdf/common_constants.xacro"/>
<xacro:include filename="$(find kuka_resources)/urdf/common_materials.xacro"/>

<xacro:macro name="kuka_kr6r900sixx" params="prefix">
<xacro:include filename="$(find kuka_resources)/urdf/common_materials.xacro"/>
<link name="${prefix}base_link">
<visual>
<origin xyz="0 0 0" rpy="0 0 0"/>
Expand Down

0 comments on commit 55a43a2

Please sign in to comment.