chore: fixing bugs
This commit is contained in:
@@ -8,6 +8,7 @@ from zmq.asyncio import Context
|
||||
from control_backend.agents import BaseAgent
|
||||
from control_backend.agents.actuation.robot_gesture_agent import RobotGestureAgent
|
||||
from control_backend.core.config import settings
|
||||
from control_backend.schemas.internal_message import InternalMessage
|
||||
|
||||
from ..actuation.robot_speech_agent import RobotSpeechAgent
|
||||
from ..perception import VADAgent
|
||||
@@ -298,3 +299,14 @@ class RICommunicationAgent(BaseAgent):
|
||||
self.logger.debug("Restarting communication negotiation.")
|
||||
if await self._negotiate_connection(max_retries=1):
|
||||
self.connected = True
|
||||
|
||||
async def handle_message(self, msg: InternalMessage):
|
||||
"""
|
||||
Handle an incoming message.
|
||||
|
||||
Currently not implemented for this agent.
|
||||
|
||||
:param msg: The received message.
|
||||
:raises NotImplementedError: Always, since this method is not implemented.
|
||||
"""
|
||||
self.logger.warning("custom warning for handle msg in ri coms %s", self.name)
|
||||
|
||||
Reference in New Issue
Block a user