OptimizeAnthropometricsOnOff

OptimizeAnthropometricsOnOff#

Class template for making design variables and optimizing the anthropometric of the model. I.e. adding different segment length to the parameter identification study.

Listing 4 Include this file this file to use#
#include "<AMMR_TOOLS>\AnyMocap/OptimizeAnthropometricsOnOff.any"`

#OptimizeAnthropometricsOnOff#

Creates design variables based on anthropometrics of the model and adds them to the parameter identification study.

In the example below the rhythm constrains two DOFs of the arm to move in a 1:4 ratio.

Example

OptimizeAnthropometricsOnOff OptAnthropometrics (
  PELVIS_WIDTH = ON , 
  HEAD_HEIGHT = OFF, 
  TRUNK_HEIGHT= ON, 
) ={};

Full signature

OptimizeAnthropometricsOnOff <ObjectName>(
  PELVIS_WIDTH=0,
  PELVIS_HEIGHT=0,
  PELVIS_DEPTH=0,
  HEAD_HEIGHT=0,
  HEAD_WIDTH=0,
  HEAD_DEPTH=0,
  TRUNK_HEIGHT=0,
  TRUNK_WIDTH=0,
  TRUNK_DEPTH=0,
  NECK_LENGTH=0,
  RIGHT_THIGH_LENGTH=0,
  LEFT_THIGH_LENGTH=0,
  RIGHT_SHANK_LENGTH=0,
  LEFT_SHANK_LENGTH=0,
  RIGHT_FOOT_LENGTH=0,
  LEFT_FOOT_LENGTH=0,
  RIGHT_UPPERARM_LENGTH=0,
  LEFT_UPPERARM_LENGTH=0,
  RIGHT_LOWERARM_LENGTH=0,
  LEFT_LOWERARM_LENGTH=0,
  RIGHT_HAND_LENGTH=0,
  LEFT_HAND_LENGTH=0,
  RIGHT_HAND_BREADTH=0,
  LEFT_HAND_BREADTH=0,
  RIGHT_VARUS_VALGUS=0,
  LEFT_VARUS_VALGUS=0,
  RIGHT_TIBIAL_TORSION=0,
  LEFT_TIBIAL_TORSION=0,
  LEFT_RIGHT_SYMMETRY=0,
  PARAMETER_OPT_STUDY=Main.Studies.ParameterIdentification,
  SEGMENTS_LENGTHS=Main.HumanModel.Anthropometrics.SegmentDimensions,
  HUMAN_MODEL_FOLDER=Main.HumanModel,
  CREATE_ALL_DESVARS=0,
) = {};

Arguments

__CLASS__:

AnyFolder

PELVIS_WIDTH:

If set to ON, the pelvis width is added as a design variable to the parameter identification study. (Default: 0)

PELVIS_HEIGHT:

If set to ON, the pelvis height is added as a design variable to the parameter identification study. (Default: 0)

PELVIS_DEPTH:

If set to ON, the pelvis depth is added as a design variable to the parameter identification study. (Default: 0)

HEAD_HEIGHT:

If set to ON, the head height is added as a design variable to the parameter identification study. (Default: 0)

HEAD_WIDTH:

If set to ON, the head width is added as a design variable to the parameter identification study. (Default: 0)

HEAD_DEPTH:

If set to ON, the head depth is added as a design variable to the parameter identification study. (Default: 0)

TRUNK_HEIGHT:

If set to ON, the trunk height is added as a design variable to the parameter identification study. (Default: 0)

TRUNK_WIDTH:

If set to ON, the trunk width is added as a design variable to the parameter identification study. (Default: 0)

TRUNK_DEPTH:

If set to ON, the trunk depth is added as a design variable to the parameter identification study. (Default: 0)

NECK_LENGTH:

If set to ON, the neck length is added as a design variable to the parameter identification study. (Default: 0)

RIGHT_THIGH_LENGTH:

If set to ON, the right thigh length is added as a design variable to the parameter identification study. (Default: 0)

LEFT_THIGH_LENGTH:

If set to ON, the left thigh length is added as a design variable to the parameter identification study. (Default: 0)

RIGHT_SHANK_LENGTH:

If set to ON, the right shank length is added as a design variable to the parameter identification study. (Default: 0)

LEFT_SHANK_LENGTH:

If set to ON, the left shank length is added as a design variable to the parameter identification study. (Default: 0)

RIGHT_FOOT_LENGTH:

If set to ON, the right foot length is added as a design variable to the parameter identification study. (Default: 0)

LEFT_FOOT_LENGTH:

If set to ON, the left foot length is added as a design variable to the parameter identification study. (Default: 0)

RIGHT_UPPERARM_LENGTH:

If set to ON, the right upper arm length is added as a design variable to the parameter identification study. (Default: 0)

LEFT_UPPERARM_LENGTH:

If set to ON, the left upper arm length is added as a design variable to the parameter identification study. (Default: 0)

RIGHT_LOWERARM_LENGTH:

If set to ON, the right lower arm length is added as a design variable to the parameter identification study. (Default: 0)

LEFT_LOWERARM_LENGTH:

If set to ON, the left lower arm length is added as a design variable to the parameter identification study. (Default: 0)

RIGHT_HAND_LENGTH:

If set to ON, the right hand length is added as a design variable to the parameter identification study. (Default: 0)

LEFT_HAND_LENGTH:

If set to ON, the left hand length is added as a design variable to the parameter identification study. (Default: 0)

RIGHT_HAND_BREADTH:

If set to ON, the right hand breadth is added as a design variable to the parameter identification study. (Default: 0)

LEFT_HAND_BREADTH:

If set to ON, the left hand breadth is added as a design variable to the parameter identification study. (Default: 0)

RIGHT_VARUS_VALGUS:

If set to ON, the right varus valgus is added as a design variable to the parameter identification study. (Default: 0)

LEFT_VARUS_VALGUS:

If set to ON, the left varus valgus is added as a design variable to the parameter identification study. (Default: 0)

RIGHT_TIBIAL_TORSION:

If set to ON, the right tibial torsion is added as a design variable to the parameter identification study. (Default: 0)

LEFT_TIBIAL_TORSION:

If set to ON, the left tibial torsion is added as a design variable to the parameter identification study. (Default: 0)

LEFT_RIGHT_SYMMETRY:

If set to On, constraints are added to the parameter identification study to ensure that the left and right side of the body are symmetric. (Default: 0)

PARAMETER_OPT_STUDY:

The name of the parameter identification study. Can be used in advanced cases with multiple parameter identification studies. (Default: Main.Studies.ParameterIdentification)

SEGMENTS_LENGTHS:

The name of the folder containing the segment lengths. Can be used in advanced cases with multiple Human Models. (Default: Main.HumanModel.Anthropometrics.SegmentDimensions)

HUMAN_MODEL_FOLDER:

The name of the folder containing the Human Model. Can be used in advanced cases with multiple Human Models. (Default: Main.HumanModel)

CREATE_ALL_DESVARS:

If set to ON, all the desvars are created. Design vars are still only added to the parameter identification study if the corresponding arguments are set to ON. (Default: 0)