feat: setup gesture agent and adjust command port for the UI

ref: N25B-334
This commit is contained in:
Björn Otgaar
2025-12-02 15:00:10 +01:00
parent c85753f834
commit 95c7585bf1
5 changed files with 151 additions and 8 deletions

View File

@@ -10,6 +10,7 @@ class RIEndpoint(str, Enum):
"""
SPEECH = "actuate/speech"
GESTURE = "actuate/gesture"
PING = "ping"
NEGOTIATE_PORTS = "negotiate/ports"
@@ -36,3 +37,15 @@ class SpeechCommand(RIMessage):
endpoint: RIEndpoint = RIEndpoint(RIEndpoint.SPEECH)
data: str
class GestureCommand(RIMessage):
"""
A specific command to make the robot do a gesture.
:ivar endpoint: Fixed to ``RIEndpoint.GESTURE``.
:ivar data: The id of the gesture to be executed.
"""
endpoint: RIEndpoint = RIEndpoint(RIEndpoint.SPEECH)
data: str