-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLabSpecificData.any
64 lines (47 loc) · 2.23 KB
/
LabSpecificData.any
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Main.ModelSetup.LabSpecificData = {
// Include file with links to all the changes
#include "SupportingFiles/AddOns.any"
#path BODY_MODEL_CONFIG_FILE "BodyModelConfig.any"
#path MOCAP_MARKER_PROTOCOL_FILE "MarkerProtocolExo.any"
#path MOCAP_EXTRA_DRIVERS_FILE "ExtraDrivers.any"
// The switch MOCAP_C3D_DATA_PATH can be used to specify the directory
// where the C3D file is stored. Defaults to the main file directory.
#path MOCAP_C3D_DATA_PATH "c3d_files"
#path MOCAP_C3DSETTINGS "C3DSettings.any"
#path MOCAP_FORCE_PLATE_FILE "ForcePlates.any"
// Controls where the Human-Ground residuals (hand of god) are applied
// to the models. Choises are "Trunk" or "Pelvis".
#define MOCAP_HUMAN_GROUND_RESIDUALS "Pelvis"
// The low-pass filter cut-off frequencies are relatively low here. This is
// to compensate for the noise in the recording.
// A low cut-off frequency is possible since this is a slow excersize.
// For other activities use higher values and check that the filter
// does not alter the actual signal. (Suitable values for normal gait are 5/10).
LowPassFilterSettings.MarkerFilterCutOffFrequency = 3;
LowPassFilterSettings.ForceFilterCutOffFrequency = 7;
// Disable the upper bound for muscle recruitment. This improves the stability of the model by
// preventing the solver from changing if the some muscles becomes over loaded.
Main.Studies.InverseDynamicStudy.InverseDynamics.Criterion.UpperBoundOnOff = Off;
Gravity = -9.81*{0,0,1};
// This adds different segment length as design variables to
// to the parameter identification study (Main.Studies.ParameterIdentification)
// This allows the segment length to be optimized in based on the markers/motion
OptimizeAnthropometricsOnOff OptimizeAntropometricsOnOff (
PELVIS_WIDTH = OFF ,
HEAD_HEIGHT = OFF,
TRUNK_HEIGHT= ON,
RIGHT_THIGH_LENGTH= OFF,
LEFT_THIGH_LENGTH = OFF,
RIGHT_SHANK_LENGTH= OFF,
LEFT_SHANK_LENGTH = OFF,
RIGHT_FOOT_LENGTH= OFF,
LEFT_FOOT_LENGTH = OFF,
RIGHT_UPPERARM_LENGTH= OFF,
LEFT_UPPERARM_LENGTH = OFF,
RIGHT_LOWERARM_LENGTH= OFF,
LEFT_LOWERARM_LENGTH = OFF,
RIGHT_HAND_LENGTH= OFF,
LEFT_HAND_LENGTH = OFF,
LEFT_RIGHT_SYMMETRY = ON
) ={};
};