Skip to content
Snippets Groups Projects
Commit 50fd8a29 authored by Antonio Andriella's avatar Antonio Andriella
Browse files

Add method to reset speech reproduction variable

parent f6759669
No related branches found
No related tags found
No related merge requests found
......@@ -470,6 +470,10 @@ class Robot:
def reproduce_sentence(self, text):
self.speech.text_to_speech(text)
def reset_speech_ended(self):
self.speech.reproduction_has_ended = False
return self.speech.reproduction_has_ended
def has_speech_ended(self):
return self.speech.reproduction_has_ended
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment