moved speech detection into controller

also the thing works quite good (as in demo-good)
This commit is contained in:
Pavel Lutskov
2019-02-02 14:59:56 +01:00
parent 655c5418fd
commit f118be8cf2
5 changed files with 78 additions and 95 deletions

View File

@@ -87,7 +87,7 @@ class SpeechDetectorModule(ALModule):
self.stop_speech()
else:
self.stop_speech(pause=True)
self.tts.say('I didn\'t understand. Please repeat')
self.tts.say('nope')
self.start_speech(self.voc, resume=True)