Commit f1067d20 authored by Ota Mikušek's avatar Ota Mikušek
Browse files

Merge branch 'rework' into 'main'

Rework

See merge request !1
parents a680574c f03303c9
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -36,6 +36,10 @@ class MyClass(GeneratedClass):

    def onUnload(self):
        self.isRunning = False
        try:
            self.session().service("ALSpeechRecognition").unsubscribe("Pepper_Infinite_Craft_WordRecognized")
        except Exception:
            pass

    def _getTabletService(self):
        tabletService = None
@@ -83,7 +87,10 @@ class MyClass(GeneratedClass):
        if state:
            self.onSuccess()
        else:
            self.onFailure()]]>
            self.onFailure()
        import time
        while True:
            time.sleep(1000)]]>
</content>
                            </script>
                            <Input name="onLoad" type="1" type_size="1" nature="0" inner="1" tooltip="Signal sent when diagram is loaded." id="1" />
+3 −2
Original line number Diff line number Diff line
topic: ~dlg_presentation_nlp()
language: czc

u:(["hra kombinuj slova"]) 
u:([]) 
   ^pCall(ALTabletService.showWebview("http://198.18.0.1/apps/pepper-infinite-craft-pkg/"))
   $onStopped=1
 No newline at end of file
+3 −2
Original line number Diff line number Diff line
topic: ~dlg_presentation_nlp()
language: enu

u:(["game combine words"]) 
u:([]) 
   ^pCall(ALTabletService.showWebview("http://198.18.0.1/apps/pepper-infinite-craft-pkg/"))
   $onStopped=1
 No newline at end of file
+9.42 KiB
Loading image diff...
+3 −1
Original line number Diff line number Diff line
@@ -11,6 +11,8 @@

        <h1 id="app-name">Pepper Word Craft</h1>
        <button type="button" id="button-exit">Click Me!</button>
        <button type="button" id="button-delete">Delete</button>
        <button type="button" id="button-reset">Reset</button>
        <h3 id="element_result"></h3>
        <div style="position: absolute; top: 0px; right: 0px;" id="is_waiting">
            <img src="images/is_waiting.png" alt="Waiting on response...">
Loading