mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 10:00:48 +02:00
UR3: setting ros_control PID gains and adding a feedforward term. (#222)
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
# Currently simply a copy of ur5_controllers.yaml
|
||||
|
||||
# Settings for ros_control control loop
|
||||
hardware_control_loop:
|
||||
loop_hz: 125
|
||||
@@ -77,12 +75,21 @@ vel_based_pos_traj_controller:
|
||||
action_monitor_rate: 10
|
||||
gains:
|
||||
#!!These values have not been optimized!!
|
||||
shoulder_pan_joint: {p: 50.0, i: 0.0, d: 0.1, i_clamp: 1}
|
||||
shoulder_lift_joint: {p: 50.0, i: 0.0, d: 0.1, i_clamp: 1}
|
||||
elbow_joint: {p: 50.0, i: 0.0, d: 0.1, i_clamp: 1}
|
||||
wrist_1_joint: {p: 50.0, i: 0.0, d: 0.1, i_clamp: 1}
|
||||
wrist_2_joint: {p: 50.0, i: 0.0, d: 0.1, i_clamp: 1}
|
||||
wrist_3_joint: {p: 50.0, i: 0.0, d: 0.1, i_clamp: 1}
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user