Skip to content

Commit 5f5efda

Browse files
author
Shuang Li
authored
add pr2_joint_group_velocity_controllers.yaml
add JointGroupVelocityController in pr2_controllers (see PR2/pr2_controllers#400)
1 parent fd1a3d2 commit 5f5efda

File tree

1 file changed

+104
-0
lines changed

1 file changed

+104
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
shoulder_pan_gains: &shoulder_pan_velocity_gains
2+
p: 18.0
3+
i: 4.67
4+
d: 0.0
5+
i_clamp: 100.0
6+
i_clamp_max: 100.0
7+
i_clamp_min: -100.0
8+
9+
shoulder_lift_gains: &shoulder_lift_velocity_gains
10+
p: 10.0
11+
i: 5.67
12+
d: 0
13+
i_clamp: 100.0
14+
i_clamp_max: 100.0
15+
i_clamp_min: -100.0
16+
17+
upper_arm_roll_gains: &upper_arm_roll_velocity_gains
18+
p: 6.0
19+
i: 42.9
20+
d: 0
21+
i_clamp: 100.0
22+
i_clamp_max: 100.0
23+
i_clamp_min: -100.0
24+
25+
elbow_flex_gains: &elbow_flex_velocity_gains
26+
p: 4.0
27+
i: 20.0
28+
d: 0
29+
i_clamp: 100.0
30+
i_clamp_max: 100.0
31+
i_clamp_min: -100.0
32+
33+
forearm_roll_gains: &forearm_roll_velocity_gains
34+
p: 6.0
35+
i: 15.0
36+
d: 0
37+
i_clamp: 100.0
38+
i_clamp_max: 100.0
39+
i_clamp_min: -100.0
40+
41+
wrist_flex_gains: &wrist_flex_velocity_gains
42+
p: 4.0
43+
i: 25.0
44+
d: 0
45+
i_clamp: 100.0
46+
i_clamp_max: 100.0
47+
i_clamp_min: -100.0
48+
49+
wrist_roll_gains: &wrist_roll_velocity_gains
50+
p: 4.0
51+
i: 25.0
52+
d: 0
53+
i_clamp: 100.0
54+
i_clamp_max: 100.0
55+
i_clamp_min: -100.0
56+
57+
l_arm_joint_group_velocity_controller:
58+
type: "robot_mechanism_controllers/JointGroupVelocityController"
59+
joints:
60+
- l_shoulder_pan_joint
61+
- l_shoulder_lift_joint
62+
- l_upper_arm_roll_joint
63+
- l_elbow_flex_joint
64+
- l_forearm_roll_joint
65+
- l_wrist_flex_joint
66+
- l_wrist_roll_joint
67+
gains:
68+
l_shoulder_pan_joint: *shoulder_pan_velocity_gains
69+
l_shoulder_lift_joint: *shoulder_lift_velocity_gains
70+
l_upper_arm_roll_joint: *upper_arm_roll_velocity_gains
71+
l_elbow_flex_joint: *elbow_flex_velocity_gains
72+
l_forearm_roll_joint: *forearm_roll_velocity_gains
73+
l_wrist_flex_joint: *wrist_flex_velocity_gains
74+
l_wrist_roll_joint: *wrist_roll_velocity_gains
75+
76+
r_arm_joint_group_velocity_controller:
77+
type: "robot_mechanism_controllers/JointGroupVelocityController"
78+
joints:
79+
- r_shoulder_pan_joint
80+
- r_shoulder_lift_joint
81+
- r_upper_arm_roll_joint
82+
- r_elbow_flex_joint
83+
- r_forearm_roll_joint
84+
- r_wrist_flex_joint
85+
- r_wrist_roll_joint
86+
gains:
87+
r_shoulder_pan_joint: *shoulder_pan_velocity_gains
88+
r_shoulder_lift_joint: *shoulder_lift_velocity_gains
89+
r_upper_arm_roll_joint: *upper_arm_roll_velocity_gains
90+
r_elbow_flex_joint: *elbow_flex_velocity_gains
91+
r_forearm_roll_joint: *forearm_roll_velocity_gains
92+
r_wrist_flex_joint: *wrist_flex_velocity_gains
93+
r_wrist_roll_joint: *wrist_roll_velocity_gains
94+
95+
torso_lift_velocity_controller:
96+
type: robot_mechanism_controllers/JointVelocityController
97+
joint: torso_lift_joint
98+
pid: &torso_lift_velocity_gains
99+
p: 2000000.0
100+
d: 0.0
101+
i: 1000.0
102+
i_clamp: 1200.0
103+
i_clamp_max: 1200.0
104+
i_clamp_min: -1200.0

0 commit comments

Comments
 (0)