-
Notifications
You must be signed in to change notification settings - Fork 278
/
Copy pathwipe_forehead.py
65 lines (48 loc) · 6.12 KB
/
wipe_forehead.py
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
def wipe_forehead(motion):
# Choregraphe bezier export in Python.
names = list()
times = list()
keys = list()
names.append("HeadPitch")
times.append([0.96000, 1.68000, 3.28000, 3.96000, 4.52000, 5.08000])
keys.append([[-0.02612, [3, -0.32000, 0.00000], [3, 0.24000, 0.00000]], [0.42794, [3, -0.24000, 0.00000], [3, 0.53333, 0.00000]], [0.30829, [3, -0.53333, 0.07392], [3, 0.22667, -0.03142]], [0.11194, [3, -0.22667, 0.05889], [3, 0.18667, -0.04849]], [-0.01385, [3, -0.18667, 0.00000], [3, 0.18667, 0.00000]], [0.06132, [3, -0.18667, 0.00000], [3, 0.00000, 0.00000]]])
names.append("HeadYaw")
times.append([0.96000, 1.68000, 3.28000, 3.96000, 4.52000, 5.08000])
keys.append([[-0.23474, [3, -0.32000, 0.00000], [3, 0.24000, 0.00000]], [-0.62285, [3, -0.24000, 0.00000], [3, 0.53333, 0.00000]], [-0.11356, [3, -0.53333, -0.14425], [3, 0.22667, 0.06131]], [-0.00618, [3, -0.22667, 0.00000], [3, 0.18667, 0.00000]], [-0.02765, [3, -0.18667, 0.00511], [3, 0.18667, -0.00511]], [-0.03686, [3, -0.18667, 0.00000], [3, 0.00000, 0.00000]]])
names.append("LElbowRoll")
times.append([0.80000, 1.52000, 3.12000, 3.80000, 4.36000, 4.92000])
keys.append([[-0.86667, [3, -0.26667, 0.00000], [3, 0.24000, 0.00000]], [-0.86820, [3, -0.24000, 0.00000], [3, 0.53333, 0.00000]], [-0.82218, [3, -0.53333, 0.00000], [3, 0.22667, 0.00000]], [-0.99246, [3, -0.22667, 0.00000], [3, 0.18667, 0.00000]], [-0.96638, [3, -0.18667, 0.00000], [3, 0.18667, 0.00000]], [-0.99092, [3, -0.18667, 0.00000], [3, 0.00000, 0.00000]]])
names.append("LElbowYaw")
times.append([0.80000, 1.52000, 3.12000, 3.80000, 4.36000, 4.92000])
keys.append([[-0.95726, [3, -0.26667, 0.00000], [3, 0.24000, 0.00000]], [-0.82380, [3, -0.24000, 0.00000], [3, 0.53333, 0.00000]], [-1.00788, [3, -0.53333, 0.00000], [3, 0.22667, 0.00000]], [-0.92504, [3, -0.22667, 0.00000], [3, 0.18667, 0.00000]], [-1.24412, [3, -0.18667, 0.00000], [3, 0.18667, 0.00000]], [-0.96033, [3, -0.18667, 0.00000], [3, 0.00000, 0.00000]]])
names.append("LHand")
times.append([1.52000, 3.12000, 3.80000, 4.92000])
keys.append([[0.00230, [3, -0.50667, 0.00000], [3, 0.53333, 0.00000]], [0.00230, [3, -0.53333, 0.00000], [3, 0.22667, 0.00000]], [0.00230, [3, -0.22667, 0.00000], [3, 0.37333, 0.00000]], [0.00230, [3, -0.37333, 0.00000], [3, 0.00000, 0.00000]]])
names.append("LShoulderPitch")
times.append([0.80000, 1.52000, 3.12000, 3.80000, 4.36000, 4.92000])
keys.append([[0.86360, [3, -0.26667, 0.00000], [3, 0.24000, 0.00000]], [0.85900, [3, -0.24000, 0.00000], [3, 0.53333, 0.00000]], [0.88814, [3, -0.53333, -0.01651], [3, 0.22667, 0.00702]], [0.92956, [3, -0.22667, -0.02355], [3, 0.18667, 0.01940]], [1.01700, [3, -0.18667, 0.00000], [3, 0.18667, 0.00000]], [0.97712, [3, -0.18667, 0.00000], [3, 0.00000, 0.00000]]])
names.append("LShoulderRoll")
times.append([0.80000, 1.52000, 3.12000, 3.80000, 4.36000, 4.92000])
keys.append([[0.28682, [3, -0.26667, 0.00000], [3, 0.24000, 0.00000]], [0.23006, [3, -0.24000, 0.00873], [3, 0.53333, -0.01940]], [0.20245, [3, -0.53333, 0.00000], [3, 0.22667, 0.00000]], [0.40647, [3, -0.22667, 0.00000], [3, 0.18667, 0.00000]], [0.36045, [3, -0.18667, 0.01457], [3, 0.18667, -0.01457]], [0.31903, [3, -0.18667, 0.00000], [3, 0.00000, 0.00000]]])
names.append("LWristYaw")
times.append([1.52000, 3.12000, 3.80000, 4.92000])
keys.append([[0.38653, [3, -0.50667, 0.00000], [3, 0.53333, 0.00000]], [0.38653, [3, -0.53333, 0.00000], [3, 0.22667, 0.00000]], [0.38653, [3, -0.22667, 0.00000], [3, 0.37333, 0.00000]], [0.38653, [3, -0.37333, 0.00000], [3, 0.00000, 0.00000]]])
names.append("RElbowRoll")
times.append([0.64000, 1.36000, 2.96000, 3.64000, 4.20000, 4.76000])
keys.append([[1.28093, [3, -0.21333, 0.00000], [3, 0.24000, 0.00000]], [1.39752, [3, -0.24000, -0.03015], [3, 0.53333, 0.06700]], [1.57239, [3, -0.53333, 0.00000], [3, 0.22667, 0.00000]], [1.24105, [3, -0.22667, 0.01863], [3, 0.18667, -0.01534]], [1.22571, [3, -0.18667, 0.01534], [3, 0.18667, -0.01534]], [0.84067, [3, -0.18667, 0.00000], [3, 0.00000, 0.00000]]])
names.append("RElbowYaw")
times.append([0.64000, 1.36000, 2.96000, 3.64000, 4.20000, 4.76000])
keys.append([[-0.12890, [3, -0.21333, 0.00000], [3, 0.24000, 0.00000]], [-0.28537, [3, -0.24000, 0.00000], [3, 0.53333, 0.00000]], [-0.15651, [3, -0.53333, -0.12886], [3, 0.22667, 0.05476]], [0.75469, [3, -0.22667, -0.24283], [3, 0.18667, 0.19998]], [1.17193, [3, -0.18667, 0.00000], [3, 0.18667, 0.00000]], [0.67799, [3, -0.18667, 0.00000], [3, 0.00000, 0.00000]]])
names.append("RHand")
times.append([1.36000, 2.96000, 3.64000, 4.76000])
keys.append([[0.00291, [3, -0.45333, 0.00000], [3, 0.53333, 0.00000]], [0.00290, [3, -0.53333, 0.00000], [3, 0.22667, 0.00000]], [0.00291, [3, -0.22667, 0.00000], [3, 0.37333, 0.00000]], [0.00290, [3, -0.37333, 0.00000], [3, 0.00000, 0.00000]]])
names.append("RShoulderPitch")
times.append([0.64000, 1.36000, 2.96000, 3.64000, 4.20000, 4.76000])
keys.append([[0.07674, [3, -0.21333, 0.00000], [3, 0.24000, 0.00000]], [-0.59515, [3, -0.24000, 0.09759], [3, 0.53333, -0.21688]], [-0.86667, [3, -0.53333, 0.00000], [3, 0.22667, 0.00000]], [-0.61356, [3, -0.22667, -0.25311], [3, 0.18667, 0.20844]], [0.58450, [3, -0.18667, -0.24927], [3, 0.18667, 0.24927]], [0.88209, [3, -0.18667, 0.00000], [3, 0.00000, 0.00000]]])
names.append("RShoulderRoll")
times.append([0.64000, 1.36000, 2.96000, 3.64000, 4.20000, 4.76000])
keys.append([[-0.01998, [3, -0.21333, 0.00000], [3, 0.24000, 0.00000]], [-0.01998, [3, -0.24000, 0.00000], [3, 0.53333, 0.00000]], [-0.61518, [3, -0.53333, 0.19018], [3, 0.22667, -0.08083]], [-0.83300, [3, -0.22667, 0.00000], [3, 0.18667, 0.00000]], [-0.22401, [3, -0.18667, -0.00920], [3, 0.18667, 0.00920]], [-0.21480, [3, -0.18667, 0.00000], [3, 0.00000, 0.00000]]])
names.append("RWristYaw")
times.append([1.36000, 2.96000, 3.64000, 4.76000])
keys.append([[-0.05833, [3, -0.45333, 0.00000], [3, 0.53333, 0.00000]], [-0.05220, [3, -0.53333, 0.00000], [3, 0.22667, 0.00000]], [-0.06754, [3, -0.22667, 0.00000], [3, 0.37333, 0.00000]], [-0.03839, [3, -0.37333, 0.00000], [3, 0.00000, 0.00000]]])
return names, times, keys