#define ANYBODY_PATH_OUTPUT "." #include "libdef.any" // ---------------------------------------------------------- // Model configuration: // For more info on body model configuration options please load the model and double click on: // #path HTML_DOC "<AMMR_PATH_DOC>/bm_config/index.html" // ---------------------------------------------------------- #define BM_LEG_RIGHT OFF #define BM_LEG_LEFT OFF #define BM_SCALING _SCALING_LENGTHMASSFAT_ #define BM_TRUNK_LUMBAR_MUSCLES OFF #define BM_TRUNK_CERVICAL_MUSCLES ON // Use interpolation drivers to define motion #define DriverSelection "FreePostureMove" // actual model #include "DynamicTest/FreePostureFullBodyStatic.Main.any" Main = { Main.HumanModel.Anthropometrics.SegmentDimensions.HeadHeight = 0.13; Main.HumanModel.Anthropometrics.SegmentDimensions.TrunkHeight = 0.58; Main.HumanModel.Anthropometrics.SegmentDimensions.PelvisWidth = 0.18; Main.HumanModel.Anthropometrics.SegmentDimensions.Right.UpperArmLength = 0.35; Main.HumanModel.Anthropometrics.SegmentDimensions.Right.LowerArmLength = 0.35; Main.HumanModel.Anthropometrics.SegmentDimensions.Right.HandLength = 0.15; Main.HumanModel.Anthropometrics.SegmentDimensions.Right.HandBreadth = 0.15; Main.HumanModel.Anthropometrics.SegmentDimensions.Left.UpperArmLength = 0.35; Main.HumanModel.Anthropometrics.SegmentDimensions.Left.LowerArmLength = 0.35; Main.HumanModel.Anthropometrics.SegmentDimensions.Left.HandLength = 0.15; Main.HumanModel.Anthropometrics.SegmentDimensions.Left.HandBreadth = 0.15; Main.Study ={ AnyInt test1= assert(ltfun(Main.Study.SymmetryCheck.Trunk.MuscleCervical.Comparison.MaxFtDif,0.2), "Trunk model symmetry"); AnyInt test2= assert(ltfun(Main.Study.SymmetryCheck.Arm.Muscle.Comparison.MaxFtDif,0.2), "Arm model symmetry"); }; AnyOperation& RunTest = Main.RunApplication; };