enable playing a gesture with priority, clearing the queue #25

Closed
8464960 wants to merge 7 commits from feat/force-gesture into dev
Showing only changes of commit b6f2893c25 - Show all commits

View File

@@ -34,10 +34,10 @@ class ActuationReceiver(ReceiverBase):
self.create_socket(zmq_context, zmq.SUB, port)
self.socket.setsockopt_string(zmq.SUBSCRIBE, u"") # Causes block if given in options
self._tts_service = None
self._animation_service = None
self._message_queue = Queue.Queue()
self.message_thread = Thread(target=self._handle_messages)
self.message_thread.start()
self._animation_service = None
def _handle_speech(self, message):
"""