Repository navigation
plcopen v0.22.0 — Math-Max Control Core & Plant Bridge
v0.22.0 is the published pre-1.0 release closing the five-step Math-Max
mathematical hardening queue (KB-105 through KB-109), together with the
V1 VMS Plant lockstep bridge (KB-104) and the SO-ARM101 read-only discovery /
offline A/B tools and dropout-stop hardening (KB-035). It remains pre-1.0: no
stable ABI, no PLCopen or Safety certification, no real-machine production
evidence, and no LTS commitment are implied.
This release remains source/header-only for C++ consumption. The C++ delivery
is GitHub source archives plus CMake install/export; ConanCenter and vcpkg
central registry assets remain fixed at the published v0.20.0 line and this
release does not claim v0.22.0 central registry inclusion. Python package
pyplcopen==0.22.0 is publicly available on PyPI with 20 wheels, 1 sdist, and
Requires-Python >=3.10.
Install
C++ with FetchContent
include(FetchContent)
FetchContent_Declare(
plcopen
GIT_REPOSITORY https://github.com/lusipad/plcopen.git
GIT_TAG v0.22.0)
FetchContent_MakeAvailable(plcopen)
target_link_libraries(my_controller PRIVATE plcopen::plcopen)The exported target is header-only and requires C++17 and CMake 3.21 or newer.
Installed-package consumption through find_package(plcopen CONFIG REQUIRED)
remains the supported downstream path.
Python
pip install pyplcopen==0.22.0Published package page: https://pypi.org/project/pyplcopen/0.22.0/.
What users get
- Math-Max Step 1 (
KB-105, T28 feedback toxicity guard):
adapters::bridge_feedbacknow rejects non-finite frames atomically, and the
zero-allocation opt-inadapters::FeedbackGuardadds first-frame priming,
explicitreanchor(), position-jump and velocity/acceleration/torque envelope
checks, bounded single-tick glitch hold, and latchedErrorStoptripping. - Math-Max Step 2 (
KB-106, strict arc-length reparameterization and
curvature-aware TOPP):
CubicBezierSegmentandQuadraticBlendSegmentgain 65-point 5-point
Gauss-Legendre arc-length tables with exact Frenet derivative closure, and
core/plan/topp_executor.hadds envelope-preserving cycle sampling and
bounded centripetal limit verification. - Math-Max Step 3 (
KB-107, Y5 3D Cartesian symmetry andKB-054Euclidean
normalization):
geom::ArcSegmentandGroupCommandsupport arbitrary 3D planes
(spatial_3d),CENTER(including 180-degree and full 360-degree circles),
andRADIUSmodes; opt-in 6-8 axis pose look-ahead windowing with atomic
staging; dual-sourceread_cartesian_twist(ACS/MCS/PCS); 6-8 axis / 7DOF
SerialChainL5 closure with immutable nullspace preferences; and opt-in
scale-safe Euclidean linear path normalization. Independently audited and
approved by Codexgpt-6-astra. - Math-Max Step 4 (
KB-108, T6 + T11 pure-math control-physics operators):
Adds zero-allocation opt-inexec::MasterTrackingFilter(alpha-beta-gamma PLL
with Jury interior stability verification, rounding-free modulo unwrapping, and
phase-lead extrapolation),stream::InputShaper1D(exact discrete positive-weight
ZV/ZVD/ZVDD, branch-and-bound verified EI, and two-mode cascade), and
exec::PitchErrorTable/exec::BacklashCompensator1D(exponent-separated
PCHIP and natural C2 cubic spline with relative-accuracy inversion plus
overflow-safe hysteresis deadband with C2 quintic Hermite reversal).
Independently audited and approved by Codexgpt-6-astra. - Math-Max Step 5 (
KB-109, Y7b2b differential-manifold C2 Cartesian
aborting takeover):
Adds the non-ABI-breaking opt-inkin::TranslationPathDifferentialcompanion
(closed-form analyticaldq/ds,d^2q/ds^2, and global interval bounds for
2D/3D Gantry and 2R/2R+Z SCARA with zero finite differences in production),
axis::CartesianTakeoverPlanner(K=6 Pareto-compressed template table, exact
Rolle root-isolation polynomial checks, tick-by-tick replay, and Peano-kernel
tail proofs with Windows Release P99 submit WCET ~117-124 us <= 250 us), and
AxisGroupintegration preserving 1 IK/cycle,q_baseseed isolation,
dedicatedcartesian_connector_tcp_tube()readout, mid-connector re-entry,
and fail-closedGroupStop. Independently audited across 7 rounds and
approved by Codexgpt-6-astra. - V1 VMS Plant lockstep bridge (
KB-104):
Addstools/vms/vms_plant_bridge.py(plcopen.plant/v1stdio JSON Lines
lockstep protocol) and supportingpyplcopenbindings (set_power_feedback,
set_axis_info_inputs,submit_move_absolute, per-joint limits, and
read-onlyJointStreamSim.stopped()). - SO-ARM101 host tools and dropout-stop hardening (
KB-035):
Adds opt-in Linux/WSL2 read-only FeetechPINGdiscovery (IDs 1-6) and
offline command-only A/B CSV comparison tools, plus fixes for stationary-frame
re-triggering and provable 6-axis dropout-stop fallback.
Compatibility and migration
v0.22.0remains below 1.0. Public changes follow SemVer and are documented,
but ABI stability is not promised yet.kin::Kinematicsandkin::PoseKinematicsbase vtables are untouched, zero
RTTI is required, unbound plugins retain exact legacy rest-start behavior, and
all 18 frozen golden replay fixtures (2,409 samples) are bit-for-bit unchanged.plcopen::plcopencontinues to resolve to the rewrittencore/target.- Local Conan recipe and root vcpkg manifest track
0.22.0, while central
ConanCenter and vcpkg registry assets remain fixed atv0.20.0.
See the migration guide
for API and runtime-model changes.
Release artifacts
| Channel | Artifact |
|---|---|
| GitHub | Published source .zip / .tar.gz release for the C++17 header-only library, CMake install/export files, local Conan recipe, examples, and documentation: https://github.com/lusipad/plcopen/releases/tag/v0.22.0 |
| PyPI | Published pyplcopen==0.22.0 distribution with 20 wheels + 1 sdist, Requires-Python >=3.10: https://pypi.org/project/pyplcopen/0.22.0/ |
There are no standalone C++ platform installers or shared-library binaries.
Verification snapshot
| Gate | Status |
|---|---|
| Release title / URL | Published as v0.22.0 — Math-Max Control Core & Plant Bridge: https://github.com/lusipad/plcopen/releases/tag/v0.22.0 |
| Final annotated tag | Tag object 621b33c75df35fb5385161c75f4b1bb951e02cee -> target commit 4bcd0900ff1e8b02e5e82696d0afcececfe55b43 |
| Five version surfaces | Aligned to 0.22.0 (.version, CMakeLists.txt, pyproject.toml, conanfile.py, vcpkg.json) |
Final main CI gates (5/5 green) |
Windows 46740826237, Linux 46740826609 (E5 + GCC + Clang/clang-tidy + ARM64 QEMU), Language Tools 46740826345, Twin 46740826428, and Documentation 46740826168 |
| Local MSVC Debug / Release gates | Passed: MSVC Debug 109/109; Release Stage-5A Gantry 32/32 / SCARA 32/32, worst TCP tube 0.029958 <= 0.05, P99 117.30-124.40 us <= 250 us; Stage-5B 10/10; a2_alloc_guard 20,000 frozen cycles, 0 allocations; RT scan 38 files; 18 golden fixtures (2,409 samples) / 11/11 kernel replays; MkDocs strict 28 paired pages |
Independent Codex gpt-6-astra audits |
VERDICT: APPROVE on Step 3 (KB-107), Step 4 (KB-108), and Step 5 (KB-109, Round 7: 0 P0 / 0 P1 / 0 P2) |
| Tag-triggered wheels / PyPI publish | Passed: run 46748596726 (5/5 green); pyplcopen==0.22.0 live on PyPI (20 wheels + 1 sdist, not yanked) |
Known limits
- This is an embeddable kernel, not a complete PLC IDE or a complete IEC 61131-3
platform. - No PLCopen approval, Safety certification, SIL/PL claim, or official logo use is
included. - No stable ABI, no real-machine 72-hour evidence, and no long-term hardware
validation are claimed here. KB-109Cartesian takeover covers explicitly bound 2/3-axis plain absolute
translational LINE targets only; Pose/6R/7DOF spatial orientation groups,
Cartesian ARC/chain/window, blending, and dynamic PCS/tracking remain explicit
exclusions.tau_ff/kp/kdtorque consumption (T18), real EtherCAT bus integration
(F-track), and physical hardware commissioning (S1a/S1b, SO-ARM101 live
connection) remain separate hardware-gated tracks.- Central ConanCenter and vcpkg registry publication remains fixed at
v0.20.0.