Skip to content

Commit 7a878e6

Browse files
committed
Add ComCo19 welcoming/agenda app
1 parent b637367 commit 7a878e6

File tree

133 files changed

+9002
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+9002
-0
lines changed

apps/custom_apps/comco19/Quiz.pml

Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<Package name="Quiz" format_version="4">
3+
<Manifest src="manifest.xml" />
4+
<BehaviorDescriptions>
5+
<BehaviorDescription name="behavior" src="comco" xar="behavior.xar" />
6+
</BehaviorDescriptions>
7+
<Dialogs />
8+
<Resources>
9+
<File name="index" src="html/index.html" />
10+
<File name="jquery-3.3.1.min" src="html/js/jquery-3.3.1.min.js" />
11+
<File name="qi" src="html/js/qi.js" />
12+
<File name="script" src="html/js/script.js" />
13+
<File name="package-lock" src="html/package-lock.json" />
14+
<File name="icon" src="icon.png" />
15+
<File name="styles" src="html/css/styles.css" />
16+
<File name="airplane-2" src="html/images/airplane-2.png" />
17+
<File name="airplane" src="html/images/airplane.png" />
18+
<File name="brain-logo-big-3-3" src="html/images/brain-logo-big-3-3.png" />
19+
<File name="copy" src="html/images/copy.png" />
20+
<File name="default" src="html/images/default.cur" />
21+
<File name="default" src="html/images/default.png" />
22+
<File name="facebook" src="html/images/facebook.png" />
23+
<File name="google-scholar-logo" src="html/images/google-scholar-logo.png" />
24+
<File name="hand" src="html/images/hand.cur" />
25+
<File name="hand" src="html/images/hand.png" />
26+
<File name="alex_garcia_small" src="html/images/people/alex_garcia_small.png" />
27+
<File name="colin_phillips" src="html/images/people/colin_phillips.jpg" />
28+
<File name="colin_phillips2" src="html/images/people/colin_phillips2.jpg" />
29+
<File name="colin_phillips_small" src="html/images/people/colin_phillips_small.jpg" />
30+
<File name="dieuwke_hupkes" src="html/images/people/dieuwke_hupkes.jpg" />
31+
<File name="dieuwke_hupkes2" src="html/images/people/dieuwke_hupkes2.jpg" />
32+
<File name="dieuwke_hupkes_small" src="html/images/people/dieuwke_hupkes_small.jpg" />
33+
<File name="dimitrios_pinotsis_small" src="html/images/people/dimitrios_pinotsis_small.png" />
34+
<File name="james_dicarlo" src="html/images/people/james_dicarlo.jpg" />
35+
<File name="james_dicarlo_small" src="html/images/people/james_dicarlo_small.jpg" />
36+
<File name="karl_friston" src="html/images/people/karl_friston.jpg" />
37+
<File name="karl_friston2" src="html/images/people/karl_friston2.jpg" />
38+
<File name="karl_friston_small" src="html/images/people/karl_friston_small.jpg" />
39+
<File name="pascal_nieters_small" src="html/images/people/pascal_nieters_small.png" />
40+
<File name="pieter_vries_small" src="html/images/people/pieter_vries_small.png" />
41+
<File name="roger_levy" src="html/images/people/roger_levy.jpg" />
42+
<File name="roger_levy2" src="html/images/people/roger_levy2.jpg" />
43+
<File name="roger_levy_small" src="html/images/people/roger_levy_small.jpg" />
44+
<File name="sebastian_kahl_small" src="html/images/people/sebastian_kahl_small.png" />
45+
<File name="terry_stewart" src="html/images/people/terry_stewart.jpg" />
46+
<File name="terry_stewart2" src="html/images/people/terry_stewart2.jpg" />
47+
<File name="terry_stewart_small" src="html/images/people/terry_stewart_small.jpg" />
48+
<File name="tim_kietzmann" src="html/images/people/tim_kietzmann.jpg" />
49+
<File name="tim_kietzmann_small" src="html/images/people/tim_kietzmann_small.jpg" />
50+
<File name="viviane_clay_small" src="html/images/people/viviane_clay_small.png" />
51+
<File name="will_monroe" src="html/images/people/will_monroe.jpg" />
52+
<File name="will_monroe2" src="html/images/people/will_monroe2.jpg" />
53+
<File name="will_monroe_new" src="html/images/people/will_monroe_new.jpg" />
54+
<File name="will_monroe_new_small" src="html/images/people/will_monroe_new_small.jpg" />
55+
<File name="will_monroe_old" src="html/images/people/will_monroe_old.jpg" />
56+
<File name="will_monroe_small" src="html/images/people/will_monroe_small.jpg" />
57+
<File name="pepper-illustration" src="html/images/pepper-illustration.png" />
58+
<File name="pepper-outline" src="html/images/pepper-outline.png" />
59+
<File name="poster-outline" src="html/images/poster-outline.png" />
60+
<File name="research-gate-logo" src="html/images/research-gate-logo.png" />
61+
<File name="tile13" src="html/images/tile13.png" />
62+
<File name="twitter" src="html/images/twitter.png" />
63+
<File name="website" src="html/images/website.png" />
64+
<File name="woman-outline" src="html/images/woman-outline.png" />
65+
<File name="dosis-v14-latin-200" src="html/fonts/dosis-v14-latin-200.eot" />
66+
<File name="dosis-v14-latin-200" src="html/fonts/dosis-v14-latin-200.svg" />
67+
<File name="dosis-v14-latin-200" src="html/fonts/dosis-v14-latin-200.ttf" />
68+
<File name="dosis-v14-latin-200" src="html/fonts/dosis-v14-latin-200.woff" />
69+
<File name="dosis-v14-latin-200" src="html/fonts/dosis-v14-latin-200.woff2" />
70+
<File name="dosis-v14-latin-300" src="html/fonts/dosis-v14-latin-300.eot" />
71+
<File name="dosis-v14-latin-300" src="html/fonts/dosis-v14-latin-300.svg" />
72+
<File name="dosis-v14-latin-300" src="html/fonts/dosis-v14-latin-300.ttf" />
73+
<File name="dosis-v14-latin-300" src="html/fonts/dosis-v14-latin-300.woff" />
74+
<File name="dosis-v14-latin-300" src="html/fonts/dosis-v14-latin-300.woff2" />
75+
<File name="dosis-v14-latin-500" src="html/fonts/dosis-v14-latin-500.eot" />
76+
<File name="dosis-v14-latin-500" src="html/fonts/dosis-v14-latin-500.svg" />
77+
<File name="dosis-v14-latin-500" src="html/fonts/dosis-v14-latin-500.ttf" />
78+
<File name="dosis-v14-latin-500" src="html/fonts/dosis-v14-latin-500.woff" />
79+
<File name="dosis-v14-latin-500" src="html/fonts/dosis-v14-latin-500.woff2" />
80+
<File name="dosis-v14-latin-600" src="html/fonts/dosis-v14-latin-600.eot" />
81+
<File name="dosis-v14-latin-600" src="html/fonts/dosis-v14-latin-600.svg" />
82+
<File name="dosis-v14-latin-600" src="html/fonts/dosis-v14-latin-600.ttf" />
83+
<File name="dosis-v14-latin-600" src="html/fonts/dosis-v14-latin-600.woff" />
84+
<File name="dosis-v14-latin-600" src="html/fonts/dosis-v14-latin-600.woff2" />
85+
<File name="dosis-v14-latin-700" src="html/fonts/dosis-v14-latin-700.eot" />
86+
<File name="dosis-v14-latin-700" src="html/fonts/dosis-v14-latin-700.svg" />
87+
<File name="dosis-v14-latin-700" src="html/fonts/dosis-v14-latin-700.ttf" />
88+
<File name="dosis-v14-latin-700" src="html/fonts/dosis-v14-latin-700.woff" />
89+
<File name="dosis-v14-latin-700" src="html/fonts/dosis-v14-latin-700.woff2" />
90+
<File name="dosis-v14-latin-800" src="html/fonts/dosis-v14-latin-800.eot" />
91+
<File name="dosis-v14-latin-800" src="html/fonts/dosis-v14-latin-800.svg" />
92+
<File name="dosis-v14-latin-800" src="html/fonts/dosis-v14-latin-800.ttf" />
93+
<File name="dosis-v14-latin-800" src="html/fonts/dosis-v14-latin-800.woff" />
94+
<File name="dosis-v14-latin-800" src="html/fonts/dosis-v14-latin-800.woff2" />
95+
<File name="dosis-v14-latin-regular" src="html/fonts/dosis-v14-latin-regular.eot" />
96+
<File name="dosis-v14-latin-regular" src="html/fonts/dosis-v14-latin-regular.svg" />
97+
<File name="dosis-v14-latin-regular" src="html/fonts/dosis-v14-latin-regular.ttf" />
98+
<File name="dosis-v14-latin-regular" src="html/fonts/dosis-v14-latin-regular.woff" />
99+
<File name="dosis-v14-latin-regular" src="html/fonts/dosis-v14-latin-regular.woff2" />
100+
<File name="muli-v16-latin-200" src="html/fonts/muli-v16-latin-200.eot" />
101+
<File name="muli-v16-latin-200" src="html/fonts/muli-v16-latin-200.svg" />
102+
<File name="muli-v16-latin-200" src="html/fonts/muli-v16-latin-200.ttf" />
103+
<File name="muli-v16-latin-200" src="html/fonts/muli-v16-latin-200.woff" />
104+
<File name="muli-v16-latin-200" src="html/fonts/muli-v16-latin-200.woff2" />
105+
<File name="muli-v16-latin-300" src="html/fonts/muli-v16-latin-300.eot" />
106+
<File name="muli-v16-latin-300" src="html/fonts/muli-v16-latin-300.svg" />
107+
<File name="muli-v16-latin-300" src="html/fonts/muli-v16-latin-300.ttf" />
108+
<File name="muli-v16-latin-300" src="html/fonts/muli-v16-latin-300.woff" />
109+
<File name="muli-v16-latin-300" src="html/fonts/muli-v16-latin-300.woff2" />
110+
<File name="muli-v16-latin-600" src="html/fonts/muli-v16-latin-600.eot" />
111+
<File name="muli-v16-latin-600" src="html/fonts/muli-v16-latin-600.svg" />
112+
<File name="muli-v16-latin-600" src="html/fonts/muli-v16-latin-600.ttf" />
113+
<File name="muli-v16-latin-600" src="html/fonts/muli-v16-latin-600.woff" />
114+
<File name="muli-v16-latin-600" src="html/fonts/muli-v16-latin-600.woff2" />
115+
<File name="muli-v16-latin-700" src="html/fonts/muli-v16-latin-700.eot" />
116+
<File name="muli-v16-latin-700" src="html/fonts/muli-v16-latin-700.svg" />
117+
<File name="muli-v16-latin-700" src="html/fonts/muli-v16-latin-700.ttf" />
118+
<File name="muli-v16-latin-700" src="html/fonts/muli-v16-latin-700.woff" />
119+
<File name="muli-v16-latin-700" src="html/fonts/muli-v16-latin-700.woff2" />
120+
<File name="muli-v16-latin-800" src="html/fonts/muli-v16-latin-800.eot" />
121+
<File name="muli-v16-latin-800" src="html/fonts/muli-v16-latin-800.svg" />
122+
<File name="muli-v16-latin-800" src="html/fonts/muli-v16-latin-800.ttf" />
123+
<File name="muli-v16-latin-800" src="html/fonts/muli-v16-latin-800.woff" />
124+
<File name="muli-v16-latin-800" src="html/fonts/muli-v16-latin-800.woff2" />
125+
<File name="muli-v16-latin-900" src="html/fonts/muli-v16-latin-900.eot" />
126+
<File name="muli-v16-latin-900" src="html/fonts/muli-v16-latin-900.svg" />
127+
<File name="muli-v16-latin-900" src="html/fonts/muli-v16-latin-900.ttf" />
128+
<File name="muli-v16-latin-900" src="html/fonts/muli-v16-latin-900.woff" />
129+
<File name="muli-v16-latin-900" src="html/fonts/muli-v16-latin-900.woff2" />
130+
<File name="muli-v16-latin-regular" src="html/fonts/muli-v16-latin-regular.eot" />
131+
<File name="muli-v16-latin-regular" src="html/fonts/muli-v16-latin-regular.svg" />
132+
<File name="muli-v16-latin-regular" src="html/fonts/muli-v16-latin-regular.ttf" />
133+
<File name="muli-v16-latin-regular" src="html/fonts/muli-v16-latin-regular.woff" />
134+
<File name="muli-v16-latin-regular" src="html/fonts/muli-v16-latin-regular.woff2" />
135+
</Resources>
136+
<Topics />
137+
<IgnoredPaths />
138+
<Translations auto-fill="en_US">
139+
<Translation name="translation_de_DE" src="translations/translation_de_DE.ts" language="de_DE" />
140+
<Translation name="translation_en_US" src="translations/translation_en_US.ts" language="en_US" />
141+
</Translations>
142+
</Package>
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?xml version="1.0" encoding="UTF-8" ?><ChoregrapheProject xmlns="http://www.aldebaran-robotics.com/schema/choregraphe/project.xsd" xar_version="3"><Box name="root" id="-1" localization="8" tooltip="Root box of Choregraphe&apos;s behavior. Highest level possible." x="0" y="0"><bitmap>media/images/box/root.png</bitmap><script language="4"><content><![CDATA[]]></content></script><Input name="onLoad" type="1" type_size="1" nature="0" inner="1" tooltip="Signal sent when diagram is loaded." id="1" /><Input name="onStart" type="1" type_size="1" nature="2" inner="0" tooltip="Box behavior starts when a signal is received on this input." id="2" /><Input name="onStop" type="1" type_size="1" nature="3" inner="0" tooltip="Box behavior stops when a signal is received on this input." id="3" /><Output name="onStopped" type="1" type_size="1" nature="1" inner="0" tooltip="Signal sent when box behavior is finished." id="4" /><Timeline enable="0"><BehaviorLayer name="behavior_layer1"><BehaviorKeyframe name="keyframe1" index="1"><Diagram><Box name="Show Web View" id="8" localization="8" tooltip="Shows the webview (html content) on the tablet.&#x0A;&#x0A;V1.0.0&#x0A;" x="363" y="110"><bitmap>media/images/box/internet/internet.png</bitmap><script language="4"><content><![CDATA[
2+
3+
class MyClass(GeneratedClass):
4+
5+
def __init__(self):
6+
GeneratedClass.__init__(self)
7+
8+
def onLoad(self):
9+
pass
10+
11+
def onUnload(self):
12+
pass
13+
14+
def _getTabletService(self):
15+
tabletService = None
16+
try:
17+
tabletService = self.session().service("ALTabletService")
18+
except Exception as e:
19+
self.logger.error(e)
20+
return tabletService
21+
22+
def _getMemoryService(self):
23+
service = None
24+
try:
25+
service = self.session().service("ALMemory")
26+
except Exception as e:
27+
self.logger.error(e)
28+
return service
29+
30+
def onInput_onStart(self):
31+
# We create TabletService here in order to avoid
32+
# problems with connections and disconnections of the tablet during the life of the application
33+
tabletService = self._getTabletService()
34+
# Store the package UID on memory to be accessible from javascript
35+
self._getMemoryService().insertData('packageUid', self.packageUid())
36+
if tabletService:
37+
try:
38+
ip = tabletService.robotIp()
39+
url = 'http://' + ip + '/apps/' + self.packageUid()
40+
tabletService.resetTablet()
41+
tabletService.showWebview(url)
42+
except Exception as e:
43+
self.logger.error(e)
44+
else:
45+
self.logger.warning("ALTabletService not found.")
46+
self.onStopped()]]></content></script><Input name="onLoad" type="1" type_size="1" nature="0" inner="1" tooltip="Signal sent when diagram is loaded." id="1" /><Input name="onStart" type="1" type_size="1" nature="2" inner="0" tooltip="Box behavior starts when a signal is received on this input." id="2" /><Output name="onStopped" type="1" type_size="1" nature="1" inner="0" tooltip="Signal sent when box behavior is finished." id="3" /></Box><Link inputowner="8" indexofinput="2" outputowner="0" indexofoutput="2" /></Diagram></BehaviorKeyframe></BehaviorLayer></Timeline></Box></ChoregrapheProject>
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# {
2+
# "extends": "eslint-config-google",
3+
# "env": {
4+
# "es6": true
5+
# },
6+
# "rules": {
7+
# "no-var": 0,
8+
# "no-multi-str": 0
9+
# }
10+
# }
11+
{
12+
"parserOptions": {
13+
"ecmaVersion": 5
14+
},
15+
"env": {
16+
"es6": false
17+
},
18+
"rules": {
19+
"array-bracket-spacing": [2, "never"],
20+
"block-scoped-var": 2,
21+
"brace-style": [2, "1tbs"],
22+
"camelcase": 1,
23+
"computed-property-spacing": [2, "never"],
24+
"curly": [2, "multi"],
25+
"eol-last": 2,
26+
"eqeqeq": [2, "smart"],
27+
"max-depth": [1, 3],
28+
"max-len": [1, 80],
29+
# "max-statements": [1, 15],
30+
"new-cap": 1,
31+
"no-extend-native": 2,
32+
"no-mixed-spaces-and-tabs": 2,
33+
"no-trailing-spaces": 2,
34+
"no-unused-vars": 1,
35+
"no-use-before-define": [2, "nofunc"],
36+
"object-curly-spacing": [2, "never"],
37+
"quotes": [2, "single", "avoid-escape"],
38+
"semi": 0,
39+
"keyword-spacing": [2, {"before": true, "after": true}],
40+
"space-unary-ops": 2
41+
}
42+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"alt-require": true,
3+
"attr-lowercase": true,
4+
"attr-no-duplication": true,
5+
"attr-unsafe-chars": true,
6+
"attr-value-double-quotes": false,
7+
"attr-value-not-empty": false,
8+
"doctype-first": true,
9+
"doctype-html5": true,
10+
"head-script-disabled": true,
11+
"href-abs-or-rel": false,
12+
"id-class-ad-disabled": true,
13+
"id-class-value": "dash",
14+
"id-unique": true,
15+
"inline-script-disabled": true,
16+
"inline-style-disabled": true,
17+
"space-tab-mixed-disabled": "space2",
18+
"spec-char-escape": true,
19+
"src-not-empty": true,
20+
"style-disabled": true,
21+
"tag-pair": true,
22+
"tag-self-close": false,
23+
"tagname-lowercase": true,
24+
"title-require": true
25+
}

0 commit comments

Comments
 (0)