换台电脑克隆后启动失败,是因为 site 和启动脚本写死了 /home/cc/ros2。仓库内路径改成相对仓库根,加载时再展开;缺 install 时先说明要编译,而不是 source 一个不存在的文件。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+3
-1
@@ -139,7 +139,9 @@ if [[ "${D435_ONLY}" == true ]]; then
|
||||
fi
|
||||
echo "=== MoveL:XY 对准 K0,工具尖高度保持当前(K0 的 z 是工件表面)==="
|
||||
# --go:不按直线距离拦截。800 mm 是脚本自己的保护,不是机械臂限位。
|
||||
exec /home/cc/rdk_py310/bin/python "${ROOT}/scripts/rdk_goto_xyz.py" \
|
||||
# shellcheck disable=SC1091
|
||||
source "${ROOT}/scripts/lib/dev_tools.sh"
|
||||
exec "$(dev_rdk_python)" "${ROOT}/scripts/rdk_goto_xyz.py" \
|
||||
--xyz "${kx}" "${ky}" "${kz}" --keep-z --go --vel 0.05
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user