[38ba34]: / Body / AAUHuman / Arm / JointMuscles.any

Download this file

210 lines (164 with data), 7.0 kB

/** This folder is used when there is no real muscles in the model
it adds artificial muscles to all the joints in this body part
Please remark that the strength of these muscles are all set to the same value
*/
AnyFolder JointMuscles={
  AnyVar LinStrength =5000; // N  This is the strenght of the apllied muscles
  AnyVar RotStrength =100; // Nm  This is the strenght of the apllied muscles
  
  
  
  //This table gives the constant joint moment strength for each dof and direction   
  AnyFolder JointStrength={
    
    
    AnyVar SternoClavicularProtraction =200;
    AnyVar SternoClavicularRetraction =200;
    
    AnyVar SternoClavicularElevation =200;
    AnyVar SternoClavicularDepression =200;
    
    AnyVar SternoClavicularForwardAxialRotation =200;
    AnyVar SternoClavicularBackwardAxialRotation =200;
    
    
    AnyVar GlenohumeralFlexion = 200;
    AnyVar GlenohumeralExtension = 200;
    
    AnyVar GlenohumeralExternalRotation = 33; //chaffin  
    AnyVar GlenohumeralInternalRotation = 52; //chaffin
    
    AnyVar GlenohumeralAbduction = 67; //chaffin ok
    AnyVar GlenohumeralAdduction = 71; //chaffin ok
    
    
    AnyVar ElbowFlexion =77;// chaffin ok
    AnyVar ElbowExtension =46;//chaffin ok
    
    AnyVar ElbowPronation= 200;
    AnyVar ElbowSupination=200;
    
    
    AnyVar WristFlexion =200;
    AnyVar WristExtension =200;
    
    AnyVar WristAbduction =200;
    AnyVar WristAdduction =200;
    
  };  
  
  

  AnyFolder SCJnt={
    AnyFolder SternoClavicularProtraction ={
      AnyKinMeasure& DOF = ...InterfaceFolder.SternoClavicularProtraction;
      AnyFolder dof0={
        AnyVector Strength={...JointStrength.SternoClavicularProtraction,...JointStrength.SternoClavicularRetraction}; 
        AnyInt dof= 0; 
        #include "<ANYBODY_PATH_MODELUTILS>/Diagnostics/DiagnosticMuscle2.any"  
      };
    };
    AnyFolder SternoClavicularElevation ={
      AnyKinMeasure& DOF = ...InterfaceFolder.SternoClavicularElevation;
      AnyFolder dof0={
        AnyVector Strength={...JointStrength.SternoClavicularElevation,...JointStrength.SternoClavicularDepression}; 
        AnyInt dof= 0; 
        #include "<ANYBODY_PATH_MODELUTILS>/Diagnostics/DiagnosticMuscle2.any"  
      };
    };
    AnyFolder SternoClavicularAxialRotaion ={
      AnyKinMeasure& DOF = ...InterfaceFolder.SternoClavicularAxialRotation;
      AnyFolder dof0={
        AnyVector Strength={...JointStrength.SternoClavicularForwardAxialRotation,...JointStrength.SternoClavicularBackwardAxialRotation}; 
        AnyInt dof= 0; 
        #include "<ANYBODY_PATH_MODELUTILS>/Diagnostics/DiagnosticMuscle2.any"  
      };
    };
  };
  
  
  AnyFolder GHJnt={
    AnyFolder GlenohumeralFlexion={
      AnyKinMeasure& DOF = ...InterfaceFolder.GlenohumeralFlexionJntMus;
      AnyFolder dof0={
        AnyVector Strength={...JointStrength.GlenohumeralFlexion,...JointStrength.GlenohumeralExtension}; 
        AnyInt dof= 0; 
        #include "<ANYBODY_PATH_MODELUTILS>/Diagnostics/DiagnosticMuscle2.any"  
      };
    };
    AnyFolder GlenohumeralExternalRotation={
      AnyKinMeasure& DOF = ...InterfaceFolder.GlenohumeralExternalRotationJntMus;
      AnyFolder dof0={
        AnyVector Strength={...JointStrength.GlenohumeralExternalRotation,...JointStrength.GlenohumeralInternalRotation}; 
        AnyInt dof= 0; 
        #include "<ANYBODY_PATH_MODELUTILS>/Diagnostics/DiagnosticMuscle2.any"  
      };
    };
    AnyFolder GlenohumeralAbduction={
      AnyKinMeasure& DOF = ...InterfaceFolder.GlenohumeralAbductionJntMus;
      AnyFolder dof0={
        AnyVector Strength={...JointStrength.GlenohumeralAbduction,...JointStrength.GlenohumeralAdduction}; 
        AnyInt dof= 0; 
        #include "<ANYBODY_PATH_MODELUTILS>/Diagnostics/DiagnosticMuscle2.any"  
      };
    };    
  };
  
  AnyFolder FEJnt={
    AnyFolder ElbowFlexion={
      AnyKinMeasure& DOF = ...InterfaceFolder.ElbowFlexion;
      AnyFolder dof0={
        AnyVector Strength={...JointStrength.ElbowFlexion,...JointStrength.ElbowExtension}; 
        AnyInt dof= 0; 
        #include "<ANYBODY_PATH_MODELUTILS>/Diagnostics/DiagnosticMuscle2.any"  
      };
    };
     AnyFolder ElbowPronation={
      AnyKinMeasure& DOF = ...InterfaceFolder.ElbowPronation;
      AnyFolder dof0={
        AnyVector Strength={...JointStrength.ElbowPronation,...JointStrength.ElbowSupination}; 
        AnyInt dof= 0; 
        #include "<ANYBODY_PATH_MODELUTILS>/Diagnostics/DiagnosticMuscle2.any"  
      };
    };
  
  };
  
  AnyFolder WristJnt={
    AnyFolder WristFlexion={
      AnyKinMeasure& DOF = ...InterfaceFolder.WristFlexion;
      AnyFolder dof0={
        AnyVector Strength={...JointStrength.WristFlexion,...JointStrength.WristExtension}; 
        AnyInt dof= 0; 
        #include "<ANYBODY_PATH_MODELUTILS>/Diagnostics/DiagnosticMuscle2.any"  
      };
    };
    AnyFolder WristAbduction={
      AnyKinMeasure& DOF = ...InterfaceFolder.WristAbduction;
      AnyFolder dof0={
        AnyVector Strength={...JointStrength.WristAbduction,...JointStrength.WristAdduction}; 
        AnyInt dof= 0; 
        #include "<ANYBODY_PATH_MODELUTILS>/Diagnostics/DiagnosticMuscle2.any"  
      };
    };
  };
 
  
  #if !((BM_ARM_RIGHT & BM_ARM_DETAILED_HAND) | (BM_ARM_LEFT & BM_ARM_DETAILED_HAND))
  
  AnyFolder HandGloveDiagnosticMuscles={
    AnyKinRotational &DOF = ..Jnt.HandGloveRot;
    AnyFolder dof0={
      AnyVar Strength=..RotStrength; 
      AnyInt dof= 0; 
      #include "<ANYBODY_PATH_MODELUTILS>/Diagnostics/DiagnosticMuscle.any"  
    };
    AnyFolder dof1={
      AnyVar Strength=..RotStrength; 
      AnyInt dof= 1; 
      #include "<ANYBODY_PATH_MODELUTILS>/Diagnostics/DiagnosticMuscle.any"  
    };    
    AnyFolder dof2={
      AnyVar Strength=..RotStrength; 
      AnyInt dof= 2; 
      #include "<ANYBODY_PATH_MODELUTILS>/Diagnostics/DiagnosticMuscle.any"  
    };  
  };  
  
  #endif
  
  
  AnyFolder ScapulaAIDiagnosticMuscles={
      AnyKinMeasure& DOF = ..Jnt.ScapulaAIThoraxNodeDriver.Measure1; 
      AnyFolder dof0={
      AnyInt dof= 0; 
      AnyVar Strength=..LinStrength; 
      #include "<ANYBODY_PATH_MODELUTILS>/Diagnostics/DiagnosticMuscle.any"  
    };    
  };   
  
  
  AnyFolder ScapulaTSDiagnosticMuscles={
    AnyKinMeasure& DOF = ..Jnt.ScapulaTSThoraxMeasure;
    AnyFolder dof0={
      AnyInt dof= 0; 
      AnyVar Strength=..LinStrength; 
      #include "<ANYBODY_PATH_MODELUTILS>/Diagnostics/DiagnosticMuscle.any"  
    };    
  };     
  
  
  AnyFolder ConoideumDiagnosticMuscles={
    AnyKinPLine &DOF = ..Jnt.ConoideumLigament;
    AnyFolder dof0={
      AnyVar Strength=..LinStrength; 
      AnyInt dof= 0; 
      #include "<ANYBODY_PATH_MODELUTILS>/Diagnostics/DiagnosticMuscle.any"  
    };    
  };     
  

  
  
  
  
  //  
  
  
};//JointMuscles