Skip to content

Commit 94504f0

Browse files
authored
Merge pull request #96 from HebiRobotics/update-config
Update config directory from robot-config
2 parents efa2e8f + dd63401 commit 94504f0

97 files changed

Lines changed: 3862 additions & 0 deletions

File tree

Some content is hidden

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

kits/arm/config/A-2084-01.cfg.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# X-Series 4-DoF SCARA Arm
2+
families: ["Arm"]
3+
names: ["J1_base", "J2_shoulder", "J3_elbow", "J4_wrist"]
4+
hrdf: "hrdf/A-2084-01.hrdf"
5+
6+
gains:
7+
default: "gains/A-2084-01.xml"
8+
9+
user_data:
10+
# Default seed positions for doing inverse kinematics
11+
ik_seed_pos: [0.01, 1.0, 2.5, 1.5]
12+
13+
plugins:
14+
- type: GravityCompensationEffort
15+
name: gravComp
16+
enabled: true
17+
ramp_time: 5
18+
19+
- type: DynamicsCompensationEffort
20+
name: dynamicsComp
21+
enabled: true
22+
ramp_time: 5
23+
24+
# Kits with a gas spring need to add a shoulder compensation torque.
25+
# It should be around -7 Nm for most kits, but it may need to be tuned
26+
# for your specific setup.
27+
- name: 'gasSpringCompensation'
28+
type: EffortOffset
29+
enabled: false
30+
ramp_time: 5
31+
offset: [0, -7, 0, 0]

kits/arm/config/A-2085-03.cfg.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# X-Series 3-DoF Arm
2+
families: ["Arm"]
3+
names: ["J1_base", "J2_shoulder", "J3_elbow"]
4+
hrdf: "hrdf/A-2085-03.hrdf"
5+
6+
gains:
7+
default: "gains/A-2085-03.xml"
8+
9+
user_data:
10+
# Default seed positions for doing inverse kinematics
11+
ik_seed_pos: [0.01, 1.0, 2.5]
12+
13+
plugins:
14+
- type: GravityCompensationEffort
15+
name: gravComp
16+
enabled: true
17+
ramp_time: 5
18+
19+
- type: DynamicsCompensationEffort
20+
name: dynamicsComp
21+
enabled: true
22+
ramp_time: 5
23+
24+
# Kits with a gas spring need to add a shoulder compensation torque.
25+
# It should be around -7 Nm for most kits, but it may need to be tuned
26+
# for your specific setup.
27+
- name: 'gasSpringCompensation'
28+
type: EffortOffset
29+
enabled: false
30+
ramp_time: 5
31+
offset: [0, -7, 0]

kits/arm/config/A-2085-04.cfg.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# X-Series 4-DoF Arm
2+
families: ["Arm"]
3+
names: ["J1_base", "J2_shoulder", "J3_elbow", "J4_wrist"]
4+
hrdf: "hrdf/A-2085-04.hrdf"
5+
6+
gains:
7+
default: "gains/A-2085-04.xml"
8+
9+
user_data:
10+
# Default seed positions for doing inverse kinematics
11+
ik_seed_pos: [0.01, 1.0, 2.5, 1.5]
12+
13+
plugins:
14+
- type: GravityCompensationEffort
15+
name: gravComp
16+
enabled: true
17+
ramp_time: 5
18+
19+
- type: DynamicsCompensationEffort
20+
name: dynamicsComp
21+
enabled: true
22+
ramp_time: 5
23+
24+
# Kits with a gas spring need to add a shoulder compensation torque.
25+
# It should be around -7 Nm for most kits, but it may need to be tuned
26+
# for your specific setup.
27+
- name: 'gasSpringCompensation'
28+
type: EffortOffset
29+
enabled: false
30+
ramp_time: 5
31+
offset: [0, -7, 0, 0]

