第2组:补充Scorbot运动学源清单

This commit is contained in:
cnc
2026-06-01 23:09:10 +08:00
parent 57733f424a
commit 110c3ba76e
3 changed files with 53 additions and 0 deletions

View File

@@ -733,6 +733,41 @@ if [[ -n "$manifest" && "$require_complete" == "--require-kinematics-complete" ]
exit 1
fi
required_scorbot_asset_sources=(
configs/by_machine/scorbot-er-3/scorbot-er-3.ini
configs/by_machine/scorbot-er-3/scorbot-er-3.hal
configs/by_machine/scorbot-er-3/pyvcp.hal
configs/by_machine/scorbot-er-3/gripper.xml
src/hal/user_comps/scorbot-er-3.py
)
missing_scorbot_asset_sources=()
for source in "${required_scorbot_asset_sources[@]}"; do
if ! printf '%s\n' "${manifest_asset_sources[@]}" | grep -Fx -- "$source" >/dev/null; then
missing_scorbot_asset_sources+=("$source")
fi
done
if ((${#missing_scorbot_asset_sources[@]} > 0)); then
echo "manifest does not cover LinuxCNC Scorbot ER-3 kinematics INI/HAL/PYVCP/user component sources as asset sources: $manifest" >&2
printf 'missing Scorbot ER-3 asset source: %s\n' "${missing_scorbot_asset_sources[@]}" >&2
exit 1
fi
required_scorbot_metadata_sources=(
src/hal/user_comps/Submakefile
docs/src/man/man1/scorbot-er-3.1.adoc
)
missing_scorbot_metadata_sources=()
for source in "${required_scorbot_metadata_sources[@]}"; do
if ! printf '%s\n' "${manifest_metadata_sources[@]}" | grep -Fx -- "$source" >/dev/null; then
missing_scorbot_metadata_sources+=("$source")
fi
done
if ((${#missing_scorbot_metadata_sources[@]} > 0)); then
echo "manifest does not cover LinuxCNC Scorbot ER-3 user component metadata sources: $manifest" >&2
printf 'missing Scorbot ER-3 metadata source: %s\n' "${missing_scorbot_metadata_sources[@]}" >&2
exit 1
fi
required_gantry_asset_sources=(
configs/sim/axis/gantry/gantry_mm.ini
configs/sim/axis/gantry/gantry_mm.hal