From 1b2c0dbcd7ef673ab8ae4f06dbaa1668539663b7 Mon Sep 17 00:00:00 2001 From: Xuwznln <18435084+Xuwznln@users.noreply.github.com> Date: Mon, 3 Nov 2025 16:31:37 +0800 Subject: [PATCH] adjust with_children param --- unilabos/ros/nodes/base_device_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unilabos/ros/nodes/base_device_node.py b/unilabos/ros/nodes/base_device_node.py index 2fc7ea7d..19503fdc 100644 --- a/unilabos/ros/nodes/base_device_node.py +++ b/unilabos/ros/nodes/base_device_node.py @@ -656,7 +656,7 @@ class BaseROS2DeviceNode(Node, Generic[T]): ].call_async( SerialCommand.Request( command=json.dumps( - {"data": {"data": resources_uuid, "with_children": False}, "action": "get"} + {"data": {"data": resources_uuid, "with_children": True if action == "add" else "update"}, "action": "get"} ) ) ) # type: ignore