Skip to content

Commit

Permalink
Add velocity feedforward and reduce PID gains for UR10 joint trajecto…
Browse files Browse the repository at this point in the history
…ry controller (ros-industrial#228)
  • Loading branch information
miguelprada authored and gavanderhoorn committed Nov 5, 2018
1 parent 2f1251c commit 1b19728
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions config/ur10_controllers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pos_based_pos_traj_controller:
# state_publish_rate: 50 # Defaults to 50
# action_monitor_rate: 20 # Defaults to 20
#hold_trajectory_duration: 0 # Defaults to 0.5

# Joint Trajectory Controller -------------------------------
# For detailed explanations of parameter see http://wiki.ros.org/joint_trajectory_controller
vel_based_pos_traj_controller:
Expand All @@ -74,14 +74,22 @@ vel_based_pos_traj_controller:
state_publish_rate: 125
action_monitor_rate: 10
gains:
#!!These values are useable, but maybe not optimal
shoulder_pan_joint: {p: 20.0, i: 0.0, d: 0.1, i_clamp: 1}
shoulder_lift_joint: {p: 20.0, i: 0.0, d: 0.1, i_clamp: 1}
elbow_joint: {p: 20.0, i: 0.0, d: 0.1, i_clamp: 1}
wrist_1_joint: {p: 20.0, i: 0.0, d: 0.1, i_clamp: 1}
wrist_2_joint: {p: 20.0, i: 0.0, d: 0.1, i_clamp: 1}
wrist_3_joint: {p: 20.0, i: 0.0, d: 0.1, i_clamp: 1}
#!!These values have not been optimized!!
shoulder_pan_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
shoulder_lift_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
elbow_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
wrist_1_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
wrist_2_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}
wrist_3_joint: {p: 5.0, i: 0.05, d: 0.1, i_clamp: 1}

# Use a feedforward term to reduce the size of PID gains
velocity_ff:
shoulder_pan_joint: 1.0
shoulder_lift_joint: 1.0
elbow_joint: 1.0
wrist_1_joint: 1.0
wrist_2_joint: 1.0
wrist_3_joint: 1.0

# state_publish_rate: 50 # Defaults to 50
# action_monitor_rate: 20 # Defaults to 20
Expand Down

0 comments on commit 1b19728

Please sign in to comment.