-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathExtraDrivers.any
51 lines (40 loc) · 2.44 KB
/
ExtraDrivers.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
// This file contains a set of auxillary drivers. They are usefull/necessary
// in some cases where the marker protocol doesn't provide enough information
// to specify all degrees of freedom. Hence, these drivers complement a
// specific driver protocol. Many of these drivers are soft, and an only serve
// to stabalize the solver in postures where the markers doesn't provide unique
// kinematic solution.
AnyFolder ExtraDrivers = {
// --------------------------------------------------------------------------
// The BM_MANNEQUIN drivers are used to support the degrees of freedom where
// the markers do not provide enough information.
// See this file for options: #path HTML_DOC "<AMMR_PATH_DOC>/bm_config/index.html"
// --------------------------------------------------------------------------
#define BM_MANNEQUIN_DRIVER_WEAK_SWITCH ON
Main.HumanModel.DefaultMannequinDrivers.DefaultWeakDriverWeight = 0.1;
// #define BM_MANNEQUIN_DRIVER_ANKLE_SUBTALAR_EVERSION_RIGHT ON
// #define BM_MANNEQUIN_DRIVER_ANKLE_SUBTALAR_EVERSION_LEFT ON
#define BM_MANNEQUIN_DRIVER_NECK ON
// These weak mannequin drivers control arms which have no markers
#define BM_MANNEQUIN_DRIVER_STERNOCLAVICULAR_ELEVATION_LEFT ON
#define BM_MANNEQUIN_DRIVER_STERNOCLAVICULAR_PROTRACTION_LEFT ON
#define BM_MANNEQUIN_DRIVER_GLENOHUMERAL_ABDUCTION_LEFT ON
#define BM_MANNEQUIN_DRIVER_GLENOHUMERAL_FLEXION_LEFT ON
#define BM_MANNEQUIN_DRIVER_GLENOHUMERAL_EXTERNAL_ROTATION_LEFT ON
#define BM_MANNEQUIN_DRIVER_ELBOW_FLEXION_LEFT ON
#define BM_MANNEQUIN_DRIVER_ELBOW_PRONATION_LEFT ON
#define BM_MANNEQUIN_DRIVER_WRIST_FLEXION_LEFT ON
#define BM_MANNEQUIN_DRIVER_WRIST_ABDUCTION_LEFT ON
// These weak mannequin drivers control arms which have no markers
#define BM_MANNEQUIN_DRIVER_STERNOCLAVICULAR_ELEVATION_RIGHT ON
#define BM_MANNEQUIN_DRIVER_STERNOCLAVICULAR_PROTRACTION_RIGHT ON
#define BM_MANNEQUIN_DRIVER_GLENOHUMERAL_ABDUCTION_RIGHT ON
#define BM_MANNEQUIN_DRIVER_GLENOHUMERAL_FLEXION_RIGHT ON
#define BM_MANNEQUIN_DRIVER_GLENOHUMERAL_EXTERNAL_ROTATION_RIGHT ON
#define BM_MANNEQUIN_DRIVER_ELBOW_FLEXION_RIGHT ON
#define BM_MANNEQUIN_DRIVER_ELBOW_PRONATION_RIGHT ON
#define BM_MANNEQUIN_DRIVER_WRIST_FLEXION_RIGHT ON
#define BM_MANNEQUIN_DRIVER_WRIST_ABDUCTION_RIGHT ON
// This link to the mannequin drivers ensures they are picked up by the study.
AnyFolder& MannequinDrivers = Main.HumanModel.DefaultMannequinDrivers;
};