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

Download this file

49 lines (43 with data), 1.4 kB

//This is the definition of the strength of the grip force of the hand
//The current strength is a guesstimate
MuscleModels={
  AnyVar HandGloveMomentStrength= 30; //Guesstimate!
};

Mus={
  AnyRecruitedActuator RotMuscleZ_1={
    AnyKinMeasure& ref=..Jnt.HandGloveRotZ;
    Strength = ..MuscleModels.HandGloveMomentStrength;
    Type = NonNegative;
    SET_DEFAULT_ACTUATOR_VOLUME;
  };
  AnyRecruitedActuator RotMuscleZ_2={
    AnyKinMeasure& ref=..Jnt.HandGloveRotZ;
    Strength = ..MuscleModels.HandGloveMomentStrength;
    Type = NonPositive;
    SET_DEFAULT_ACTUATOR_VOLUME;
  };
  
  AnyRecruitedActuator RotMuscleY_1={
    AnyKinMeasure& ref=..Jnt.HandGloveRotY;
    Strength = ..MuscleModels.HandGloveMomentStrength;
    Type = NonNegative;
    SET_DEFAULT_ACTUATOR_VOLUME;
  };
  AnyRecruitedActuator RotMuscleY_2={
    AnyKinMeasure& ref=..Jnt.HandGloveRotY;
    Strength = ..MuscleModels.HandGloveMomentStrength;
    Type = NonPositive;
    SET_DEFAULT_ACTUATOR_VOLUME;
  };  

  AnyRecruitedActuator RotMuscleX_1={
    AnyKinMeasure& ref=..Jnt.HandGloveRotX;
    Strength = ..MuscleModels.HandGloveMomentStrength;
    Type = NonNegative;
    SET_DEFAULT_ACTUATOR_VOLUME;
  };
  AnyRecruitedActuator RotMuscleX_2={
    AnyKinMeasure& ref=..Jnt.HandGloveRotX;
    Strength = ..MuscleModels.HandGloveMomentStrength;
    Type = NonPositive;
    SET_DEFAULT_ACTUATOR_VOLUME;
  };

  
};