-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMeccanoid.sh
More file actions
executable file
·72 lines (55 loc) · 2.01 KB
/
Meccanoid.sh
File metadata and controls
executable file
·72 lines (55 loc) · 2.01 KB
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
#!/bin/sh
set -x
# =============================================================================
# Variables
# =============================================================================
. ~/CodeLabs/Hochob/Main.sh
export MECCANOID_PID=$$
export MECCANOID_NAME="Meccanoid"
export MECCANOID_PATH=$(readlink -f "$0")
export MECCANOID_DIRECTORY=$(dirname "$MECCANOID_PATH")
# =============================================================================
# Functions
# =============================================================================
# None
# =============================================================================
# Main
# =============================================================================
LogPid.sh $MECCANOID_PID $MECCANOID_NAME
LOCAL_LANGUAGE=`Language.sh`
if [ "$LOCAL_LANGUAGE" = "english" ]; then
AmikooVoice.sh $LOCAL_LANGUAGE \
"Let's dance"
else
AmikooVoice.sh $LOCAL_LANGUAGE \
"Vamos a bailar"
fi
AmikooCommunication.sh "DiaDeMuertos" "Audio" "MichaelJacksonThrillerShort.mp3"
sleep 10
Amikoo.sh amikoo/headright && sleep .6
Amikoo.sh amikoo/headleft && sleep .6
Amikoo.sh amikoo/moveforward && sleep .6
Amikoo.sh amikoo/movewbackward && sleep .6
sleep 14
Amikoo.sh amikoo/headright && sleep .6
Amikoo.sh amikoo/headleft && sleep .6
Amikoo.sh amikoo/rightup && sleep .6
Amikoo.sh amikoo/leftup && sleep .6
Amikoo.sh amikoo/rightfold && sleep .6
Amikoo.sh amikoo/leftfold && sleep .6
Amikoo.sh amikoo/moveright && sleep .6
Amikoo.sh amikoo/movestop && sleep .6
Amikoo.sh amikoo/moveleft && sleep .6
Amikoo.sh amikoo/movestop && sleep .6
Amikoo.sh amikoo/moveleft && sleep .6
Amikoo.sh amikoo/movestop && sleep .6
Amikoo.sh amikoo/moveleft && sleep .6
Amikoo.sh amikoo/movestop && sleep .6
Amikoo.sh amikoo/leftfold && sleep .6
Amikoo.sh amikoo/rightfold && sleep .6
Amikoo.sh amikoo/leftup && sleep .6
Amikoo.sh amikoo/rightup && sleep .6
Amikoo.sh amikoo/headleft && sleep .6
Amikoo.sh amikoo/headright && sleep .6
AmikooCommunication.sh "DiaDeMuertos" "Audio" "Stop"
# End of File