mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-17 04:51:10 +00:00
fix multiple instance error
This commit is contained in:
@@ -600,7 +600,7 @@ class BaseROS2DeviceNode(Node, Generic[T]):
|
||||
self.lab_logger().warning(
|
||||
f"物料{plr_resource}请求从{old_parent}卸载"
|
||||
)
|
||||
plr_resource.unassign_child_resource(plr_resource)
|
||||
old_parent.unassign_child_resource(plr_resource)
|
||||
parent_resource.assign_child_resource(
|
||||
plr_resource, location=None, **additional_params
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user