From 72c67ba25c7fbf8b3587129d83b4a087b0d52156 Mon Sep 17 00:00:00 2001 From: Xuwznln <18435084+Xuwznln@users.noreply.github.com> Date: Fri, 11 Jul 2025 16:33:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E6=84=8F=E6=89=A7=E8=A1=8C=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E9=83=BD=E5=BA=94=E8=AF=A5=E8=BF=94=E5=9B=9Efailed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unilabos/ros/nodes/presets/host_node.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/unilabos/ros/nodes/presets/host_node.py b/unilabos/ros/nodes/presets/host_node.py index 0cb3db7..29cdea9 100644 --- a/unilabos/ros/nodes/presets/host_node.py +++ b/unilabos/ros/nodes/presets/host_node.py @@ -603,8 +603,7 @@ class HostNode(BaseROS2DeviceNode): if action_name == "test_latency" and server_info is not None: self.server_latest_timestamp = server_info.get("send_timestamp", 0.0) if action_id not in self._action_clients: - self.lab_logger().error(f"[Host Node] ActionClient {action_id} not found.") - return + raise ValueError(f"ActionClient {action_id} not found.") action_client: ActionClient = self._action_clients[action_id]