a b/Application/Examples/FreePosture/Model/JointsAndDriversInterpolation.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
 
20
  AnyFolder &RefHM = Main.Model.BodyModel;
21
   
22
 
23
  // The body parts are included only if there is no unhallowed combination detected
24
  #ifdef UNHALLOWED_COMBINATION
25
  #else
26
  
27
  #include "InterpolationDrivers/TrunkDrivers.any"
28
  
29
  #if BM_ARM_RIGHT == 1
30
  #include "InterpolationDrivers/RightArmDrivers.any"
31
    #if BM_ARM_DETAILED_HAND == ON
32
    #include "InterpolationDrivers/RightHandDrivers.any"
33
    #endif
34
  #else
35
  #endif
36
  
37
  
38
  #if BM_ARM_LEFT == 1
39
  #include "InterpolationDrivers/LeftArmDrivers.any"
40
    #if BM_ARM_DETAILED_HAND == ON
41
    #include "InterpolationDrivers/LeftHandDrivers.any"
42
    #endif
43
  #else
44
  #endif
45
  
46
  
47
  #if BM_LEG_RIGHT & (BM_LEG_MODEL == _LEG_MODEL_LEG_)
48
  #include "InterpolationDrivers/RightLegDrivers.any"
49
  #else
50
  #endif
51
  
52
  
53
  #if BM_LEG_LEFT & (BM_LEG_MODEL == _LEG_MODEL_LEG_)
54
  #include "InterpolationDrivers/LeftLegDrivers.any"
55
  #else
56
  #endif
57
  
58
  
59
  #if BM_LEG_RIGHT  & BM_LEG_MODEL_IS_TLEM
60
  #include "InterpolationDrivers/RightLegTDDrivers.any"
61
  #else
62
  #endif
63
  
64
  
65
  #if BM_LEG_LEFT  & BM_LEG_MODEL_IS_TLEM
66
  #include "InterpolationDrivers/LeftLegTDDrivers.any"
67
  #else
68
  #endif
69
  
70
  #endif
71
};//Drivers