mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-17 04:51:10 +00:00
refactor: ProtocolNode→WorkstationNode
This commit is contained in:
@@ -523,7 +523,7 @@ class HostNode(BaseROS2DeviceNode):
|
||||
|
||||
# 解析设备名和属性名
|
||||
parts = topic.split("/")
|
||||
if len(parts) >= 4: # 可能有ProtocolNode,创建更长的设备
|
||||
if len(parts) >= 4: # 可能有WorkstationNode,创建更长的设备
|
||||
device_id = "/".join(parts[2:-1])
|
||||
property_name = parts[-1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user