|
a |
|
b/Application/Examples/StandingPosturePredictionWithLoad/Model/Mannequin.any |
|
|
1 |
// Default mannequin values |
|
|
2 |
|
|
|
3 |
Main.HumanModel.Mannequin = { |
|
|
4 |
|
|
|
5 |
Posture = { |
|
|
6 |
|
|
|
7 |
//This controls the position of the pelvis wrt. to the global reference frame |
|
|
8 |
PelvisPosX=0.5*(Main.InputParameters.RightFootPoint[0]+Main.InputParameters.LeftFootPoint[0]); |
|
|
9 |
PelvisPosY=0.5*(Main.InputParameters.RightFootPoint[1]+Main.InputParameters.LeftFootPoint[1]); |
|
|
10 |
|
|
|
11 |
PelvisPosZ=1.0; |
|
|
12 |
|
|
|
13 |
//This controls the rotation of the pelvis wrt. to the global reference frame |
|
|
14 |
PelvisRotX=90; |
|
|
15 |
PelvisRotY=0; |
|
|
16 |
PelvisRotZ=0; |
|
|
17 |
|
|
|
18 |
// These variables control the rotation of the thorax wrt the |
|
|
19 |
// pelvis |
|
|
20 |
PelvisThoraxExtension=0; |
|
|
21 |
PelvisThoraxLateralBending=0; |
|
|
22 |
PelvisThoraxRotation=0; |
|
|
23 |
|
|
|
24 |
NeckExtension=0; |
|
|
25 |
NeckLateralBending=0; // not used when neck is switched off |
|
|
26 |
NeckRotation=0; // not used when neck is switched off |
|
|
27 |
|
|
|
28 |
Right = { |
|
|
29 |
//Arm |
|
|
30 |
SternoClavicularProtraction=-23; //This value is not used for initial position |
|
|
31 |
SternoClavicularElevation=11.5; //This value is not used for initial position |
|
|
32 |
SternoClavicularAxialRotation=-20; //This value is not used for initial position |
|
|
33 |
|
|
|
34 |
GlenohumeralFlexion =30; |
|
|
35 |
GlenohumeralAbduction = 10; |
|
|
36 |
GlenohumeralExternalRotation = 0; |
|
|
37 |
|
|
|
38 |
ElbowFlexion = 30; |
|
|
39 |
ElbowPronation = -20.0; |
|
|
40 |
|
|
|
41 |
WristFlexion =0; |
|
|
42 |
WristAbduction =0; |
|
|
43 |
|
|
|
44 |
//Leg |
|
|
45 |
HipFlexion = 0.0; |
|
|
46 |
HipAbduction = 5.0; |
|
|
47 |
HipExternalRotation = 0.0; |
|
|
48 |
|
|
|
49 |
KneeFlexion = 0.0; |
|
|
50 |
|
|
|
51 |
AnklePlantarFlexion =0.0; |
|
|
52 |
SubTalarEversion =0.0; |
|
|
53 |
|
|
|
54 |
//Detail Hand |
|
|
55 |
Finger1 ={ |
|
|
56 |
CMCDeviation=-20; |
|
|
57 |
CMCFlexion=20; |
|
|
58 |
MCPFlexion= 20; |
|
|
59 |
MCPDeviation=0; |
|
|
60 |
DIPFlexion=20; |
|
|
61 |
}; |
|
|
62 |
|
|
|
63 |
Finger2 ={ |
|
|
64 |
MCPFlexion=20; |
|
|
65 |
PIPFlexion=20; |
|
|
66 |
DIPFlexion=20; |
|
|
67 |
}; |
|
|
68 |
|
|
|
69 |
Finger3 ={ |
|
|
70 |
MCPFlexion=20; |
|
|
71 |
PIPFlexion=20; |
|
|
72 |
DIPFlexion=20; |
|
|
73 |
}; |
|
|
74 |
|
|
|
75 |
Finger4 ={ |
|
|
76 |
MCPFlexion=20; |
|
|
77 |
PIPFlexion=20; |
|
|
78 |
DIPFlexion=20; |
|
|
79 |
}; |
|
|
80 |
|
|
|
81 |
Finger5 ={ |
|
|
82 |
MCPFlexion=20; |
|
|
83 |
PIPFlexion=20; |
|
|
84 |
DIPFlexion=20; |
|
|
85 |
}; |
|
|
86 |
}; |
|
|
87 |
|
|
|
88 |
Left = { |
|
|
89 |
//all values are set to be equal to the right side values |
|
|
90 |
//feel free to change this! |
|
|
91 |
|
|
|
92 |
//Arm |
|
|
93 |
SternoClavicularProtraction=.Right.SternoClavicularProtraction; |
|
|
94 |
SternoClavicularElevation=.Right.SternoClavicularElevation; |
|
|
95 |
SternoClavicularAxialRotation=.Right.SternoClavicularAxialRotation; |
|
|
96 |
|
|
|
97 |
GlenohumeralFlexion = .Right.GlenohumeralFlexion ; |
|
|
98 |
GlenohumeralAbduction =.Right.GlenohumeralAbduction ; |
|
|
99 |
GlenohumeralExternalRotation =.Right.GlenohumeralExternalRotation ; |
|
|
100 |
|
|
|
101 |
ElbowFlexion = .Right.ElbowFlexion; |
|
|
102 |
ElbowPronation = .Right.ElbowPronation; |
|
|
103 |
|
|
|
104 |
WristFlexion =.Right.WristFlexion; |
|
|
105 |
WristAbduction =.Right.WristAbduction; |
|
|
106 |
|
|
|
107 |
//Leg |
|
|
108 |
HipFlexion =.Right.HipFlexion; |
|
|
109 |
HipAbduction =.Right.HipAbduction; |
|
|
110 |
HipExternalRotation = .Right.HipExternalRotation; |
|
|
111 |
|
|
|
112 |
KneeFlexion = .Right.KneeFlexion; |
|
|
113 |
|
|
|
114 |
AnklePlantarFlexion = .Right.AnklePlantarFlexion ; |
|
|
115 |
SubTalarEversion =.Right.SubTalarEversion; |
|
|
116 |
|
|
|
117 |
//Detail Hand |
|
|
118 |
Finger1 ={ |
|
|
119 |
CMCDeviation= ..Right.Finger1.CMCDeviation; |
|
|
120 |
CMCFlexion= ..Right.Finger1.CMCFlexion; |
|
|
121 |
MCPFlexion= ..Right.Finger1.MCPFlexion; |
|
|
122 |
MCPDeviation= ..Right.Finger1.MCPDeviation; |
|
|
123 |
DIPFlexion= ..Right.Finger1.DIPFlexion; |
|
|
124 |
}; |
|
|
125 |
|
|
|
126 |
Finger2 ={ |
|
|
127 |
MCPFlexion= ..Right.Finger2.MCPFlexion; |
|
|
128 |
PIPFlexion= ..Right.Finger2.PIPFlexion; |
|
|
129 |
DIPFlexion= ..Right.Finger2.DIPFlexion; |
|
|
130 |
}; |
|
|
131 |
|
|
|
132 |
Finger3 ={ |
|
|
133 |
MCPFlexion= ..Right.Finger3.MCPFlexion; |
|
|
134 |
PIPFlexion= ..Right.Finger3.PIPFlexion; |
|
|
135 |
DIPFlexion= ..Right.Finger3.DIPFlexion; |
|
|
136 |
}; |
|
|
137 |
|
|
|
138 |
Finger4 ={ |
|
|
139 |
MCPFlexion= ..Right.Finger4.MCPFlexion; |
|
|
140 |
PIPFlexion= ..Right.Finger4.PIPFlexion; |
|
|
141 |
DIPFlexion= ..Right.Finger4.DIPFlexion; |
|
|
142 |
}; |
|
|
143 |
|
|
|
144 |
Finger5 ={ |
|
|
145 |
MCPFlexion= ..Right.Finger5.MCPFlexion; |
|
|
146 |
PIPFlexion= ..Right.Finger5.PIPFlexion; |
|
|
147 |
DIPFlexion= ..Right.Finger5.DIPFlexion; |
|
|
148 |
}; |
|
|
149 |
}; |
|
|
150 |
}; |
|
|
151 |
|
|
|
152 |
}; |
|
|
153 |
|
|
|
154 |
|
|
|
155 |
|