-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.py
81 lines (40 loc) · 1.01 KB
/
main.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
import Robot as class_fedor
import time
fedor = class_fedor.Robot('10.127.50.62', 10099)
fedor.head.rotate(-30)
time.sleep(1)
fedor.hand.right.elbow.fold(-95)
time.sleep(1)
fedor.hand.right.wrist.rotate(-90)
time.sleep(1)
fedor.hand.right.elbow.rotation(-55)
time.sleep(1)
fedor.torso.tilt(55)
time.sleep(1)
fedor.hand.right.shoulder.move(-90)
time.sleep(1)
fedor.hand.right.shoulder.move(-90)
time.sleep(1)
fedor.hand.right.shoulder.move(-100)
time.sleep(1)
fedor.hand.right.wrist.rotate(-100)
time.sleep(1)
fedor.torso.rotate(15)
time.sleep(1)
fedor.hand.right.wrist.front(8)
time.sleep(1)
fedor.hand.right.palm.thumb.fold(-90)
time.sleep(1)
fedor.hand.right.palm.ring.fold(90)
time.sleep(1)
fedor.hand.right.palm.little.fold(90)
time.sleep(5)
fedor.hand.right.wrist.front(10)
time.sleep(1)
fedor.torso.tilt(-90)
time.sleep(1)
fedor.hand.right.shoulder.move(60)
fedor.hand.right.elbow.fold(900)
fedor.torso.rotate(-70)
fedor.hand.right.palm.ring.fold(-90)
fedor.hand.right.palm.little.fold(-90)