kits/arm/config/A-2085-05.cfg.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# X-Series 5-DoF Arm
2+
version: 1.0
3+
families: ["Arm"]
4+
names: ["J1_base", "J2_shoulder", "J3_elbow", "J4_wrist1", "J5_wrist2"]
5+
hrdf: "hrdf/A-2085-05.hrdf"
6+
7+
gains:
8+
default: "gains/A-2085-05.xml"
9+
10+
user_data:
11+
# Default seed positions for doing inverse kinematics
12+
ik_seed_pos: [0.01, 1.0, 2.5, 1.5, -1.5]
13+
14+
plugins:
15+
- type: GravityCompensationEffort
16+
name: gravComp
17+
enabled: true
18+
ramp_time: 5
19+
20+
- type: DynamicsCompensationEffort
21+
name: dynamicsComp
22+
enabled: true
23+
ramp_time: 5
24+
25+
# Kits with a gas spring need to add a shoulder compensation torque.
26+
# It should be around -7 Nm for most kits, but it may need to be tuned
27+
# for your specific setup.
28+
- name: 'gasSpringCompensation'
29+
type: EffortOffset
30+
enabled: false
31+
ramp_time: 5
32+
offset: [0, -7, 0, 0, 0]
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# X-Series 5-DoF Arm with Gripper
2+
version: 1.0
3+
families: ["Arm"]
4+
names: ["J1_base", "J2_shoulder", "J3_elbow", "J4_wrist1", "J5_wrist2"]
5+
hrdf: "hrdf/A-2085-05G.hrdf"
6+
7+
gains:
8+
default: "gains/A-2085-05.xml"
9+
gripper: "gains/A-2080-01.xml"
10+
11+
user_data:
12+
# Default seed positions for doing inverse kinematics
13+
ik_seed_pos: [0.01, 1.0, 2.5, 1.5, -1.5]
14+
15+
# Gripper specific settings
16+
has_gripper: true
17+
gripper_open_effort: 1
18+
gripper_close_effort: -5
19+
20+
plugins:
21+
- type: GravityCompensationEffort
22+
name: gravComp
23+
enabled: true
24+
ramp_time: 5
25+
26+
- type: DynamicsCompensationEffort
27+
name: dynamicsComp
28+
enabled: true
29+
ramp_time: 5
30+
31+
# Kits with a gas spring need to add a shoulder compensation torque.
32+
# It should be around -7 Nm for most kits, but it may need to be tuned
33+
# for your specific setup.
34+
- name: 'gasSpringCompensation'
35+
type: EffortOffset
36+
enabled: false
37+
ramp_time: 5
38+
offset: [0, -7, 0, 0, 0]

kits/arm/config/A-2085-06.cfg.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# X-Series 6-DoF Arm
2+
version: 1.0
3+
families: ["Arm"]
4+
names: ["J1_base", "J2_shoulder", "J3_elbow", "J4_wrist1", "J5_wrist2", "J6_wrist3"]
5+
hrdf: "hrdf/A-2085-06.hrdf"
6+
7+
gains:
8+
default: "gains/A-2085-06.xml"
9+
10+
user_data:
11+
# Default seed positions for doing inverse kinematics
12+
ik_seed_pos: [0.01, 1.0, 2.5, 1.5, -1.5, 0.01]
13+
14+
plugins:
15+
16+
- type: GravityCompensationEffort
17+
name: gravComp
18+
enabled: true
19+
ramp_time: 5
20+
21+
- type: DynamicsCompensationEffort
22+
name: dynamicsComp
23+
enabled: true
24+
ramp_time: 5
25+
26+
# An impedance controller adds a virtual spring to the
27+
# end-effector and can improve tracking. It can be enabled
28+
# by setting 'enabled' to true. The gains are in the form of
29+
# [x, y, z, rx, ry, rz]. Setting gains of zero deactivates
30+
# the corresponding degree of translation or rotation.
31+
- type: ImpedanceController
32+
name: impedanceController
33+
enabled: false
34+
ramp_time: 5
35+
gains_in_end_effector_frame: true
36+
kp: [50, 50, 50, 0, 0, 0] # (N/m) or (Nm/rad)
37+
kd: [5, 5, 5, 0, 0, 0] # (N/(m/sec)) or (Nm/(rad/sec))
38+
ki: [0, 0, 1, 0, 0, 0]
39+
i_clamp: [10, 10, 10, 10, 10, 10] # max value
40+
41+
# Kits with a gas spring need to add a shoulder compensation torque.
42+
# It should be around -7 Nm for most kits, but it may need to be tuned
43+
# for your specific setup.
44+
- type: EffortOffset
45+
name: gasSpringCompensation
46+
enabled: false # disabled by default as the default configuration ships without one
47+
ramp_time: 5
48+
offset: [0, -7, 0, 0, 0, 0]
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# X-Series 6-DoF Arm with Gripper
2+
version: 1.0
3+
families: ["Arm"]
4+
names: ["J1_base", "J2_shoulder", "J3_elbow", "J4_wrist1", "J5_wrist2", "J6_wrist3"]
5+
hrdf: "hrdf/A-2085-06G.hrdf"
6+
7+
gains:
8+
default: "gains/A-2085-06.xml"
9+
gripper: "gains/A-2080-01.xml"
10+
11+
user_data:
12+
# Default seed positions for doing inverse kinematics
13+
ik_seed_pos: [0.01, 1.0, 2.5, 1.5, -1.5, 0.01]
14+
15+
# Gripper specific settings
16+
has_gripper: true
17+
gripper_open_effort: 1
18+
gripper_close_effort: -5
19+
20+
plugins:
21+
22+
- type: GravityCompensationEffort
23+
name: gravComp
24+
enabled: true
25+
ramp_time: 5
26+
27+
- type: DynamicsCompensationEffort
28+
name: dynamicsComp
29+
enabled: true
30+
ramp_time: 5
31+
32+
# An impedance controller adds a virtual spring to the
33+
# end-effector and can improve tracking. It can be enabled
34+
# by setting 'enabled' to true. The gains are in the form of
35+
# [x, y, z, rx, ry, rz]. Setting gains of zero deactivates
36+
# the corresponding degree of translation or rotation.
37+
- type: ImpedanceController
38+
name: impedanceController
39+
enabled: false
40+
ramp_time: 5
41+
gains_in_end_effector_frame: true
42+
kp: [50, 50, 50, 0, 0, 0] # (N/m) or (Nm/rad)
43+
kd: [5, 5, 5, 0, 0, 0] # (N/(m/sec)) or (Nm/(rad/sec))
44+
ki: [0, 0, 1, 0, 0, 0]
45+
i_clamp: [10, 10, 10, 10, 10, 10] # max value
46+
47+
# Kits with a gas spring need to add a shoulder compensation torque.
48+
# It should be around -7 Nm for most kits, but it may need to be tuned
49+
# for your specific setup.
50+
- type: EffortOffset
51+
name: gasSpringCompensation
52+
enabled: false # disabled by default as the default configuration ships without one
53+
ramp_time: 5
54+
offset: [0, -7, 0, 0, 0, 0]

