参考所有分组,完成尽量多的内容。禁止顺手扩功能 smoke:锁定kinematics源码锚点
This commit is contained in:
@@ -8,6 +8,20 @@ cd "$(dirname "$0")"
|
|||||||
# kinematics, posemath, switchkins INI/HAL/remap/tooldata/assets, and adjacent
|
# kinematics, posemath, switchkins INI/HAL/remap/tooldata/assets, and adjacent
|
||||||
# build metadata. It validates source coverage documentation only; it does not
|
# build metadata. It validates source coverage documentation only; it does not
|
||||||
# add or interpret CNC behavior.
|
# add or interpret CNC behavior.
|
||||||
|
linuxcnc_root=${LINUXCNC_ROOT:-../linuxcnc}
|
||||||
|
linuxcnc_root=$(cd "$linuxcnc_root" && pwd)
|
||||||
|
|
||||||
|
grep -F 'GENSERKINSSRCS := emc/kinematics/ugenserkins.c' \
|
||||||
|
"$linuxcnc_root/src/emc/kinematics/Submakefile" >/dev/null
|
||||||
|
grep -F 'extern int kinematicsInverse(const struct EmcPose * world,' \
|
||||||
|
"$linuxcnc_root/src/emc/kinematics/kinematics.h" >/dev/null
|
||||||
|
grep -F 'extern int kinematicsSwitch(int switchkins_type);' \
|
||||||
|
"$linuxcnc_root/src/emc/kinematics/kinematics.h" >/dev/null
|
||||||
|
grep -F 'motion.switchkins-type' \
|
||||||
|
"$linuxcnc_root/configs/sim/axis/vismach/5axis/bridgemill/5axis.ini" >/dev/null
|
||||||
|
grep -F '#<kinstype>' \
|
||||||
|
"$linuxcnc_root/configs/sim/axis/vismach/5axis/bridgemill/remap_subs/428remap.ngc" >/dev/null
|
||||||
|
|
||||||
python3 - <<'PY'
|
python3 - <<'PY'
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import re
|
import re
|
||||||
@@ -49,6 +63,11 @@ for group in expected_groups:
|
|||||||
)
|
)
|
||||||
|
|
||||||
required_phrases = [
|
required_phrases = [
|
||||||
|
"LinuxCNC Source Anchors",
|
||||||
|
"`src/emc/kinematics/Submakefile`",
|
||||||
|
"`src/emc/kinematics/kinematics.h`",
|
||||||
|
"motion.switchkins-type",
|
||||||
|
"`#<kinstype>` remap assignment",
|
||||||
"not browser API surface",
|
"not browser API surface",
|
||||||
"OPFS-only",
|
"OPFS-only",
|
||||||
"derive M428/M429/M430 cases from",
|
"derive M428/M429/M430 cases from",
|
||||||
|
|||||||
@@ -22,6 +22,18 @@ groups:
|
|||||||
| `asset` | 122 | LinuxCNC INI-adjacent HAL, README, GUI, demo, PYVCP, and other source assets. |
|
| `asset` | 122 | LinuxCNC INI-adjacent HAL, README, GUI, demo, PYVCP, and other source assets. |
|
||||||
| `tooldata` | 10 | LinuxCNC tool table files referenced by covered M428/M429/M430 INI files. |
|
| `tooldata` | 10 | LinuxCNC tool table files referenced by covered M428/M429/M430 INI files. |
|
||||||
|
|
||||||
|
## LinuxCNC Source Anchors
|
||||||
|
|
||||||
|
- `src/emc/kinematics/Submakefile` defines the kinematics build source surface,
|
||||||
|
including `GENSERKINSSRCS`.
|
||||||
|
- `src/emc/kinematics/kinematics.h` declares `kinematicsInverse()` and
|
||||||
|
`kinematicsSwitch()` for switchkins-capable modules.
|
||||||
|
- `configs/sim/axis/vismach/5axis/bridgemill/5axis.ini` wires
|
||||||
|
`motion.switchkins-type` and representative M428/M429/M430 switchkins
|
||||||
|
configuration.
|
||||||
|
- `configs/sim/axis/vismach/5axis/bridgemill/remap_subs/428remap.ngc`
|
||||||
|
provides a representative `#<kinstype>` remap assignment.
|
||||||
|
|
||||||
## Boundaries
|
## Boundaries
|
||||||
|
|
||||||
- `asset`, `metadata`, `header`, and `tooldata` entries are source coverage,
|
- `asset`, `metadata`, `header`, and `tooldata` entries are source coverage,
|
||||||
|
|||||||
Reference in New Issue
Block a user