Revision 6d13138a cfg/humotion.cfg

View differences:

cfg/humotion.cfg
4 4

  
5 5
gen = ParameterGenerator()
6 6

  
7
group = gen.add_group("My Group")
8
group.add("my_group_param", int_t, 0, "An int within My Group", 0)
7
general_group = gen.add_group("general")
8
general_group.add("eye_saccade_velocity_threshold", double_t, 0, "eye velocity threshold for saccade detection (in deg/s)", 15.0, 1.0, 30.0)
9
general_group.add("neck_saccade_threshold", double_t, 0, "magnitude of gaze change that triggers neck saccade (in deg)", 15.0, 1.0, 30.0)
10
general_group.add("neck_saccade_omr_trigger", double_t, 0, "a deflection exceeding <VAL> * OMR will trigger a correction neck saccade", 0.95, 0.1, 1.0)
11

  
12
neck_group = gen.add_group("neck")
13
neck_group.add("neck_max_acceleration", int_t, 0, "maximum neck acceleration limit (in deg/s^2)", 1000, 100, 4000)
14
neck_group.add("neck_max_velocity", int_t, 0, "maximum neck velocity limit (in deg/s)", 1000, 100, 800)
15
neck_group.add("neck_velocity_scale", double_t, 0, "scaling factor for neck accelerations (1.0 = full human velocities)", 0.7, 0.1, 1.0)
16

  
17
#float max_speed = (CONST_GUITTON87_A * distance_abs + CONST_GUITTON87_B);
18
neck_group.add("neck_velocity_lin_eq_const_a", double_t, 0, "constant A (scale) for linear velocity equation (guitton 4.39)", 4.39 / 2.0, 1.0, 10.0)
19
neck_group.add("neck_velocity_lin_eq_const_b", double_t, 0, "constant B (offset) for linear velocity equation (guitton 4.39)", 106.0 / 2.0, 1, 200)
20

  
21
#others
22
neck_group.add("neck_breath_period", int_t, 0, "breath period (inhale+pause+exhale) in ms)", 3*1500, 3000, 5000)
23
neck_group.add("neck_breath_amplitude", double_t, 0, "amplitude of head tilt deflection during breath (given in deg)", 1.0, 0.0, 5.0)
24

  
25
eye_group = gen.add_group("eye")
26
eye_group.add("eye_max_acceleration", int_t, 0, "maximum eye acceleration limit (in deg/s^2)", 80000, 1000, 80000)
27
eye_group.add("eye_max_velocity", int_t, 0, "maximum eye velocity limit (in deg/s)", 700, 100, 700)
28
eye_group.add("eye_velocity_scale", double_t, 0, "scaling factor for eye accelerations (1.0 = full human velocities)", 1.0, 0.1, 1.0)
29

  
30
eyeblink_group = gen.add_group("eyeblink")
31
eyeblink_group.add("eyeblink_duration", int_t, 0, "eyeblink duration (in ms)", 150, 50, 500)
32
eyeblink_group.add("eyeblink_every_min", int_t, 0, "eyeblink every n ms, lower bound (in ms)",  2000, 1000, 10000)
33
eyeblink_group.add("eyeblink_every_max", int_t, 0, "eyeblink every n ms, upper bound (in ms)", 10000, 1000, 20000)
34
eyeblink_group.add("eyeblink_blocking_time", int_t, 0, "eyeblink blocked timeout (in ms)", 1000, 100, 5000)
35

  
36

  
37

  
38

  
39
#eyelid:
40
# static const float SACCADE_SPEED_THRESHOLD;
41
#    static const float EYEBLINK_DURATION_MS;
42
#    static const float EYEBLINK_EYERY_MS_MIN;
43
#    static const float EYEBLINK_EYERY_MS_MAX;
44
#    static const float EYEBLINK_BLOCKING_TIME;
45
#
46

  
47
# static const float MOUTH_MIN_OPENING;
48
#
49
#neck
50
#    static const float CONST_GUITTON87_A;
51
#    static const float CONST_GUITTON87_B;
52
#
53
#    static const float CONST_BREATH_PERIOD;
54
#    static const float CONST_BREATH_AMPLITUDE;
55
#
56
#misc for neck and eyes:
57
#max accel
58
#v_scale
9 59

  
10 60
#timing_mode_enum = gen.enum([
11 61
#    gen.const("free_running", int_t, 0, "camera acquires images at a maximum possible framerate"),

Also available in: Unified diff