Skip to content

Commit 9507f92

Browse files
author
Felix Exner
committed
Merge remote-tracking branch 'origin/master' into testing_scripts
2 parents 95440b5 + 7ac5b4d commit 9507f92

21 files changed

+116
-177
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ $ source devel/setup.bash
121121
## Setting up a UR robot for ur_robot_driver
122122
### Prepare the robot
123123
For using the *ur_robot_driver* with a real robot you need to install the
124-
**externalcontrol-1.0.urcap** which can be found inside the **resources** folder of this driver.
124+
**externalcontrol-1.0.2.urcap** which can be found inside the **resources** folder of this driver.
125125

126126
**Note**: For installing this URCap a minimal PolyScope version of 3.7 or 5.1 (in case of e-Series) is
127127
necessary.
@@ -190,7 +190,7 @@ Inside the ROS terminal running the driver you should see the output `Robot read
190190
To control the robot using ROS, use the action server on
191191

192192
```bash
193-
/scaled_pos_traj_controller/follow_joint_trajectory
193+
/scaled_pos_joint_traj_controller/follow_joint_trajectory
194194
```
195195

196196
Use this with any client interface such as [MoveIt!](https://moveit.ros.org/) or simply the

ur_robot_driver/config/ur10_controllers.yaml

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ speed_scaling_state_controller:
2929

3030
# Joint Trajectory Controller - position based -------------------------------
3131
# For detailed explanations of parameter see http://wiki.ros.org/joint_trajectory_controller
32-
scaled_pos_traj_controller:
32+
scaled_pos_joint_traj_controller:
3333
type: position_controllers/ScaledJointTrajectoryController
3434
joints: *robot_joints
3535
constraints:
@@ -43,9 +43,9 @@ scaled_pos_traj_controller:
4343
wrist_3_joint: {trajectory: 0.2, goal: 0.1}
4444
stop_trajectory_duration: 0.5
4545
state_publish_rate: *loop_hz
46-
action_monitor_rate: 10
46+
action_monitor_rate: 20
4747

48-
pos_traj_controller:
48+
pos_joint_traj_controller:
4949
type: position_controllers/JointTrajectoryController
5050
joints: *robot_joints
5151
constraints:
@@ -59,9 +59,9 @@ pos_traj_controller:
5959
wrist_3_joint: {trajectory: 0.2, goal: 0.1}
6060
stop_trajectory_duration: 0.5
6161
state_publish_rate: *loop_hz
62-
action_monitor_rate: 10
62+
action_monitor_rate: 20
6363

64-
scaled_vel_traj_controller:
64+
scaled_vel_joint_traj_controller:
6565
type: velocity_controllers/ScaledJointTrajectoryController
6666
joints: *robot_joints
6767
constraints:
@@ -73,9 +73,6 @@ scaled_vel_traj_controller:
7373
wrist_1_joint: {trajectory: 0.1, goal: 0.1}
7474
wrist_2_joint: {trajectory: 0.1, goal: 0.1}
7575
wrist_3_joint: {trajectory: 0.1, goal: 0.1}
76-
stop_trajectory_duration: 0.5
77-
state_publish_rate: *loop_hz
78-
action_monitor_rate: 10
7976
gains:
8077
#!!These values have not been optimized!!
8178
shoulder_pan_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
@@ -84,7 +81,6 @@ scaled_vel_traj_controller:
8481
wrist_1_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
8582
wrist_2_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
8683
wrist_3_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
87-
8884
# Use a feedforward term to reduce the size of PID gains
8985
velocity_ff:
9086
shoulder_pan_joint: 1.0
@@ -93,12 +89,11 @@ scaled_vel_traj_controller:
9389
wrist_1_joint: 1.0
9490
wrist_2_joint: 1.0
9591
wrist_3_joint: 1.0
92+
stop_trajectory_duration: 0.5
93+
state_publish_rate: *loop_hz
94+
action_monitor_rate: 20
9695

97-
# state_publish_rate: 50 # Defaults to 50
98-
# action_monitor_rate: 20 # Defaults to 20
99-
#stop_trajectory_duration: 0 # Defaults to 0.0
100-
101-
vel_traj_controller:
96+
vel_joint_traj_controller:
10297
type: velocity_controllers/JointTrajectoryController
10398
joints: *robot_joints
10499
constraints:
@@ -110,9 +105,6 @@ vel_traj_controller:
110105
wrist_1_joint: {trajectory: 0.1, goal: 0.1}
111106
wrist_2_joint: {trajectory: 0.1, goal: 0.1}
112107
wrist_3_joint: {trajectory: 0.1, goal: 0.1}
113-
stop_trajectory_duration: 0.5
114-
state_publish_rate: *loop_hz
115-
action_monitor_rate: 10
116108
gains:
117109
#!!These values have not been optimized!!
118110
shoulder_pan_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
@@ -121,7 +113,6 @@ vel_traj_controller:
121113
wrist_1_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
122114
wrist_2_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
123115
wrist_3_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
124-
125116
# Use a feedforward term to reduce the size of PID gains
126117
velocity_ff:
127118
shoulder_pan_joint: 1.0
@@ -130,10 +121,9 @@ vel_traj_controller:
130121
wrist_1_joint: 1.0
131122
wrist_2_joint: 1.0
132123
wrist_3_joint: 1.0
133-
134-
# state_publish_rate: 50 # Defaults to 50
135-
# action_monitor_rate: 20 # Defaults to 20
136-
#stop_trajectory_duration: 0 # Defaults to 0.0
124+
stop_trajectory_duration: 0.5
125+
state_publish_rate: *loop_hz
126+
action_monitor_rate: 20
137127

138128
# Pass an array of joint velocities directly to the joints
139129
joint_group_vel_controller:

ur_robot_driver/config/ur10e_controllers.yaml

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ speed_scaling_state_controller:
2929

3030
# Joint Trajectory Controller - position based -------------------------------
3131
# For detailed explanations of parameter see http://wiki.ros.org/joint_trajectory_controller
32-
scaled_pos_traj_controller:
32+
scaled_pos_joint_traj_controller:
3333
type: position_controllers/ScaledJointTrajectoryController
3434
joints: *robot_joints
3535
constraints:
@@ -43,9 +43,9 @@ scaled_pos_traj_controller:
4343
wrist_3_joint: {trajectory: 0.2, goal: 0.1}
4444
stop_trajectory_duration: 0.5
4545
state_publish_rate: *loop_hz
46-
action_monitor_rate: 10
46+
action_monitor_rate: 20
4747

48-
pos_traj_controller:
48+
pos_joint_traj_controller:
4949
type: position_controllers/JointTrajectoryController
5050
joints: *robot_joints
5151
constraints:
@@ -59,9 +59,9 @@ pos_traj_controller:
5959
wrist_3_joint: {trajectory: 0.2, goal: 0.1}
6060
stop_trajectory_duration: 0.5
6161
state_publish_rate: *loop_hz
62-
action_monitor_rate: 10
62+
action_monitor_rate: 20
6363

64-
scaled_vel_traj_controller:
64+
scaled_vel_joint_traj_controller:
6565
type: velocity_controllers/ScaledJointTrajectoryController
6666
joints: *robot_joints
6767
constraints:
@@ -73,9 +73,6 @@ scaled_vel_traj_controller:
7373
wrist_1_joint: {trajectory: 0.1, goal: 0.1}
7474
wrist_2_joint: {trajectory: 0.1, goal: 0.1}
7575
wrist_3_joint: {trajectory: 0.1, goal: 0.1}
76-
stop_trajectory_duration: 0.5
77-
state_publish_rate: *loop_hz
78-
action_monitor_rate: 10
7976
gains:
8077
#!!These values have not been optimized!!
8178
shoulder_pan_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
@@ -84,7 +81,6 @@ scaled_vel_traj_controller:
8481
wrist_1_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
8582
wrist_2_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
8683
wrist_3_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
87-
8884
# Use a feedforward term to reduce the size of PID gains
8985
velocity_ff:
9086
shoulder_pan_joint: 1.0
@@ -93,12 +89,11 @@ scaled_vel_traj_controller:
9389
wrist_1_joint: 1.0
9490
wrist_2_joint: 1.0
9591
wrist_3_joint: 1.0
92+
stop_trajectory_duration: 0.5
93+
state_publish_rate: *loop_hz
94+
action_monitor_rate: 20
9695

97-
# state_publish_rate: 50 # Defaults to 50
98-
# action_monitor_rate: 20 # Defaults to 20
99-
#stop_trajectory_duration: 0 # Defaults to 0.0
100-
101-
vel_traj_controller:
96+
vel_joint_traj_controller:
10297
type: velocity_controllers/JointTrajectoryController
10398
joints: *robot_joints
10499
constraints:
@@ -110,9 +105,6 @@ vel_traj_controller:
110105
wrist_1_joint: {trajectory: 0.1, goal: 0.1}
111106
wrist_2_joint: {trajectory: 0.1, goal: 0.1}
112107
wrist_3_joint: {trajectory: 0.1, goal: 0.1}
113-
stop_trajectory_duration: 0.5
114-
state_publish_rate: *loop_hz
115-
action_monitor_rate: 10
116108
gains:
117109
#!!These values have not been optimized!!
118110
shoulder_pan_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
@@ -121,7 +113,6 @@ vel_traj_controller:
121113
wrist_1_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
122114
wrist_2_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
123115
wrist_3_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
124-
125116
# Use a feedforward term to reduce the size of PID gains
126117
velocity_ff:
127118
shoulder_pan_joint: 1.0
@@ -130,10 +121,9 @@ vel_traj_controller:
130121
wrist_1_joint: 1.0
131122
wrist_2_joint: 1.0
132123
wrist_3_joint: 1.0
133-
134-
# state_publish_rate: 50 # Defaults to 50
135-
# action_monitor_rate: 20 # Defaults to 20
136-
#stop_trajectory_duration: 0 # Defaults to 0.0
124+
stop_trajectory_duration: 0.5
125+
state_publish_rate: *loop_hz
126+
action_monitor_rate: 20
137127

138128
# Pass an array of joint velocities directly to the joints
139129
joint_group_vel_controller:

ur_robot_driver/config/ur3_controllers.yaml

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ speed_scaling_state_controller:
2929

3030
# Joint Trajectory Controller - position based -------------------------------
3131
# For detailed explanations of parameter see http://wiki.ros.org/joint_trajectory_controller
32-
scaled_pos_traj_controller:
32+
scaled_pos_joint_traj_controller:
3333
type: position_controllers/ScaledJointTrajectoryController
3434
joints: *robot_joints
3535
constraints:
@@ -43,9 +43,9 @@ scaled_pos_traj_controller:
4343
wrist_3_joint: {trajectory: 0.2, goal: 0.1}
4444
stop_trajectory_duration: 0.5
4545
state_publish_rate: *loop_hz
46-
action_monitor_rate: 10
46+
action_monitor_rate: 20
4747

48-
pos_traj_controller:
48+
pos_joint_traj_controller:
4949
type: position_controllers/JointTrajectoryController
5050
joints: *robot_joints
5151
constraints:
@@ -59,10 +59,9 @@ pos_traj_controller:
5959
wrist_3_joint: {trajectory: 0.2, goal: 0.1}
6060
stop_trajectory_duration: 0.5
6161
state_publish_rate: *loop_hz
62-
action_monitor_rate: 10
62+
action_monitor_rate: 20
6363

64-
65-
scaled_vel_traj_controller:
64+
scaled_vel_joint_traj_controller:
6665
type: velocity_controllers/ScaledJointTrajectoryController
6766
joints: *robot_joints
6867
constraints:
@@ -74,9 +73,6 @@ scaled_vel_traj_controller:
7473
wrist_1_joint: {trajectory: 0.1, goal: 0.1}
7574
wrist_2_joint: {trajectory: 0.1, goal: 0.1}
7675
wrist_3_joint: {trajectory: 0.1, goal: 0.1}
77-
stop_trajectory_duration: 0.5
78-
state_publish_rate: *loop_hz
79-
action_monitor_rate: 10
8076
gains:
8177
#!!These values have not been optimized!!
8278
shoulder_pan_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
@@ -85,7 +81,6 @@ scaled_vel_traj_controller:
8581
wrist_1_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
8682
wrist_2_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
8783
wrist_3_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
88-
8984
# Use a feedforward term to reduce the size of PID gains
9085
velocity_ff:
9186
shoulder_pan_joint: 1.0
@@ -94,12 +89,11 @@ scaled_vel_traj_controller:
9489
wrist_1_joint: 1.0
9590
wrist_2_joint: 1.0
9691
wrist_3_joint: 1.0
92+
stop_trajectory_duration: 0.5
93+
state_publish_rate: *loop_hz
94+
action_monitor_rate: 20
9795

98-
# state_publish_rate: 50 # Defaults to 50
99-
# action_monitor_rate: 20 # Defaults to 20
100-
#stop_trajectory_duration: 0 # Defaults to 0.0
101-
102-
vel_traj_controller:
96+
vel_joint_traj_controller:
10397
type: velocity_controllers/JointTrajectoryController
10498
joints: *robot_joints
10599
constraints:
@@ -111,9 +105,6 @@ vel_traj_controller:
111105
wrist_1_joint: {trajectory: 0.1, goal: 0.1}
112106
wrist_2_joint: {trajectory: 0.1, goal: 0.1}
113107
wrist_3_joint: {trajectory: 0.1, goal: 0.1}
114-
stop_trajectory_duration: 0.5
115-
state_publish_rate: *loop_hz
116-
action_monitor_rate: 10
117108
gains:
118109
#!!These values have not been optimized!!
119110
shoulder_pan_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
@@ -122,7 +113,6 @@ vel_traj_controller:
122113
wrist_1_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
123114
wrist_2_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
124115
wrist_3_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
125-
126116
# Use a feedforward term to reduce the size of PID gains
127117
velocity_ff:
128118
shoulder_pan_joint: 1.0
@@ -131,10 +121,9 @@ vel_traj_controller:
131121
wrist_1_joint: 1.0
132122
wrist_2_joint: 1.0
133123
wrist_3_joint: 1.0
134-
135-
# state_publish_rate: 50 # Defaults to 50
136-
# action_monitor_rate: 20 # Defaults to 20
137-
#stop_trajectory_duration: 0 # Defaults to 0.0
124+
stop_trajectory_duration: 0.5
125+
state_publish_rate: *loop_hz
126+
action_monitor_rate: 20
138127

139128
# Pass an array of joint velocities directly to the joints
140129
joint_group_vel_controller:

0 commit comments

Comments
 (0)