mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-17 21:11:12 +00:00
adjust with_children param
This commit is contained in:
@@ -656,7 +656,7 @@ class BaseROS2DeviceNode(Node, Generic[T]):
|
|||||||
].call_async(
|
].call_async(
|
||||||
SerialCommand.Request(
|
SerialCommand.Request(
|
||||||
command=json.dumps(
|
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
|
) # type: ignore
|
||||||
|
|||||||
Reference in New Issue
Block a user