From 902ddc0013fde2b2fb1d10eb3d74147aa5342f5b Mon Sep 17 00:00:00 2001 From: Maciej Majek Date: Thu, 31 Jul 2025 16:41:51 +0200 Subject: [PATCH] fix(react-agent-ros2): non blocking run method causing ROS 2 health issues --- examples/agents/react_ros2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/agents/react_ros2.py b/examples/agents/react_ros2.py index 8eac7319d..4e023ed3d 100644 --- a/examples/agents/react_ros2.py +++ b/examples/agents/react_ros2.py @@ -34,7 +34,7 @@ def main(): # Agent will wait for messages published to /from_human ros2 topic agent.subscribe_source("/from_human", hri_connector) runner = AgentRunner([agent]) - runner.run() + runner.run_and_wait_for_shutdown() if __name__ == "__main__":