Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Twirre <s.a.meulenbelt@students.uu.nl>
This commit is contained in:
@@ -23,7 +23,6 @@ class ActuationReceiver(ReceiverBase):
|
|||||||
:vartype _tts_service: qi.Session | None
|
:vartype _tts_service: qi.Session | None
|
||||||
"""
|
"""
|
||||||
def __init__(self, zmq_context, port=settings.agent_settings.actuating_receiver_port):
|
def __init__(self, zmq_context, port=settings.agent_settings.actuating_receiver_port):
|
||||||
|
|
||||||
super(ActuationReceiver, self).__init__("actuation")
|
super(ActuationReceiver, self).__init__("actuation")
|
||||||
self.create_socket(zmq_context, zmq.SUB, port)
|
self.create_socket(zmq_context, zmq.SUB, port)
|
||||||
self.socket.setsockopt_string(zmq.SUBSCRIBE, u"") # Causes block if given in options
|
self.socket.setsockopt_string(zmq.SUBSCRIBE, u"") # Causes block if given in options
|
||||||
|
|||||||
Reference in New Issue
Block a user