新增direct_end参数

This commit is contained in:
Xuwznln
2025-09-12 18:07:46 +08:00
parent 0bfb52df00
commit a8973ea92b
3 changed files with 10 additions and 0 deletions

View File

@@ -619,6 +619,9 @@ class HostNode(BaseROS2DeviceNode):
goal_uuid: 目标UUID如果为None则自动生成
server_info: 服务器发送信息,包含发送时间戳等
"""
if BasicConfig.direct_end:
raise ValueError("direct_end")
if action_type.startswith("UniLabJsonCommand"):
if action_name.startswith("auto-"):
action_name = action_name[5:]