From 8e0344920d29c4ae5a537ed6f24c5a1c583bc546 Mon Sep 17 00:00:00 2001
From: Arnold275 <30740057+Arnold275@users.noreply.github.com>
Date: Wed, 10 Jul 2019 18:13:42 +0200
Subject: [PATCH] Possibility to choose to spawn finger_pads
Since not everyone is using standard Finger Pads that got added on the 3rd of December.
I added the option to not spawn them, while spawning the gripper via.
To do so just add the parameter pad="0". eg.
To keep it backward compatible, the parameter is on default 1. So if no parameter is set it just spawns them as before.
---
.../urdf/robotiq_arg2f.xacro | 14 +++++++++-----
.../urdf/robotiq_arg2f_140_model_macro.xacro | 18 +++++++++---------
2 files changed, 18 insertions(+), 14 deletions(-)
diff --git a/robotiq_2f_140_gripper_visualization/urdf/robotiq_arg2f.xacro b/robotiq_2f_140_gripper_visualization/urdf/robotiq_arg2f.xacro
index 618686d3..3473cdf8 100644
--- a/robotiq_2f_140_gripper_visualization/urdf/robotiq_arg2f.xacro
+++ b/robotiq_2f_140_gripper_visualization/urdf/robotiq_arg2f.xacro
@@ -25,18 +25,22 @@
-
+
-
+
+
+
-
-
+
+
-
+
+
+
diff --git a/robotiq_2f_140_gripper_visualization/urdf/robotiq_arg2f_140_model_macro.xacro b/robotiq_2f_140_gripper_visualization/urdf/robotiq_arg2f_140_model_macro.xacro
index c31aff9f..81c5e1c8 100644
--- a/robotiq_2f_140_gripper_visualization/urdf/robotiq_arg2f_140_model_macro.xacro
+++ b/robotiq_2f_140_gripper_visualization/urdf/robotiq_arg2f_140_model_macro.xacro
@@ -192,7 +192,7 @@
-
+
@@ -200,10 +200,10 @@
-
+
-
+
@@ -212,15 +212,15 @@
-
+
-
+
-
-
-
-
+
+
+
+