Skip to content

Commit e921bb1

Browse files
committed
Back to original naming ur5_e_.
1 parent cb6ab8e commit e921bb1

File tree

57 files changed

+75
-1586
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+75
-1586
lines changed

ur5e_moveit_config/.setup_assistant renamed to ur5_e_moveit_config/.setup_assistant

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
moveit_setup_assistant_config:
22
URDF:
33
package: ur_e_description
4-
relative_path: urdf/ur5e_robot.urdf.xacro
4+
relative_path: urdf/ur5_e_robot.urdf.xacro
55
SRDF:
66
relative_path: config/ur5e.srdf
77
CONFIG:
File renamed without changes.

ur5e_moveit_config/CMakeLists.txt renamed to ur5_e_moveit_config/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.5)
2-
project(ur5e_moveit_config)
2+
project(ur5_e_moveit_config)
33

44
find_package(ament_cmake REQUIRED)
55

ur5e_moveit_config/config/ur5e.srdf renamed to ur5_e_moveit_config/config/ur5e.srdf

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
<!--CHAINS: When a chain is specified, all the links along the chain (including endpoints) are included in the group. Additionally, all the joints that are parents to included links are also included. This means that joints along the chain and the parent joint of the base link are included in the group-->
1111
<!--SUBGROUPS: Groups can also be formed by referencing to already defined group names-->
1212
<group name="manipulator">
13-
<chain base_link="base_link" tip_link="ee_link" />
13+
<chain base_link="base_link" tip_link="flange" />
1414
</group>
1515
<group name="endeffector">
16-
<link name="ee_link" />
16+
<link name="flange" />
1717
</group>
1818
<!--GROUP STATES: Purpose: Define a named state for a particular group, in terms of joint values. This is useful to define states like 'folded arms'-->
1919
<group_state name="home" group="manipulator">
@@ -32,15 +32,24 @@
3232
<joint name="wrist_2_joint" value="0" />
3333
<joint name="wrist_3_joint" value="0" />
3434
</group_state>
35+
<group_state name="test_configuration" group="manipulator">
36+
<joint name="elbow_joint" value="1.4" />
37+
<joint name="shoulder_lift_joint" value="-1.62" />
38+
<joint name="shoulder_pan_joint" value="1.54" />
39+
<joint name="wrist_1_joint" value="-1.2" />
40+
<joint name="wrist_2_joint" value="-1.6" />
41+
<joint name="wrist_3_joint" value="-0.11" />
42+
</group_state>
3543
<!--END EFFECTOR: Purpose: Represent information about an end effector.-->
36-
<end_effector name="moveit_ee" parent_link="ee_link" group="endeffector" />
44+
<end_effector name="moveit_ee" parent_link="flange" group="endeffector" />
3745
<!--VIRTUAL JOINT: Purpose: this element defines a virtual joint between a robot link and an external frame of reference (considered fixed with respect to the robot)-->
3846
<virtual_joint name="fixed_base" type="fixed" parent_frame="world" child_link="base_link" />
3947
<!--DISABLE COLLISIONS: By default it is assumed that any link of the robot could potentially come into collision with any other link in the robot. This tag disables collision checking between a specified pair of links. -->
40-
<disable_collisions link1="base_link" link2="shoulder_link" reason="Adjacent" />
41-
<disable_collisions link1="ee_link" link2="wrist_1_link" reason="Never" />
42-
<disable_collisions link1="ee_link" link2="wrist_2_link" reason="Never" />
43-
<disable_collisions link1="ee_link" link2="wrist_3_link" reason="Adjacent" />
48+
<disable_collisions link1="base_link" link2="base_link_inertia" reason="Adjacent" />
49+
<disable_collisions link1="base_link_inertia" link2="shoulder_link" reason="Adjacent" />
50+
<disable_collisions link1="flange" link2="wrist_1_link" reason="Never" />
51+
<disable_collisions link1="flange" link2="wrist_2_link" reason="Never" />
52+
<disable_collisions link1="flange" link2="wrist_3_link" reason="Adjacent" />
4453
<disable_collisions link1="forearm_link" link2="upper_arm_link" reason="Adjacent" />
4554
<disable_collisions link1="forearm_link" link2="wrist_1_link" reason="Adjacent" />
4655
<disable_collisions link1="shoulder_link" link2="upper_arm_link" reason="Adjacent" />

