moved speech detection into controller
also the thing works quite good (as in demo-good)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user