-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathrunning.calqulus.yaml
76 lines (68 loc) · 1.66 KB
/
running.calqulus.yaml
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
65
66
67
68
69
70
71
72
73
74
75
- template: templates/running/running.calqulus.yaml
# ############
# ## SERIES ##
# ############
# --- Pelvis ---
- parameter: Pelvis_Height_Normalised
where:
name: Run*
steps:
- segment: Hips => hipsDynamic
- segment: Hips?name=Static* => hipsStatic
- mean: hipsStatic.z
- subtract: [hipsDynamic.z, $prev]
- convert: $prev
from: mm
to: m
# Deal with Pelvc Obliquity sign incompatibility between Running and FA
- parameter: Left Pelvic Angles
set: left
where:
name: Run*
session:
FA session: "!true"
steps:
- jointAngle: Hips
space: VirtualLab
- multiply: [$prev, [-1, -1, -1]]
- lowpass:
cutoff: KinematicsLowpassCutoffFq
extrapolate: KinematicsLowpassExtrapolate
- parameter: Right Pelvic Angles
set: right
where:
name: Run*
fields:
FA session: "!true"
steps:
- jointAngle: Hips
space: VirtualLab
- multiply: [$prev, [-1, 1, 1]]
- lowpass:
cutoff: KinematicsLowpassCutoffFq
extrapolate: KinematicsLowpassExtrapolate
# Deal with naming incompatibility between Running and FA
- parameter: Left Elbow Angle
set: left
where:
name: Run*
steps:
- angle: [LeftArm, LeftForeArm, LeftHand]
- convert: $prev
from: radians
to: degrees
- lowpass:
cutoff: KinematicsLowpassCutoffFq
extrapolate: KinematicsLowpassExtrapolate
- parameter: Right Elbow Angle
set: right
where:
name: Run*
steps:
- angle: [RightArm, RightForeArm, RightHand]
- convert: $prev
from: radians
to: degrees
- lowpass:
cutoff: KinematicsLowpassCutoffFq
extrapolate: KinematicsLowpassExtrapolate