|
a |
|
b/Tests/Symmetry/test_TrunkDynamicSymmetryCheck.Main.any |
|
|
1 |
//save_study= "Main.Study" |
|
|
2 |
|
|
|
3 |
#define ANYBODY_PATH_OUTPUT "." |
|
|
4 |
|
|
|
5 |
|
|
|
6 |
#include "libdef.any" |
|
|
7 |
|
|
|
8 |
// ---------------------------------------------------------- |
|
|
9 |
// Model configuration: |
|
|
10 |
// For more info on body model configuration options please load the model and double click on: |
|
|
11 |
// #path HTML_DOC "<AMMR_PATH_DOC>/bm_config/index.html" |
|
|
12 |
// ---------------------------------------------------------- |
|
|
13 |
|
|
|
14 |
#define BM_ARM_RIGHT OFF |
|
|
15 |
#define BM_ARM_LEFT OFF |
|
|
16 |
#define BM_LEG_RIGHT OFF |
|
|
17 |
#define BM_LEG_LEFT OFF |
|
|
18 |
|
|
|
19 |
|
|
|
20 |
#define BM_SCALING _SCALING_LENGTHMASSFAT_ |
|
|
21 |
|
|
|
22 |
// Use interpolation drivers to define motion |
|
|
23 |
#define DriverSelection "FreePostureMove" |
|
|
24 |
|
|
|
25 |
// actual model |
|
|
26 |
#include "DynamicTest/FreePostureFullBodyStatic.Main.any" |
|
|
27 |
Main = { |
|
|
28 |
|
|
|
29 |
Main.HumanModel.Anthropometrics.SegmentDimensions.HeadHeight = 0.14; |
|
|
30 |
Main.HumanModel.Anthropometrics.SegmentDimensions.TrunkHeight = 0.54; |
|
|
31 |
Main.HumanModel.Anthropometrics.SegmentDimensions.PelvisWidth = 0.16; |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
Main.Study ={ |
|
|
35 |
|
|
|
36 |
AnyInt test1= assert(ltfun(Main.Study.SymmetryCheck.Trunk.MuscleLumbar.Comparison.MaxFtDif, 1e-12), |
|
|
37 |
"Trunk lumbar model symmetry"); |
|
|
38 |
}; |
|
|
39 |
|
|
|
40 |
|
|
|
41 |
AnyOperation& RunTest = Main.RunApplication; |
|
|
42 |
}; |
|
|
43 |
|