mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-17 13:01:12 +00:00
在main中直接初始化republisher和物料的mesh节点
This commit is contained in:
@@ -52,10 +52,6 @@ class ResourceVisualization:
|
||||
device_class = node['class']
|
||||
# 检查设备类型是否在注册表中
|
||||
if device_class not in registry.device_type_registry.keys():
|
||||
print("="*20)
|
||||
print(device_class)
|
||||
print(registry.device_type_registry.keys())
|
||||
print("="*20)
|
||||
raise ValueError(f"设备类型 {device_class} 未在注册表中注册")
|
||||
elif node['type'] in self.resource_type:
|
||||
# print(registry.resource_type_registry)
|
||||
|
||||
Reference in New Issue
Block a user