Skip to content
This repository was archived by the owner on Dec 1, 2020. It is now read-only.

Commit c688d75

Browse files
authored
Merge pull request #265 from project-march/feature/sort-joints-in-yaml
sort joint names alphabetically in yaml
2 parents 9e3346a + 30911b4 commit c688d75

File tree

1 file changed

+43
-42
lines changed

1 file changed

+43
-42
lines changed

march_hardware_builder/robots/march4.yaml

Lines changed: 43 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1+
# For convenience it is easiest if the joint order is maintained, it is chosen to sort the joints alphabetically.
12
march4:
23
ifName: enp2s0
34
ecatCycleTime: 4
45
joints:
5-
- right_hip_aa:
6+
- left_ankle:
67
actuationMode: torque
78
allowActuation: true
8-
netNumber: 1
9-
temperatureges: {slaveIndex: 7, byteOffset: 4}
9+
netNumber: 8
10+
temperatureges: {slaveIndex: 1, byteOffset: 0}
1011
imotioncube:
11-
slaveIndex: 8
12+
slaveIndex: 2
1213
absoluteEncoder:
1314
resolution: 12
14-
minPositionIU: 3713
15-
maxPositionIU: 4091
15+
minPositionIU: 3641
16+
maxPositionIU: 4082
1617
incrementalEncoder:
1718
resolution: 13
1819
transmission: 200
@@ -32,21 +33,6 @@ march4:
3233
resolution: 13
3334
transmission: 200
3435

35-
- right_hip_fe:
36-
actuationMode: torque
37-
allowActuation: true
38-
netNumber: 2
39-
temperatureges: {slaveIndex: 9, byteOffset: 0}
40-
imotioncube:
41-
slaveIndex: 10
42-
absoluteEncoder:
43-
resolution: 17
44-
minPositionIU: 2053
45-
maxPositionIU: 45617
46-
incrementalEncoder:
47-
resolution: 12
48-
transmission: 101
49-
5036
- left_hip_fe:
5137
actuationMode: torque
5238
allowActuation: true
@@ -62,21 +48,6 @@ march4:
6248
resolution: 12
6349
transmission: 101
6450

65-
- right_knee:
66-
actuationMode: torque
67-
allowActuation: true
68-
netNumber: 3
69-
temperatureges: {slaveIndex: 9, byteOffset: 4}
70-
imotioncube:
71-
slaveIndex: 11
72-
absoluteEncoder:
73-
resolution: 17
74-
minPositionIU: 41547
75-
maxPositionIU: 85287
76-
incrementalEncoder:
77-
resolution: 12
78-
transmission: 101
79-
8051
- left_knee:
8152
actuationMode: torque
8253
allowActuation: true
@@ -107,17 +78,47 @@ march4:
10778
resolution: 13
10879
transmission: 200
10980

110-
- left_ankle:
81+
- right_hip_aa:
11182
actuationMode: torque
11283
allowActuation: true
113-
netNumber: 8
114-
temperatureges: {slaveIndex: 1, byteOffset: 0}
84+
netNumber: 1
85+
temperatureges: {slaveIndex: 7, byteOffset: 4}
11586
imotioncube:
116-
slaveIndex: 2
87+
slaveIndex: 8
11788
absoluteEncoder:
11889
resolution: 12
119-
minPositionIU: 3641
120-
maxPositionIU: 4082
90+
minPositionIU: 3713
91+
maxPositionIU: 4091
12192
incrementalEncoder:
12293
resolution: 13
12394
transmission: 200
95+
96+
- right_hip_fe:
97+
actuationMode: torque
98+
allowActuation: true
99+
netNumber: 2
100+
temperatureges: {slaveIndex: 9, byteOffset: 0}
101+
imotioncube:
102+
slaveIndex: 10
103+
absoluteEncoder:
104+
resolution: 17
105+
minPositionIU: 2053
106+
maxPositionIU: 45617
107+
incrementalEncoder:
108+
resolution: 12
109+
transmission: 101
110+
111+
- right_knee:
112+
actuationMode: torque
113+
allowActuation: true
114+
netNumber: 3
115+
temperatureges: {slaveIndex: 9, byteOffset: 4}
116+
imotioncube:
117+
slaveIndex: 11
118+
absoluteEncoder:
119+
resolution: 17
120+
minPositionIU: 41547
121+
maxPositionIU: 85287
122+
incrementalEncoder:
123+
resolution: 12
124+
transmission: 101

0 commit comments

Comments
 (0)