create UserInterruptAgent with connection to UI

This commit is contained in:
Pim Hutting
2025-12-22 13:56:02 +00:00
committed by Luijkx,S.O.H. (Storm)
parent 3e7f2ef574
commit 0501a9fba3
15 changed files with 371 additions and 4 deletions

View File

@@ -182,6 +182,7 @@ class RICommunicationAgent(BaseAgent):
self._req_socket.bind(addr)
case "actuation":
gesture_data = port_data.get("gestures", [])
single_gesture_data = port_data.get("single_gestures", [])
robot_speech_agent = RobotSpeechAgent(
settings.agent_settings.robot_speech_name,
address=addr,
@@ -192,6 +193,7 @@ class RICommunicationAgent(BaseAgent):
address=addr,
bind=bind,
gesture_data=gesture_data,
single_gesture_data=single_gesture_data,
)
await robot_speech_agent.start()
await asyncio.sleep(0.1) # Small delay