a b/Application/Examples/StandingModel/Model/RightFootDrivers.any
1
2
3
4
AnyKinMotion HeelFloorContraintRight = 
5
{
6
   AnyFunConst Data = { Value = {-0.028, 0, 0.14}; };
7
  
8
   AnyKinLinear HeelPos = 
9
   {
10
       AnyRefFrame &FloorRef = ....Environment.GlobalRef.FloorOffset;
11
       #if BM_LEG_MODEL == _LEG_MODEL_LEG_
12
          AnyRefFrame &HeelRef = ....BodyModel.Right.Leg.Seg.Foot.HeelJoint;
13
       #else
14
          AnyRefFrame &HeelRef = ....BodyModel.Right.Leg.Seg.Foot.HeelContactNodeLow;
15
       #endif
16
   };
17
}; 
18
19
20
// Place the on the ground
21
AnyKinMotion ToeFloorContraintRight =
22
{
23
  AnyFunConst Data = { Value = {0.0}; };
24
  
25
  AnyKinLinear ToePos = 
26
  {
27
    AnyRefFrame &Ground = ....Environment.GlobalRef.FloorOffset;
28
    AnyRefFrame &Ball = ....BodyModel.Right.Leg.Seg.Foot.BigToeNode;
29
  };
30
  MeasureOrganizer = {1}; // Only y direction
31
};
32
33