From 2f10a5379159cfeb9a5b9c2a0e4e90a4f1c65839 Mon Sep 17 00:00:00 2001 From: Robert Haschke Date: Mon, 25 Oct 2021 14:58:31 +0200 Subject: [PATCH 1/5] Simplify use of arguments No need to declare an intermediate property --- .../robots/panda_arm.urdf.xacro | 40 +++++++++---------- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/franka_description/robots/panda_arm.urdf.xacro b/franka_description/robots/panda_arm.urdf.xacro index d5b8d0061..8fa6a317c 100644 --- a/franka_description/robots/panda_arm.urdf.xacro +++ b/franka_description/robots/panda_arm.urdf.xacro @@ -5,16 +5,14 @@ - - - + - + @@ -27,12 +25,12 @@ - + - - - + + + @@ -40,27 +38,27 @@ - + - - - - - - - + + + + + + + - - + - ${arm_id} + $(arg arm_id) 0.001 franka_gazebo/FrankaHWSim From da8a709fd69595fd68df7b5979eafdb837e78295 Mon Sep 17 00:00:00 2001 From: Robert Haschke Date: Mon, 25 Oct 2021 18:37:02 +0200 Subject: [PATCH 2/5] Place XML comments in front of xacro commands ... to hide them in the final URDF --- franka_description/robots/panda_arm.urdf.xacro | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/franka_description/robots/panda_arm.urdf.xacro b/franka_description/robots/panda_arm.urdf.xacro index 8fa6a317c..8dc6cd9bb 100644 --- a/franka_description/robots/panda_arm.urdf.xacro +++ b/franka_description/robots/panda_arm.urdf.xacro @@ -1,9 +1,12 @@ - - - + + + + + + From 5bc246f22cc229f0a8f067ddffe128f55c9439bd Mon Sep 17 00:00:00 2001 From: Robert Haschke Date: Mon, 25 Oct 2021 18:38:11 +0200 Subject: [PATCH 3/5] Fix typo --- franka_description/robots/panda_gazebo.xacro | 2 +- franka_gazebo/test/launch/panda-gazebo.urdf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/franka_description/robots/panda_gazebo.xacro b/franka_description/robots/panda_gazebo.xacro index 984597546..0eb1df4f5 100644 --- a/franka_description/robots/panda_gazebo.xacro +++ b/franka_description/robots/panda_gazebo.xacro @@ -8,7 +8,7 @@ - + diff --git a/franka_gazebo/test/launch/panda-gazebo.urdf b/franka_gazebo/test/launch/panda-gazebo.urdf index cd262f36e..3ef04c6c5 100644 --- a/franka_gazebo/test/launch/panda-gazebo.urdf +++ b/franka_gazebo/test/launch/panda-gazebo.urdf @@ -7,7 +7,7 @@ - + From 689e9469ea7ab253125f8ffbe03972010f4dc0af Mon Sep 17 00:00:00 2001 From: Robert Haschke Date: Wed, 27 Oct 2021 16:27:26 +0200 Subject: [PATCH 4/5] Simplify use of argument `paused` ... avoiding code duplication --- franka_gazebo/launch/panda.launch | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/franka_gazebo/launch/panda.launch b/franka_gazebo/launch/panda.launch index 527802021..9226b13f5 100644 --- a/franka_gazebo/launch/panda.launch +++ b/franka_gazebo/launch/panda.launch @@ -31,6 +31,7 @@ + @@ -51,23 +52,13 @@ + - - - - + "/> Date: Mon, 25 Oct 2021 22:33:00 +0200 Subject: [PATCH 5/5] Move `remap from=equilibrium_pose` to the `interactive_marker.py` node ... to clarify that this node requires the remapping. --- franka_gazebo/launch/panda.launch | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/franka_gazebo/launch/panda.launch b/franka_gazebo/launch/panda.launch index 9226b13f5..39b287439 100644 --- a/franka_gazebo/launch/panda.launch +++ b/franka_gazebo/launch/panda.launch @@ -76,8 +76,6 @@ args="franka_state_controller $(arg controller)" /> - - [franka_state_controller/joint_states, franka_gripper/joint_states] @@ -95,6 +93,7 @@ type="interactive_marker.py" if="$(eval arg('controller') == 'cartesian_impedance_example_controller')"> +