ur5e_moveit_config/launch/run_move_group.launch.py renamed to ur5_e_moveit_config/launch/run_move_group.launch.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ def generate_launch_description():
3030

3131
# planning_context
3232
# set ur robot
33-
robot_name = 'ur5e'
33+
robot_name = 'ur5_e'
3434

3535
# <robot_name> parameters files
3636
joint_limits_params = os.path.join(get_package_share_directory('ur_description'), 'config/' +
37-
robot_name, 'joint_limits.yaml')
37+
robot_name.replace('_', ''), 'joint_limits.yaml')
3838
kinematics_params = os.path.join(get_package_share_directory('ur_description'), 'config/' +
39-
robot_name, 'default_kinematics.yaml')
39+
robot_name.replace('_', ''), 'default_kinematics.yaml')
4040
physical_params = os.path.join(get_package_share_directory('ur_description'), 'config/' +
41-
robot_name, 'physical_parameters.yaml')
41+
robot_name.replace('_', ''), 'physical_parameters.yaml')
4242
visual_params = os.path.join(get_package_share_directory('ur_description'), 'config/' +
43-
robot_name, 'visual_parameters.yaml')
43+
robot_name.replace('_', ''), 'visual_parameters.yaml')
4444

4545
# common parameters
4646
# If True, enable the safety limits controller
@@ -60,23 +60,24 @@ def generate_launch_description():
6060
'visual_params': visual_params,
6161
'safety_limits': str(safety_limits).lower(),
6262
'safety_pos_margin': str(safety_pos_margin),
63-
'safety_k_position': str(safety_k_position)}
63+
'safety_k_position': str(safety_k_position),
64+
'name': robot_name.replace('_', '')}
6465
)
6566

6667
robot_description = {'robot_description': robot_description_config.toxml()}
6768

68-
robot_description_semantic_config = load_file('ur5e_moveit_config', 'config/ur5e.srdf')
69+
robot_description_semantic_config = load_file('ur5_e_moveit_config', 'config/ur5e.srdf')
6970
robot_description_semantic = {'robot_description_semantic' : robot_description_semantic_config}
7071

71-
kinematics_yaml = load_yaml('ur5e_moveit_config', 'config/kinematics.yaml')
72+
kinematics_yaml = load_yaml('ur5_e_moveit_config', 'config/kinematics.yaml')
7273
robot_description_kinematics = { 'robot_description_kinematics' : kinematics_yaml }
7374

7475
# Planning Functionality
7576
ompl_planning_pipeline_config = { 'move_group' : {
7677
'planning_plugin' : 'ompl_interface/OMPLPlanner',
7778
'request_adapters' : """default_planner_request_adapters/AddTimeOptimalParameterization default_planner_request_adapters/FixWorkspaceBounds default_planner_request_adapters/FixStartStateBounds default_planner_request_adapters/FixStartStateCollision default_planner_request_adapters/FixStartStatePathConstraints""" ,
7879
'start_state_max_bounds_error' : 0.1 } }
79-
ompl_planning_yaml = load_yaml('ur5e_moveit_config', 'config/ompl_planning.yaml')
80+
ompl_planning_yaml = load_yaml('ur5_e_moveit_config', 'config/ompl_planning.yaml')
8081
ompl_planning_pipeline_config['move_group'].update(ompl_planning_yaml)
8182

8283
# Trajectory Execution Functionality
@@ -107,7 +108,7 @@ def generate_launch_description():
107108
planning_scene_monitor_parameters])
108109

109110
# RViz
110-
rviz_config_file = get_package_share_directory('ur_description') + "/cfg/view_robot.rviz"
111+
rviz_config_file = get_package_share_directory('ur_description') + "/config/rviz/view_robot.rviz"
111112
rviz_node = Node(package='rviz2',
112113
executable='rviz2',
113114
name='rviz2',

0 commit comments

Comments
 (0)