Merge branch 'main' into fix/trigger-subgoal-error

This commit is contained in:
2026-01-30 18:19:31 +01:00
95 changed files with 2050 additions and 115 deletions

View File

@@ -1,3 +1,9 @@
"""
This program has been developed by students from the bachelor Computer Science at Utrecht
University within the Software Project course.
© Copyright Utrecht University (Department of Information and Computing Sciences)
"""
import logging
from functools import singledispatchmethod
@@ -24,6 +30,7 @@ from control_backend.schemas.program import (
BaseGoal,
BasicNorm,
ConditionalNorm,
EmotionBelief,
GestureAction,
Goal,
InferredBelief,
@@ -683,6 +690,10 @@ class AgentSpeakGenerator:
"""
return AstLiteral(self.slugify(sb))
@_astify.register
def _(self, eb: EmotionBelief) -> AstExpression:
return AstLiteral("emotion_detected", [AstAtom(eb.emotion)])
@_astify.register
def _(self, ib: InferredBelief) -> AstExpression:
"""