fix: use different port, fix endpoint name matching
ref: N25B-168
This commit is contained in:
@@ -6,7 +6,7 @@ from robot_interface.endpoints.receiver_base import ReceiverBase
|
||||
|
||||
|
||||
class ActuationReceiver(ReceiverBase):
|
||||
def __init__(self, zmq_context, port=5556):
|
||||
def __init__(self, zmq_context, port=5557):
|
||||
"""
|
||||
The actuation receiver endpoint, responsible for handling speech and gesture requests.
|
||||
|
||||
@@ -17,7 +17,8 @@ class ActuationReceiver(ReceiverBase):
|
||||
:type port: int
|
||||
"""
|
||||
super(ActuationReceiver, self).__init__("actuation")
|
||||
self.create_socket(zmq_context, zmq.SUB, port, options=[(zmq.SUBSCRIBE, u"")])
|
||||
self.create_socket(zmq_context, zmq.SUB, port)
|
||||
self.socket.setsockopt_string(zmq.SUBSCRIBE, u"")
|
||||
self._tts_service = None
|
||||
|
||||
def _handle_speech(self, message):
|
||||
|
||||
Reference in New Issue
Block a user