From 2f1efe4cf4eff214d0f9d96d5522ce336e0b2a5f Mon Sep 17 00:00:00 2001 From: Ian McMahon Date: Fri, 28 Oct 2016 13:51:10 -0400 Subject: [PATCH] Adds optional SRDF controller_box collision shapes This change adds an optional controller_box collision shape to be in sync with the URDF from sawyer_description. This can be disabled, by invoking with controller_box:=false when invoking $roslaunch sawyer_moveit_config sawyer_moveit.launch It is set to true by default in order to prevent accidental trajectory executions through the controller box. --- .../launch/planning_context.launch | 6 +++++- sawyer_moveit_config/launch/sawyer_moveit.launch | 3 +++ .../srdf/controller_box.srdf.xacro | 11 +++++++++++ sawyer_moveit_config/srdf/sawyer.srdf.xacro | 14 +++++++++++++- 4 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 sawyer_moveit_config/srdf/controller_box.srdf.xacro diff --git a/sawyer_moveit_config/launch/planning_context.launch b/sawyer_moveit_config/launch/planning_context.launch index 35c23e5..4cdeb07 100644 --- a/sawyer_moveit_config/launch/planning_context.launch +++ b/sawyer_moveit_config/launch/planning_context.launch @@ -4,6 +4,9 @@ + + + @@ -18,7 +21,8 @@ + tip_name:=$(arg tip_name) + controller_box:=$(arg controller_box)"/> diff --git a/sawyer_moveit_config/launch/sawyer_moveit.launch b/sawyer_moveit_config/launch/sawyer_moveit.launch index 80b9c90..39637b4 100644 --- a/sawyer_moveit_config/launch/sawyer_moveit.launch +++ b/sawyer_moveit_config/launch/sawyer_moveit.launch @@ -10,6 +10,8 @@ + + @@ -20,6 +22,7 @@ + diff --git a/sawyer_moveit_config/srdf/controller_box.srdf.xacro b/sawyer_moveit_config/srdf/controller_box.srdf.xacro new file mode 100644 index 0000000..0c4f078 --- /dev/null +++ b/sawyer_moveit_config/srdf/controller_box.srdf.xacro @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/sawyer_moveit_config/srdf/sawyer.srdf.xacro b/sawyer_moveit_config/srdf/sawyer.srdf.xacro index 647f845..c6699ad 100644 --- a/sawyer_moveit_config/srdf/sawyer.srdf.xacro +++ b/sawyer_moveit_config/srdf/sawyer.srdf.xacro @@ -1,10 +1,22 @@ + + + + + + + + + + + + + -