diff --git a/README.md b/README.md index be73ae28c..93a157273 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ Don't forget to source the correct setup shell files and use a new terminal for To bring up the simulated robot in Gazebo, run: -```roslaunch ur_gazebo ur5_bringup.launch``` +```roslaunch ur_gazebo bringup.launch model:=ur5``` ___MoveIt! with a simulated robot___ diff --git a/ur10_moveit_config/.setup_assistant b/ur10_moveit_config/.setup_assistant index a613a4fcc..812587597 100644 --- a/ur10_moveit_config/.setup_assistant +++ b/ur10_moveit_config/.setup_assistant @@ -1,8 +1,8 @@ moveit_setup_assistant_config: URDF: package: ur_description - relative_path: urdf/ur10.xacro - xacro_args: "" + relative_path: urdf/ur.xacro + xacro_args: model:=ur10 SRDF: relative_path: config/ur10.srdf CONFIG: diff --git a/ur10_moveit_config/launch/planning_context.launch b/ur10_moveit_config/launch/planning_context.launch index b3bd21211..ed598ff28 100644 --- a/ur10_moveit_config/launch/planning_context.launch +++ b/ur10_moveit_config/launch/planning_context.launch @@ -6,7 +6,7 @@ - + diff --git a/ur10e_moveit_config/.setup_assistant b/ur10e_moveit_config/.setup_assistant index f2f266c98..06d7ab8c6 100644 --- a/ur10e_moveit_config/.setup_assistant +++ b/ur10e_moveit_config/.setup_assistant @@ -1,8 +1,8 @@ moveit_setup_assistant_config: URDF: package: ur_description - relative_path: urdf/ur10e.xacro - xacro_args: "" + relative_path: urdf/ur.xacro + xacro_args: model:=ur10e SRDF: relative_path: config/ur10e.srdf CONFIG: diff --git a/ur10e_moveit_config/launch/planning_context.launch b/ur10e_moveit_config/launch/planning_context.launch index a0121a8de..fa22fc107 100644 --- a/ur10e_moveit_config/launch/planning_context.launch +++ b/ur10e_moveit_config/launch/planning_context.launch @@ -6,7 +6,7 @@ - + diff --git a/ur16e_moveit_config/.setup_assistant b/ur16e_moveit_config/.setup_assistant index aa8aaae2c..769b83b4a 100644 --- a/ur16e_moveit_config/.setup_assistant +++ b/ur16e_moveit_config/.setup_assistant @@ -1,8 +1,8 @@ moveit_setup_assistant_config: URDF: package: ur_description - relative_path: urdf/ur16e.xacro - xacro_args: "" + relative_path: urdf/ur.xacro + xacro_args: model:=ur16e SRDF: relative_path: config/ur16e.srdf CONFIG: diff --git a/ur16e_moveit_config/launch/planning_context.launch b/ur16e_moveit_config/launch/planning_context.launch index 2c61f888c..8f73d01d8 100644 --- a/ur16e_moveit_config/launch/planning_context.launch +++ b/ur16e_moveit_config/launch/planning_context.launch @@ -6,7 +6,7 @@ - + diff --git a/ur3_moveit_config/.setup_assistant b/ur3_moveit_config/.setup_assistant index 92ffcddc0..f85632033 100644 --- a/ur3_moveit_config/.setup_assistant +++ b/ur3_moveit_config/.setup_assistant @@ -1,8 +1,8 @@ moveit_setup_assistant_config: URDF: package: ur_description - relative_path: urdf/ur3.xacro - xacro_args: "" + relative_path: urdf/ur.xacro + xacro_args: model:=ur3 SRDF: relative_path: config/ur3.srdf CONFIG: diff --git a/ur3_moveit_config/launch/planning_context.launch b/ur3_moveit_config/launch/planning_context.launch index 8356b2332..442b28b0b 100644 --- a/ur3_moveit_config/launch/planning_context.launch +++ b/ur3_moveit_config/launch/planning_context.launch @@ -6,7 +6,7 @@ - + diff --git a/ur3e_moveit_config/.setup_assistant b/ur3e_moveit_config/.setup_assistant index ee6c9797c..98c84c75e 100644 --- a/ur3e_moveit_config/.setup_assistant +++ b/ur3e_moveit_config/.setup_assistant @@ -1,8 +1,8 @@ moveit_setup_assistant_config: URDF: package: ur_description - relative_path: urdf/ur3e.xacro - xacro_args: "" + relative_path: urdf/ur.xacro + xacro_args: model:=ur3e SRDF: relative_path: config/ur3e.srdf CONFIG: diff --git a/ur3e_moveit_config/launch/planning_context.launch b/ur3e_moveit_config/launch/planning_context.launch index 49ef7dfeb..36cf273d2 100644 --- a/ur3e_moveit_config/launch/planning_context.launch +++ b/ur3e_moveit_config/launch/planning_context.launch @@ -6,7 +6,7 @@ - + diff --git a/ur5_moveit_config/.setup_assistant b/ur5_moveit_config/.setup_assistant index 12a72528d..4f333bdb9 100644 --- a/ur5_moveit_config/.setup_assistant +++ b/ur5_moveit_config/.setup_assistant @@ -1,8 +1,8 @@ moveit_setup_assistant_config: URDF: package: ur_description - relative_path: urdf/ur5.xacro - xacro_args: "" + relative_path: urdf/ur.xacro + xacro_args: model:=ur5 SRDF: relative_path: config/ur5.srdf CONFIG: diff --git a/ur5_moveit_config/launch/planning_context.launch b/ur5_moveit_config/launch/planning_context.launch index a2a3ebff4..192afba7c 100644 --- a/ur5_moveit_config/launch/planning_context.launch +++ b/ur5_moveit_config/launch/planning_context.launch @@ -6,7 +6,7 @@ - + diff --git a/ur5e_moveit_config/.setup_assistant b/ur5e_moveit_config/.setup_assistant index 3fae5acd7..26974ff33 100644 --- a/ur5e_moveit_config/.setup_assistant +++ b/ur5e_moveit_config/.setup_assistant @@ -1,8 +1,8 @@ moveit_setup_assistant_config: URDF: package: ur_description - relative_path: urdf/ur5e.xacro - xacro_args: "" + relative_path: urdf/ur.xacro + xacro_args: model:=ur5e SRDF: relative_path: config/ur5e.srdf CONFIG: diff --git a/ur5e_moveit_config/launch/planning_context.launch b/ur5e_moveit_config/launch/planning_context.launch index 9052fd96f..99d4d77c3 100644 --- a/ur5e_moveit_config/launch/planning_context.launch +++ b/ur5e_moveit_config/launch/planning_context.launch @@ -6,7 +6,7 @@ - + diff --git a/ur_description/CMakeLists.txt b/ur_description/CMakeLists.txt index 0cc1bd625..d97f35c66 100644 --- a/ur_description/CMakeLists.txt +++ b/ur_description/CMakeLists.txt @@ -1,20 +1,14 @@ cmake_minimum_required(VERSION 3.0.2) project(ur_description) - find_package(catkin REQUIRED) - catkin_package() if (CATKIN_ENABLE_TESTING) find_package(roslaunch REQUIRED) - roslaunch_add_file_check(tests/roslaunch_test_ur10e.xml) - roslaunch_add_file_check(tests/roslaunch_test_ur10.xml) - roslaunch_add_file_check(tests/roslaunch_test_ur16e.xml) - roslaunch_add_file_check(tests/roslaunch_test_ur3e.xml) - roslaunch_add_file_check(tests/roslaunch_test_ur3.xml) - roslaunch_add_file_check(tests/roslaunch_test_ur5e.xml) - roslaunch_add_file_check(tests/roslaunch_test_ur5.xml) + foreach(model ur3 ur3e ur5 ur5e ur10 ur10e ur16e) + roslaunch_add_file_check(launch/test.launch model=${model}) + endforeach() endif() -install(DIRECTORY cfg config launch meshes urdf +install(DIRECTORY config launch meshes urdf DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}) diff --git a/ur_description/launch/load.launch b/ur_description/launch/load.launch new file mode 100644 index 000000000..9a38eef92 --- /dev/null +++ b/ur_description/launch/load.launch @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/ur_description/launch/load_ur.launch b/ur_description/launch/load_ur.launch deleted file mode 100644 index 20cba4fb7..000000000 --- a/ur_description/launch/load_ur.launch +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/ur_description/launch/load_ur10.launch b/ur_description/launch/load_ur10.launch deleted file mode 100644 index 6a6cc9811..000000000 --- a/ur_description/launch/load_ur10.launch +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/ur_description/launch/load_ur10e.launch b/ur_description/launch/load_ur10e.launch deleted file mode 100644 index 3176cefa3..000000000 --- a/ur_description/launch/load_ur10e.launch +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/ur_description/launch/load_ur16e.launch b/ur_description/launch/load_ur16e.launch deleted file mode 100644 index 445131818..000000000 --- a/ur_description/launch/load_ur16e.launch +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/ur_description/launch/load_ur3.launch b/ur_description/launch/load_ur3.launch deleted file mode 100644 index 7be472376..000000000 --- a/ur_description/launch/load_ur3.launch +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/ur_description/launch/load_ur3e.launch b/ur_description/launch/load_ur3e.launch deleted file mode 100644 index f314c98b8..000000000 --- a/ur_description/launch/load_ur3e.launch +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/ur_description/launch/load_ur5.launch b/ur_description/launch/load_ur5.launch deleted file mode 100644 index 597af189d..000000000 --- a/ur_description/launch/load_ur5.launch +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/ur_description/launch/load_ur5e.launch b/ur_description/launch/load_ur5e.launch deleted file mode 100644 index a080347e9..000000000 --- a/ur_description/launch/load_ur5e.launch +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/ur_description/launch/test.launch b/ur_description/launch/test.launch new file mode 100644 index 000000000..28823ccce --- /dev/null +++ b/ur_description/launch/test.launch @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/ur_description/launch/view.launch b/ur_description/launch/view.launch new file mode 100644 index 000000000..6493b5058 --- /dev/null +++ b/ur_description/launch/view.launch @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/ur_description/cfg/view_robot.rviz b/ur_description/launch/view.rviz similarity index 100% rename from ur_description/cfg/view_robot.rviz rename to ur_description/launch/view.rviz diff --git a/ur_description/launch/view_ur10.launch b/ur_description/launch/view_ur10.launch deleted file mode 100644 index cabdbf5a0..000000000 --- a/ur_description/launch/view_ur10.launch +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/ur_description/launch/view_ur10e.launch b/ur_description/launch/view_ur10e.launch deleted file mode 100644 index dc4c4e1b8..000000000 --- a/ur_description/launch/view_ur10e.launch +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/ur_description/launch/view_ur16e.launch b/ur_description/launch/view_ur16e.launch deleted file mode 100644 index c9c604955..000000000 --- a/ur_description/launch/view_ur16e.launch +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/ur_description/launch/view_ur3.launch b/ur_description/launch/view_ur3.launch deleted file mode 100644 index 96d5dd222..000000000 --- a/ur_description/launch/view_ur3.launch +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/ur_description/launch/view_ur3e.launch b/ur_description/launch/view_ur3e.launch deleted file mode 100644 index c0b9f67a3..000000000 --- a/ur_description/launch/view_ur3e.launch +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/ur_description/launch/view_ur5.launch b/ur_description/launch/view_ur5.launch deleted file mode 100644 index 2428313a1..000000000 --- a/ur_description/launch/view_ur5.launch +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/ur_description/launch/view_ur5e.launch b/ur_description/launch/view_ur5e.launch deleted file mode 100644 index 1d1a08b76..000000000 --- a/ur_description/launch/view_ur5e.launch +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/ur_description/tests/roslaunch_test_ur10.xml b/ur_description/tests/roslaunch_test_ur10.xml deleted file mode 100644 index 7eb1d2b12..000000000 --- a/ur_description/tests/roslaunch_test_ur10.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/ur_description/tests/roslaunch_test_ur10e.xml b/ur_description/tests/roslaunch_test_ur10e.xml deleted file mode 100644 index 779de29f9..000000000 --- a/ur_description/tests/roslaunch_test_ur10e.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/ur_description/tests/roslaunch_test_ur16e.xml b/ur_description/tests/roslaunch_test_ur16e.xml deleted file mode 100644 index ff7fc896d..000000000 --- a/ur_description/tests/roslaunch_test_ur16e.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/ur_description/tests/roslaunch_test_ur3.xml b/ur_description/tests/roslaunch_test_ur3.xml deleted file mode 100644 index 365b093a1..000000000 --- a/ur_description/tests/roslaunch_test_ur3.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/ur_description/tests/roslaunch_test_ur3e.xml b/ur_description/tests/roslaunch_test_ur3e.xml deleted file mode 100644 index a2ffbe31b..000000000 --- a/ur_description/tests/roslaunch_test_ur3e.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/ur_description/tests/roslaunch_test_ur5.xml b/ur_description/tests/roslaunch_test_ur5.xml deleted file mode 100644 index 15698ad70..000000000 --- a/ur_description/tests/roslaunch_test_ur5.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/ur_description/tests/roslaunch_test_ur5e.xml b/ur_description/tests/roslaunch_test_ur5e.xml deleted file mode 100644 index ca0466995..000000000 --- a/ur_description/tests/roslaunch_test_ur5e.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/ur_description/urdf/inc/ur_common.xacro b/ur_description/urdf/common.xacro similarity index 97% rename from ur_description/urdf/inc/ur_common.xacro rename to ur_description/urdf/common.xacro index e841d912b..c106c87ea 100644 --- a/ur_description/urdf/inc/ur_common.xacro +++ b/ur_description/urdf/common.xacro @@ -10,15 +10,14 @@ --> - - - + + + - diff --git a/ur_description/urdf/inc/ur10_macro.xacro b/ur_description/urdf/inc/ur10_macro.xacro deleted file mode 100644 index 1e853659a..000000000 --- a/ur_description/urdf/inc/ur10_macro.xacro +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - diff --git a/ur_description/urdf/inc/ur10e_macro.xacro b/ur_description/urdf/inc/ur10e_macro.xacro deleted file mode 100644 index fe0f0f265..000000000 --- a/ur_description/urdf/inc/ur10e_macro.xacro +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - diff --git a/ur_description/urdf/inc/ur16e_macro.xacro b/ur_description/urdf/inc/ur16e_macro.xacro deleted file mode 100644 index 302d530aa..000000000 --- a/ur_description/urdf/inc/ur16e_macro.xacro +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - diff --git a/ur_description/urdf/inc/ur3_macro.xacro b/ur_description/urdf/inc/ur3_macro.xacro deleted file mode 100644 index 5a569f5a8..000000000 --- a/ur_description/urdf/inc/ur3_macro.xacro +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - diff --git a/ur_description/urdf/inc/ur3e_macro.xacro b/ur_description/urdf/inc/ur3e_macro.xacro deleted file mode 100644 index 4695c5ea5..000000000 --- a/ur_description/urdf/inc/ur3e_macro.xacro +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - diff --git a/ur_description/urdf/inc/ur5_macro.xacro b/ur_description/urdf/inc/ur5_macro.xacro deleted file mode 100644 index 645b240c1..000000000 --- a/ur_description/urdf/inc/ur5_macro.xacro +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - diff --git a/ur_description/urdf/inc/ur5e_macro.xacro b/ur_description/urdf/inc/ur5e_macro.xacro deleted file mode 100644 index 44cf92b3b..000000000 --- a/ur_description/urdf/inc/ur5e_macro.xacro +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - diff --git a/ur_description/urdf/inc/ur_transmissions.xacro b/ur_description/urdf/inc/ur_transmissions.xacro deleted file mode 100644 index fd44d69b9..000000000 --- a/ur_description/urdf/inc/ur_transmissions.xacro +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - transmission_interface/SimpleTransmission - - ${hw_interface} - - - 1 - - - - - transmission_interface/SimpleTransmission - - ${hw_interface} - - - 1 - - - - - transmission_interface/SimpleTransmission - - ${hw_interface} - - - 1 - - - - - transmission_interface/SimpleTransmission - - ${hw_interface} - - - 1 - - - - - transmission_interface/SimpleTransmission - - ${hw_interface} - - - 1 - - - - - transmission_interface/SimpleTransmission - - ${hw_interface} - - - 1 - - - - - - diff --git a/ur_description/urdf/inc/ur_macro.xacro b/ur_description/urdf/macro.xacro similarity index 70% rename from ur_description/urdf/inc/ur_macro.xacro rename to ur_description/urdf/macro.xacro index a78a5e38f..bd8a84d02 100644 --- a/ur_description/urdf/inc/ur_macro.xacro +++ b/ur_description/urdf/macro.xacro @@ -7,8 +7,8 @@ expecting a flattened '.urdf' file. See the top-level '.xacro' for that (but note: that .xacro must still be processed by the xacro command). - For use in '.launch' files: use one of the 'load_urX.launch' convenience - launch files. + For use in '.launch' files: use the 'load.launch' convenience + launch file. This file models the base kinematic chain of a UR robot, which then gets parameterised by various configuration files to convert it into a UR3(e), @@ -50,22 +50,55 @@ - Ajit Krisshna N L - Muhammad Asif Rana --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + - + + - + + + + + + + + + + + @@ -94,9 +138,10 @@ - + + @@ -114,9 +159,10 @@ - + + @@ -134,9 +180,10 @@ - + + @@ -154,9 +201,10 @@ - + + @@ -175,9 +223,10 @@ - + + @@ -195,9 +244,10 @@ - + + @@ -215,122 +265,106 @@ - + - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - + + + + - + - - - - + + + + - + - - - - + + + + - + - - - - + + + + - + - - - - + + + + - + - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ur_description/urdf/transmissions.xacro b/ur_description/urdf/transmissions.xacro new file mode 100644 index 000000000..6182b0aac --- /dev/null +++ b/ur_description/urdf/transmissions.xacro @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + transmission_interface/SimpleTransmission + + ${transmission_hw_interface} + + + + + + + + + + + + + diff --git a/ur_description/urdf/ur.xacro b/ur_description/urdf/ur.xacro index cbcffab2a..9a85ca840 100644 --- a/ur_description/urdf/ur.xacro +++ b/ur_description/urdf/ur.xacro @@ -1,33 +1,31 @@ - + + + + + + + + + + + + - - + + - - - - - - - - - - - - - + + diff --git a/ur_description/urdf/ur10.xacro b/ur_description/urdf/ur10.xacro deleted file mode 100644 index 11b254ed7..000000000 --- a/ur_description/urdf/ur10.xacro +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - diff --git a/ur_description/urdf/ur10e.xacro b/ur_description/urdf/ur10e.xacro deleted file mode 100644 index 837b08d7a..000000000 --- a/ur_description/urdf/ur10e.xacro +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - diff --git a/ur_description/urdf/ur16e.xacro b/ur_description/urdf/ur16e.xacro deleted file mode 100644 index a79d11a43..000000000 --- a/ur_description/urdf/ur16e.xacro +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - diff --git a/ur_description/urdf/ur3.xacro b/ur_description/urdf/ur3.xacro deleted file mode 100644 index 1d025ab70..000000000 --- a/ur_description/urdf/ur3.xacro +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - diff --git a/ur_description/urdf/ur3e.xacro b/ur_description/urdf/ur3e.xacro deleted file mode 100644 index f4f8cae17..000000000 --- a/ur_description/urdf/ur3e.xacro +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - diff --git a/ur_description/urdf/ur5.xacro b/ur_description/urdf/ur5.xacro deleted file mode 100644 index ce69dc6ab..000000000 --- a/ur_description/urdf/ur5.xacro +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - diff --git a/ur_description/urdf/ur5e.xacro b/ur_description/urdf/ur5e.xacro deleted file mode 100644 index f71216e68..000000000 --- a/ur_description/urdf/ur5e.xacro +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - diff --git a/ur_gazebo/CMakeLists.txt b/ur_gazebo/CMakeLists.txt index c74e7b36e..f3ce1e7c2 100644 --- a/ur_gazebo/CMakeLists.txt +++ b/ur_gazebo/CMakeLists.txt @@ -1,21 +1,14 @@ cmake_minimum_required(VERSION 3.0.2) - project(ur_gazebo) - find_package(catkin REQUIRED) - catkin_package() if (CATKIN_ENABLE_TESTING) find_package(roslaunch REQUIRED) - roslaunch_add_file_check(tests/roslaunch_test_ur3.xml) - roslaunch_add_file_check(tests/roslaunch_test_ur3e.xml) - roslaunch_add_file_check(tests/roslaunch_test_ur5.xml) - roslaunch_add_file_check(tests/roslaunch_test_ur5e.xml) - roslaunch_add_file_check(tests/roslaunch_test_ur10.xml) - roslaunch_add_file_check(tests/roslaunch_test_ur10e.xml) - roslaunch_add_file_check(tests/roslaunch_test_ur16e.xml) + foreach(model ur3 ur3e ur5 ur5e ur10 ur10e ur16e) + roslaunch_add_file_check(launch/test.launch model=${model}) + endforeach() endif() -install(DIRECTORY config launch urdf +install(DIRECTORY controllers launch urdf DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}) diff --git a/ur_gazebo/config/ur10_controllers.yaml b/ur_gazebo/controllers/ur10.yaml similarity index 100% rename from ur_gazebo/config/ur10_controllers.yaml rename to ur_gazebo/controllers/ur10.yaml diff --git a/ur_gazebo/config/ur10e_controllers.yaml b/ur_gazebo/controllers/ur10e.yaml similarity index 100% rename from ur_gazebo/config/ur10e_controllers.yaml rename to ur_gazebo/controllers/ur10e.yaml diff --git a/ur_gazebo/config/ur16e_controllers.yaml b/ur_gazebo/controllers/ur16e.yaml similarity index 100% rename from ur_gazebo/config/ur16e_controllers.yaml rename to ur_gazebo/controllers/ur16e.yaml diff --git a/ur_gazebo/config/ur3_controllers.yaml b/ur_gazebo/controllers/ur3.yaml similarity index 100% rename from ur_gazebo/config/ur3_controllers.yaml rename to ur_gazebo/controllers/ur3.yaml diff --git a/ur_gazebo/config/ur3e_controllers.yaml b/ur_gazebo/controllers/ur3e.yaml similarity index 100% rename from ur_gazebo/config/ur3e_controllers.yaml rename to ur_gazebo/controllers/ur3e.yaml diff --git a/ur_gazebo/config/ur5_controllers.yaml b/ur_gazebo/controllers/ur5.yaml similarity index 100% rename from ur_gazebo/config/ur5_controllers.yaml rename to ur_gazebo/controllers/ur5.yaml diff --git a/ur_gazebo/config/ur5e_controllers.yaml b/ur_gazebo/controllers/ur5e.yaml similarity index 100% rename from ur_gazebo/config/ur5e_controllers.yaml rename to ur_gazebo/controllers/ur5e.yaml diff --git a/ur_gazebo/launch/bringup.launch b/ur_gazebo/launch/bringup.launch new file mode 100644 index 000000000..49d277b5b --- /dev/null +++ b/ur_gazebo/launch/bringup.launch @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/ur_gazebo/launch/inc/ur_control.launch.xml b/ur_gazebo/launch/control.launch similarity index 54% rename from ur_gazebo/launch/inc/ur_control.launch.xml rename to ur_gazebo/launch/control.launch index 3d93c6d66..15cb5dc25 100644 --- a/ur_gazebo/launch/inc/ur_control.launch.xml +++ b/ur_gazebo/launch/control.launch @@ -16,44 +16,47 @@ --> - - - + + + - - - - - - - + + + + + + + + - - - - - + + + + + + + $(arg unpause) + $(arg world_pose) + $(arg initial_joint_positions) + -model $(arg gazebo_model_name)" + output="screen" respawn="false"/> + args="$(arg controllers)" output="screen" respawn="false"/> - + args="--stopped $(arg stopped_controllers)" output="screen" respawn="false"/> diff --git a/ur_gazebo/launch/inc/load_ur.launch.xml b/ur_gazebo/launch/inc/load_ur.launch.xml deleted file mode 100644 index 3828d0777..000000000 --- a/ur_gazebo/launch/inc/load_ur.launch.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/ur_gazebo/launch/inc/load_ur10.launch.xml b/ur_gazebo/launch/inc/load_ur10.launch.xml deleted file mode 100644 index a5f6c0162..000000000 --- a/ur_gazebo/launch/inc/load_ur10.launch.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/ur_gazebo/launch/inc/load_ur10e.launch.xml b/ur_gazebo/launch/inc/load_ur10e.launch.xml deleted file mode 100644 index 9acf8ffc6..000000000 --- a/ur_gazebo/launch/inc/load_ur10e.launch.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/ur_gazebo/launch/inc/load_ur16e.launch.xml b/ur_gazebo/launch/inc/load_ur16e.launch.xml deleted file mode 100644 index 8c79bd9c9..000000000 --- a/ur_gazebo/launch/inc/load_ur16e.launch.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/ur_gazebo/launch/inc/load_ur3.launch.xml b/ur_gazebo/launch/inc/load_ur3.launch.xml deleted file mode 100644 index beb2de095..000000000 --- a/ur_gazebo/launch/inc/load_ur3.launch.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/ur_gazebo/launch/inc/load_ur3e.launch.xml b/ur_gazebo/launch/inc/load_ur3e.launch.xml deleted file mode 100644 index 95eb214ed..000000000 --- a/ur_gazebo/launch/inc/load_ur3e.launch.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/ur_gazebo/launch/inc/load_ur5.launch.xml b/ur_gazebo/launch/inc/load_ur5.launch.xml deleted file mode 100644 index 1bc482b6e..000000000 --- a/ur_gazebo/launch/inc/load_ur5.launch.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/ur_gazebo/launch/inc/load_ur5e.launch.xml b/ur_gazebo/launch/inc/load_ur5e.launch.xml deleted file mode 100644 index 72f7f9cac..000000000 --- a/ur_gazebo/launch/inc/load_ur5e.launch.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/ur_gazebo/launch/load.launch b/ur_gazebo/launch/load.launch new file mode 100644 index 000000000..1c64240c2 --- /dev/null +++ b/ur_gazebo/launch/load.launch @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/ur_gazebo/launch/test.launch b/ur_gazebo/launch/test.launch new file mode 100644 index 000000000..d77c8829f --- /dev/null +++ b/ur_gazebo/launch/test.launch @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/ur_gazebo/launch/ur10_bringup.launch b/ur_gazebo/launch/ur10_bringup.launch deleted file mode 100644 index 5102f8230..000000000 --- a/ur_gazebo/launch/ur10_bringup.launch +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ur_gazebo/launch/ur10e_bringup.launch b/ur_gazebo/launch/ur10e_bringup.launch deleted file mode 100644 index 177d8e59e..000000000 --- a/ur_gazebo/launch/ur10e_bringup.launch +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ur_gazebo/launch/ur16e_bringup.launch b/ur_gazebo/launch/ur16e_bringup.launch deleted file mode 100644 index a2018ff7c..000000000 --- a/ur_gazebo/launch/ur16e_bringup.launch +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ur_gazebo/launch/ur3_bringup.launch b/ur_gazebo/launch/ur3_bringup.launch deleted file mode 100644 index 6f22a1d71..000000000 --- a/ur_gazebo/launch/ur3_bringup.launch +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ur_gazebo/launch/ur3e_bringup.launch b/ur_gazebo/launch/ur3e_bringup.launch deleted file mode 100644 index 93cec225f..000000000 --- a/ur_gazebo/launch/ur3e_bringup.launch +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ur_gazebo/launch/ur5_bringup.launch b/ur_gazebo/launch/ur5_bringup.launch deleted file mode 100644 index f4edf3307..000000000 --- a/ur_gazebo/launch/ur5_bringup.launch +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ur_gazebo/launch/ur5e_bringup.launch b/ur_gazebo/launch/ur5e_bringup.launch deleted file mode 100644 index 4dcf940c5..000000000 --- a/ur_gazebo/launch/ur5e_bringup.launch +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ur_gazebo/tests/roslaunch_test_ur10.xml b/ur_gazebo/tests/roslaunch_test_ur10.xml deleted file mode 100644 index 02e6458c7..000000000 --- a/ur_gazebo/tests/roslaunch_test_ur10.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/ur_gazebo/tests/roslaunch_test_ur10e.xml b/ur_gazebo/tests/roslaunch_test_ur10e.xml deleted file mode 100644 index 8443ef3d4..000000000 --- a/ur_gazebo/tests/roslaunch_test_ur10e.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/ur_gazebo/tests/roslaunch_test_ur16e.xml b/ur_gazebo/tests/roslaunch_test_ur16e.xml deleted file mode 100644 index 566e1f1cd..000000000 --- a/ur_gazebo/tests/roslaunch_test_ur16e.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/ur_gazebo/tests/roslaunch_test_ur3.xml b/ur_gazebo/tests/roslaunch_test_ur3.xml deleted file mode 100644 index d9c9c148d..000000000 --- a/ur_gazebo/tests/roslaunch_test_ur3.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/ur_gazebo/tests/roslaunch_test_ur3e.xml b/ur_gazebo/tests/roslaunch_test_ur3e.xml deleted file mode 100644 index 4a10cd48f..000000000 --- a/ur_gazebo/tests/roslaunch_test_ur3e.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/ur_gazebo/tests/roslaunch_test_ur5.xml b/ur_gazebo/tests/roslaunch_test_ur5.xml deleted file mode 100644 index dae9deae7..000000000 --- a/ur_gazebo/tests/roslaunch_test_ur5.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/ur_gazebo/tests/roslaunch_test_ur5e.xml b/ur_gazebo/tests/roslaunch_test_ur5e.xml deleted file mode 100644 index 0cf392035..000000000 --- a/ur_gazebo/tests/roslaunch_test_ur5e.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/ur_gazebo/urdf/macro.xacro b/ur_gazebo/urdf/macro.xacro new file mode 100644 index 000000000..4ec80b814 --- /dev/null +++ b/ur_gazebo/urdf/macro.xacro @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + diff --git a/ur_gazebo/urdf/ur.xacro b/ur_gazebo/urdf/ur.xacro index 2d202a7d6..f123f6a6f 100644 --- a/ur_gazebo/urdf/ur.xacro +++ b/ur_gazebo/urdf/ur.xacro @@ -1,8 +1,8 @@ - + - + + - - - - - + controller .yaml files in the 'config' directory. --> + + + + - + diff --git a/ur_gazebo/urdf/ur_macro.xacro b/ur_gazebo/urdf/ur_macro.xacro deleted file mode 100644 index fca825035..000000000 --- a/ur_gazebo/urdf/ur_macro.xacro +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - - - - - - - - true - - - true - - - true - - - true - - - true - - - true - - - true - - - - - - - - - - -