-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathChip.sh
More file actions
executable file
·46 lines (33 loc) · 1.18 KB
/
Chip.sh
File metadata and controls
executable file
·46 lines (33 loc) · 1.18 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
#!/bin/sh
set -x
# =============================================================================
# Variables
# =============================================================================
. ~/CodeLabs/Hochob/Main.sh
export CHIP_PID=$$
export CHIP_NAME="Chip"
export CHIP_PATH=$(readlink -f "$0")
export CHIP_DIRECTORY=$(dirname "$CHIP_PATH")
# =============================================================================
# Functions
# =============================================================================
# None
# =============================================================================
# Main
# =============================================================================
LogPid.sh $CHIP_PID $CHIP_NAME
LOCAL_LANGUAGE=`Language.sh`
if [ "$LOCAL_LANGUAGE" = "english" ]; then
AmikooVoice.sh $LOCAL_LANGUAGE \
"Photography express service, Smile."
else
AmikooVoice.sh $LOCAL_LANGUAGE \
"Servicio express de fotografía, Sonríe."
fi
sleep 3
Amikoo.sh amikoo/headright && sleep 1
Amikoo.sh amikoo/headleft && sleep 1
AmikooCommunication.sh "Amikoo" "Audio" "TakePictureEllie.mp3"
sleep .5
AmikooSense.sh "Sight" "Picture"
AmikooCommunication.sh "Amikoo" "Audio" "Stop"