a b/Tests/Symmetry/DynamicTest/Model/JointsAndDrivers.any
1
/* ----------------------------------------------------------------
2
Drivers for the model:
3
4
-The pelvis is locked to the ground 
5
-The remaining degrees of freedom are controlled by parameters in the mannequin.any file.
6
-This file is a good way to get an overview of the dof in the full body model
7
 all the dof in the body model is driven from this file.
8
-In total 
9
10
Soeren, March 1, 2006.
11
----------------------------------------------------------------  */
12
13
AnyFolder Drivers = {
14
15
  #include "<ANYBODY_PATH_BODY>/BodyModels/include/MannequinDrivers.any"
16
17
  // Aliases for convenient referencing
18
  AnyFolder &JntPos=..Mannequin.Posture;  
19
  AnyFolder &JntVel=..Mannequin.PostureVel;  
20
  
21
  AnyFolder &RefHM = Main.Model.HumanModel;
22
   
23
//  AnyFolder &Thorax = .HumanModel.Trunk.SegmentsThorax.ThoraxSeg;
24
//  AnyFolder &ref=.HumanModel.Trunk;
25
  
26
  
27
  // The body parts are included only if there is no unhallowed combination detected
28
  #ifdef UNHALLOWED_COMBINATION
29
  #else
30
  
31
  #include "TrunkDrivers.any"
32
  
33
  #if RIGHT_ARM == 1
34
  #include "RightArmDrivers.any"
35
    #if RIGHT_DETAILLED_HAND == 1
36
    #include "RightHandDrivers.any"
37
    #endif
38
  #else
39
  #endif
40
  
41
  
42
  #if LEFT_ARM == 1
43
  #include "LeftArmDrivers.any"
44
    #if LEFT_DETAILLED_HAND == 1
45
    #include "LeftHandDrivers.any"
46
    #endif
47
  #else
48
  #endif
49
  
50
  
51
  #if RIGHT_LEG == 1
52
  #include "RightLegDrivers.any"
53
  #else
54
  #endif
55
  
56
  
57
  #if LEFT_LEG == 1
58
  #include "LeftLegDrivers.any"
59
  #else
60
  #endif
61
  
62
  
63
  #if RIGHT_LEG_TD == 1
64
  #include "RightLegTDDrivers.any"
65
  #else
66
  #endif
67
  
68
  
69
  #if LEFT_LEG_TD == 1
70
  #include "LeftLegTDDrivers.any"
71
  #else
72
  #endif
73
  
74
  #endif
75
};//Drivers