克隆下来必须带上正在用的视觉权重和本机 site.yaml,否则感知只能指到一台机器上的路径,别人起不来。

顶视迁臂改走厂家 MoveL,D405 框心对准后再对孔;夹爪停在 caught 时 open 不再把相同目标当成已经张开,init 会真的回零。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
arm_dev
2026-10-12 17:08:43 +08:00
parent b903161113
commit f882c4309c
187 changed files with 22898 additions and 104 deletions
+19
View File
@@ -0,0 +1,19 @@
"""D435 一次性要走厂家 MoveL 时,先认出谁占着 RDK。
`ros2_control_node` 和真机 `stack.launch` 占着唯一的 RDK 连接。
感知、伺服、本脚本自己不算。误伤它们会把正在推理的进程一起杀掉。
"""
from __future__ import annotations
def is_control_stack_cmd(cmd: str) -> bool:
"""这条命令行是不是占着 RDK 的真机控制栈。"""
text = cmd or ""
if "rdk_release_movel" in text:
return False
if "ros2_control_node" in text:
return True
if "stack.launch.py" in text and "backend:=real" in text:
return True
return False