mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-17 13:01:12 +00:00
完成启动OT并联动rviz
This commit is contained in:
@@ -48,6 +48,7 @@ class DeviceNodeResourceTracker:
|
||||
|
||||
def loop_find_resource(self, resource, resource_cls_type, identifier_key, compare_value):
|
||||
res_list = []
|
||||
print(resource, resource_cls_type, identifier_key, compare_value)
|
||||
children = getattr(resource, "children", [])
|
||||
for child in children:
|
||||
res_list.extend(self.loop_find_resource(child, resource_cls_type, identifier_key, compare_value))
|
||||
|
||||
Reference in New Issue
Block a user