Switch to unified view

a b/Tests/Symmetry/test_ArmDynamicSymmetryCheck.Main.any
1
//fatal_warnings = [
2
//    "Penetration of surface",
3
//    "Number of allowed iterations for contact solution has been exceeded",
4
//]
5
//save_study= "Main.Study"
6
7
#define ANYBODY_PATH_OUTPUT "."
8
9
10
#include "libdef.any"
11
12
// ----------------------------------------------------------
13
// Model configuration:
14
// For more info on body model configuration options please load the model and double click on: 
15
// #path HTML_DOC "<AMMR_PATH_DOC>/bm_config/index.html"
16
// ----------------------------------------------------------
17
18
#define BM_LEG_RIGHT OFF
19
#define BM_LEG_LEFT OFF
20
21
#define BM_ARM_DELTOID_WRAPPING ON
22
23
24
#define BM_SCALING _SCALING_LENGTHMASSFAT_
25
26
27
// Use interpolation drivers to define motion
28
#define DriverSelection "FreePostureMove"
29
30
// actual model  
31
#include "DynamicTest/FreePostureFullBodyStatic.Main.any" 
32
Main = {
33
  
34
  Main.HumanModel.Anthropometrics.SegmentDimensions.Right.UpperArmLength = 0.35;
35
  Main.HumanModel.Anthropometrics.SegmentDimensions.Right.LowerArmLength = 0.35;
36
  Main.HumanModel.Anthropometrics.SegmentDimensions.Right.HandLength = 0.15;
37
//  Main.HumanModel.Anthropometrics.SegmentDimensions.Right.HandBreadth = 0.15;
38
  
39
  Main.HumanModel.Anthropometrics.SegmentDimensions.Left.UpperArmLength = 0.35;
40
  Main.HumanModel.Anthropometrics.SegmentDimensions.Left.LowerArmLength = 0.35;
41
  Main.HumanModel.Anthropometrics.SegmentDimensions.Left.HandLength = 0.15;
42
//  Main.HumanModel.Anthropometrics.SegmentDimensions.Left.HandBreadth = 0.15;
43
  
44
45
  Main.Study ={
46
    
47
    AnyInt test1= expect(ltfun(Main.Study.SymmetryCheck.Arm.Muscle.Comparison.MaxFtDif,3.5e-5),
48
    "Arm model symmetry");
49
50
  };
51
  
52
  
53
  AnyOperation& RunTest = Main.RunApplication;
54
};
55