enable playing a gesture with priority, clearing the queue #25
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user