I have made one behavior that's purpose is to display some html page on the tablet. But when I run this behavior my robot is not responsive and I can't have a conversation with it. I don't have absolutely no idea why is this. The behavior is interactive and it is added to the default behaviors.
Edited Added Choreographe project Scheme
About the problem to display main html page on boot. How to make an HTML page to be shown when Pepper boots
There is a software way to start collaborative dialog: ALDialog.runDialog()
So you can just create a box with the following code:
class MyClass(GeneratedClass):
def __init__(self):
GeneratedClass.__init__(self)
def onLoad(self):
self.dialog = self.session().service("ALDialog")
def onUnload(self):
self.dialog.stopDialog()
def onInput_onStart(self):
self.dialog.runDialog()
#self.onStopped() #activate the output of the box
def onInput_onStop(self):
self.onUnload() #it is recommended to reuse the clean-up as the box is stopped
self.onStopped() #activate the output of the box