Skip to content

Commit 5ff30bb

Browse files
authored
[BREAKING] changes for Kilted (#280)
* Remove unused radius values in physical parameters * Move all mesh offsets to visual parameters * Remove all materials from visual parameters. They aren't used anyway. * Add migration notes for kilted
1 parent efb0bc8 commit 5ff30bb

25 files changed

+623
-359
lines changed

config/ur10/physical_parameters.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Physical parameters
22

3-
offsets:
4-
shoulder_offset: 0.220941 # measured from model
5-
elbow_offset: 0.049042 # measured from model
63

74
inertia_parameters:
85
base_mass: 4.0 # This mass might be incorrect
@@ -13,12 +10,6 @@ inertia_parameters:
1310
wrist_2_mass: 2.0
1411
wrist_3_mass: 0.365
1512

16-
shoulder_radius: x0.060 # FROM UR5 DON'T USE
17-
upper_arm_radius: x0.054 # FROM UR5 DON'T USE
18-
elbow_radius: x0.060 # FROM UR5 DON'T USE
19-
forearm_radius: x0.040 # FROM UR5 DON'T USE
20-
wrist_radius: x0.045 # FROM UR5 DON'T USE
21-
2213
links:
2314
base:
2415
radius: 0.075

config/ur10/visual_parameters.yaml

Lines changed: 49 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,92 +6,116 @@ mesh_files:
66
mesh:
77
package: ur_description
88
path: meshes/ur10/visual/base.dae
9-
material:
10-
name: "LightGrey"
11-
color: "0.7 0.7 0.7 1.0"
129
collision:
1310
mesh:
1411
package: ur_description
1512
path: meshes/ur10/collision/base.stl
13+
mesh_offset:
14+
x: 0.0
15+
y: 0.0
16+
z: 0.0
17+
roll: 0.0
18+
pitch: 0.0
19+
yaw: !degrees 180
1620

1721
shoulder:
1822
visual:
1923
mesh:
2024
package: ur_description
2125
path: meshes/ur10/visual/shoulder.dae
22-
material:
23-
name: "LightGrey"
24-
color: "0.7 0.7 0.7 1.0"
2526
collision:
2627
mesh:
2728
package: ur_description
2829
path: meshes/ur10/collision/shoulder.stl
30+
mesh_offset:
31+
x: 0.0
32+
y: 0.0
33+
z: 0.0
34+
roll: 0.0
35+
pitch: 0.0
36+
yaw: !degrees 180
2937

3038
upper_arm:
3139
visual:
3240
mesh:
3341
package: ur_description
3442
path: meshes/ur10/visual/upperarm.dae
35-
material:
36-
name: "LightGrey"
37-
color: "0.7 0.7 0.7 1.0"
3843
collision:
3944
mesh:
4045
package: ur_description
4146
path: meshes/ur10/collision/upperarm.stl
42-
mesh_files:
47+
mesh_offset:
48+
x: 0.0
49+
y: 0.0
50+
z: 0.220941
51+
roll: !degrees 90
52+
pitch: 0.0
53+
yaw: !degrees -90
4354

4455
forearm:
4556
visual:
4657
mesh:
4758
package: ur_description
4859
path: meshes/ur10/visual/forearm.dae
49-
material:
50-
name: "LightGrey"
51-
color: "0.7 0.7 0.7 1.0"
5260
collision:
5361
mesh:
5462
package: ur_description
5563
path: meshes/ur10/collision/forearm.stl
64+
mesh_offset:
65+
x: 0.0
66+
y: 0.0
67+
z: 0.049042
68+
roll: !degrees 90
69+
pitch: 0.0
70+
yaw: !degrees -90
5671

5772
wrist_1:
5873
visual:
5974
mesh:
6075
package: ur_description
6176
path: meshes/ur10/visual/wrist1.dae
62-
material:
63-
name: "LightGrey"
64-
color: "0.7 0.7 0.7 1.0"
6577
collision:
6678
mesh:
6779
package: ur_description
6880
path: meshes/ur10/collision/wrist1.stl
69-
visual_offset: -0.1149
81+
mesh_offset:
82+
x: 0.0
83+
y: 0.0
84+
z: -0.1149
85+
roll: !degrees 90
86+
pitch: 0.0
87+
yaw: 0.0
7088

7189
wrist_2:
7290
visual:
7391
mesh:
7492
package: ur_description
7593
path: meshes/ur10/visual/wrist2.dae
76-
material:
77-
name: "LightGrey"
78-
color: "0.7 0.7 0.7 1.0"
7994
collision:
8095
mesh:
8196
package: ur_description
8297
path: meshes/ur10/collision/wrist2.stl
83-
visual_offset: -0.1158
98+
mesh_offset:
99+
x: 0.0
100+
y: 0.0
101+
z: -0.1158
102+
roll: 0.0
103+
pitch: 0.0
104+
yaw: 0.0
84105

85106
wrist_3:
86107
visual:
87108
mesh:
88109
package: ur_description
89110
path: meshes/ur10/visual/wrist3.dae
90-
material:
91-
name: "LightGrey"
92-
color: "0.7 0.7 0.7 1.0"
93111
collision:
94112
mesh:
95113
package: ur_description
96114
path: meshes/ur10/collision/wrist3.stl
97-
visual_offset: -0.0922
115+
mesh_offset:
116+
x: 0.0
117+
y: 0.0
118+
z: -0.0922
119+
roll: !degrees 90
120+
pitch: 0.0
121+
yaw: 0.0

config/ur10e/physical_parameters.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Physical parameters
22

3-
offsets:
4-
shoulder_offset: 0.1762 # measured from model
5-
elbow_offset: 0.0393 # measured from model
63

74
inertia_parameters:
85
base_mass: 4.0 # This mass might be incorrect
@@ -13,12 +10,6 @@ inertia_parameters:
1310
wrist_2_mass: 1.98
1411
wrist_3_mass: 0.615
1512

16-
shoulder_radius: x0.060 # FROM UR5 DON'T USE
17-
upper_arm_radius: x0.054 # FROM UR5 DON'T USE
18-
elbow_radius: x0.060 # FROM UR5 DON'T USE
19-
forearm_radius: x0.040 # FROM UR5 DON'T USE
20-
wrist_radius: x0.045 # FROM UR5 DON'T USE
21-
2213
links:
2314
base:
2415
radius: 0.075

config/ur10e/visual_parameters.yaml

Lines changed: 49 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,92 +6,117 @@ mesh_files:
66
mesh:
77
package: ur_description
88
path: meshes/ur10e/visual/base.dae
9-
material:
10-
name: "LightGrey"
11-
color: "0.7 0.7 0.7 1.0"
129
collision:
1310
mesh:
1411
package: ur_description
1512
path: meshes/ur10e/collision/base.stl
13+
mesh_offset:
14+
x: 0.0
15+
y: 0.0
16+
z: 0.0
17+
roll: 0.0
18+
pitch: 0.0
19+
yaw: !degrees 180
1620

1721
shoulder:
1822
visual:
1923
mesh:
2024
package: ur_description
2125
path: meshes/ur10e/visual/shoulder.dae
22-
material:
23-
name: "LightGrey"
24-
color: "0.7 0.7 0.7 1.0"
2526
collision:
2627
mesh:
2728
package: ur_description
2829
path: meshes/ur10e/collision/shoulder.stl
30+
mesh_offset:
31+
x: 0.0
32+
y: 0.0
33+
z: 0.0
34+
roll: 0.0
35+
pitch: 0.0
36+
yaw: !degrees 180
2937

3038
upper_arm:
3139
visual:
3240
mesh:
3341
package: ur_description
3442
path: meshes/ur10e/visual/upperarm.dae
35-
material:
36-
name: "LightGrey"
37-
color: "0.7 0.7 0.7 1.0"
3843
collision:
3944
mesh:
4045
package: ur_description
4146
path: meshes/ur10e/collision/upperarm.stl
4247
mesh_files:
48+
mesh_offset:
49+
x: 0.0
50+
y: 0.0
51+
z: 0.1762
52+
roll: !degrees 90
53+
pitch: 0.0
54+
yaw: !degrees -90
4355

4456
forearm:
4557
visual:
4658
mesh:
4759
package: ur_description
4860
path: meshes/ur10e/visual/forearm.dae
49-
material:
50-
name: "LightGrey"
51-
color: "0.7 0.7 0.7 1.0"
5261
collision:
5362
mesh:
5463
package: ur_description
5564
path: meshes/ur10e/collision/forearm.stl
65+
mesh_offset:
66+
x: 0.0
67+
y: 0.0
68+
z: 0.0393
69+
roll: !degrees 90
70+
pitch: 0.0
71+
yaw: !degrees -90
5672

5773
wrist_1:
5874
visual:
5975
mesh:
6076
package: ur_description
6177
path: meshes/ur10e/visual/wrist1.dae
62-
material:
63-
name: "LightGrey"
64-
color: "0.7 0.7 0.7 1.0"
6578
collision:
6679
mesh:
6780
package: ur_description
6881
path: meshes/ur10e/collision/wrist1.stl
69-
visual_offset: -0.135
82+
mesh_offset:
83+
x: 0.0
84+
y: 0.0
85+
z: -0.135
86+
roll: !degrees 90
87+
pitch: 0.0
88+
yaw: 0.0
7089

7190
wrist_2:
7291
visual:
7392
mesh:
7493
package: ur_description
7594
path: meshes/ur10e/visual/wrist2.dae
76-
material:
77-
name: "LightGrey"
78-
color: "0.7 0.7 0.7 1.0"
7995
collision:
8096
mesh:
8197
package: ur_description
8298
path: meshes/ur10e/collision/wrist2.stl
83-
visual_offset: -0.12
99+
mesh_offset:
100+
x: 0.0
101+
y: 0.0
102+
z: -0.12
103+
roll: 0.0
104+
pitch: 0.0
105+
yaw: 0.0
84106

85107
wrist_3:
86108
visual:
87109
mesh:
88110
package: ur_description
89111
path: meshes/ur10e/visual/wrist3.dae
90-
material:
91-
name: "LightGrey"
92-
color: "0.7 0.7 0.7 1.0"
93112
collision:
94113
mesh:
95114
package: ur_description
96115
path: meshes/ur10e/collision/wrist3.stl
97-
visual_offset: -0.1168
116+
mesh_offset:
117+
x: 0.0
118+
y: 0.0
119+
z: -0.1168
120+
roll: !degrees 90
121+
pitch: 0.0
122+
yaw: 0.0

config/ur12e/physical_parameters.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Physical parameters
22

3-
offsets:
4-
shoulder_offset: 0.1762 # measured from model
5-
elbow_offset: 0.0393 # measured from model
63

74
inertia_parameters:
85
base_mass: 4.0 # This mass might be incorrect
@@ -13,12 +10,6 @@ inertia_parameters:
1310
wrist_2_mass: 1.98
1411
wrist_3_mass: 0.615
1512

16-
shoulder_radius: x0.060 # FROM UR5 DON'T USE
17-
upper_arm_radius: x0.054 # FROM UR5 DON'T USE
18-
elbow_radius: x0.060 # FROM UR5 DON'T USE
19-
forearm_radius: x0.040 # FROM UR5 DON'T USE
20-
wrist_radius: x0.045 # FROM UR5 DON'T USE
21-
2213
links:
2314
base:
2415
radius: 0.075

0 commit comments

Comments
 (0)