Switch to unified view

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