kits/arm/config/A-2099-07.cfg.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# T-Series 6-DoF Arm with Gripper
2+
version: 1.0
3+
families: ["Arm"]
4+
names: ["J1_base", "J2_shoulder1A", "J3_shoulder2", "J4_elbow1", "J5_elbow2", "J6_wrist1", "J7_wrist2"]
5+
hrdf: "hrdf/A-2099-07.hrdf"
6+
7+
gains:
8+
default: "gains/A-2099-07.xml"
9+
10+
user_data:
11+
# Default seed positions for doing inverse kinematics
12+
ik_seed_pos: [0.01, -1, 0, 1.5, 0.01, 0.01, 0.01]
13+
14+
plugins:
15+
- type: GravityCompensationEffort
16+
name: gravComp
17+
enabled: true
18+
ramp_time: 5
19+
20+
- type: DynamicsCompensationEffort
21+
name: dynamicsComp
22+
enabled: true
23+
ramp_time: 5
24+
25+
- name: 'DoubleShoulder'
26+
type: DoubledJointMirror
27+
enabled: true
28+
group_Family: ["Arm"]
29+
group_name: ["J2_shoulder1B"]
30+
index: 2
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# X-Series 6-DoF Arm with Gripper
2+
version: 1.0
3+
families: ["Arm"]
4+
names: ["J1_base", "J2_shoulder1A", "J3_shoulder2", "J4_elbow1", "J5_elbow2", "J6_wrist1", "J7_wrist2"]
5+
hrdf: "hrdf/A-2099-07G.hrdf"
6+
7+
gains:
8+
default: "gains/A-2099-01-7.xml"
9+
gripper: "gains/A-2080-01.xml"
10+
11+
user_data:
12+
# Default seed positions for doing inverse kinematics
13+
ik_seed_pos: [0.01, 1, 0.01, 0.01, -1.5, 0.01, 0.01]
14+
15+
# Gripper specific settings
16+
has_gripper: true
17+
gripper_open_effort: 1
18+
gripper_close_effort: -5
19+
20+
plugins:
21+
- type: GravityCompensationEffort
22+
name: gravComp
23+
enabled: true
24+
ramp_time: 5
25+
26+
- type: DynamicsCompensationEffort
27+
name: dynamicsComp
28+
enabled: true
29+
ramp_time: 5
30+
31+
- name: 'DoubleShoulder'
32+
type: DoubledJointMirror
33+
enabled: true
34+
group_Family: ["Arm"]
35+
group_name: ["J2_shoulder1B"]
36+
index: 2

kits/arm/config/A-2240-04.cfg.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# R-Series 4-DoF Arm
2+
version: 1.0
3+
families: ["Arm"]
4+
names: ["J1_base", "J2_shoulder", "J3_elbow", "J4_wrist"]
5+
hrdf: "hrdf/A-2240-04.hrdf"
6+
7+
gains:
8+
default: "gains/A-2240-04.xml"
9+
10+
user_data:
11+
# Default seed positions for doing inverse kinematics
12+
ik_seed_pos: [0.01, 1.0, 2.5, 1.5]
13+
14+
plugins:
15+
16+
- type: GravityCompensationEffort
17+
name: gravComp
18+
enabled: true
19+
ramp_time: 5
20+
21+
- type: DynamicsCompensationEffort
22+
name: dynamicsComp
23+
enabled: true
24+
ramp_time: 5
25+
26+
# Kits with a gas spring need to add a shoulder compensation torque.
27+
# It should be around -7 Nm for most kits, but it may need to be tuned
28+
# for your specific setup.
29+
- name: 'gasSpringCompensation'
30+
type: EffortOffset
31+
enabled: false
32+
ramp_time: 5
33+
offset: [0, -7, 0, 0]

0 commit comments

Comments
 (0)