From 2b408564429d44c8d3d1aba8321c5201a7f25c0c Mon Sep 17 00:00:00 2001 From: Syrine Zbidi Date: Wed, 20 Sep 2023 14:19:08 +0200 Subject: [PATCH] Add materials xacro to macro instead of urdf xacro If using the macro in other URDFs then the materials are included. --- zivid_description/urdf/macros/zivid_one_plus_camera.xacro | 3 +++ zivid_description/urdf/macros/zivid_two_camera.xacro | 5 ++++- zivid_description/urdf/zivid_one_plus_camera.urdf.xacro | 3 --- zivid_description/urdf/zivid_two_camera.urdf.xacro | 3 --- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/zivid_description/urdf/macros/zivid_one_plus_camera.xacro b/zivid_description/urdf/macros/zivid_one_plus_camera.xacro index 63ec54b1..ef9be4fa 100644 --- a/zivid_description/urdf/macros/zivid_one_plus_camera.xacro +++ b/zivid_description/urdf/macros/zivid_one_plus_camera.xacro @@ -2,6 +2,9 @@ + + + diff --git a/zivid_description/urdf/macros/zivid_two_camera.xacro b/zivid_description/urdf/macros/zivid_two_camera.xacro index 7ac40efb..0af4b78f 100644 --- a/zivid_description/urdf/macros/zivid_two_camera.xacro +++ b/zivid_description/urdf/macros/zivid_two_camera.xacro @@ -1,7 +1,10 @@ - + + + + diff --git a/zivid_description/urdf/zivid_one_plus_camera.urdf.xacro b/zivid_description/urdf/zivid_one_plus_camera.urdf.xacro index 7d176c3e..e7d10bf3 100644 --- a/zivid_description/urdf/zivid_one_plus_camera.urdf.xacro +++ b/zivid_description/urdf/zivid_one_plus_camera.urdf.xacro @@ -4,9 +4,6 @@ - - - diff --git a/zivid_description/urdf/zivid_two_camera.urdf.xacro b/zivid_description/urdf/zivid_two_camera.urdf.xacro index 41caeba8..973b2f86 100644 --- a/zivid_description/urdf/zivid_two_camera.urdf.xacro +++ b/zivid_description/urdf/zivid_two_camera.urdf.xacro @@ -4,9 +4,6 @@ - - -