finds.dev

stefanbesler/struckig

Full port of pantor ruckig library (Community version) to IEC 61131-3 Structured Text. Online Trajectory Generation. Real-time. Time-optimal. Jerk-constrained.

View on GitHubHomepage ↗

★ 104PythonGPL-3.0updated Sep 2026

// the take

Struckig is a Structured Text port of the Community edition of ruckig, the online trajectory generator, for TwinCAT 3 PLCs. It is aimed at machine builders who need jerk-limited, time-optimal single-axis and synchronized multi-axis motion inside a fixed PLC task cycle, without writing their own profile math. The ruckig Pro features are not included.

The interface matches the PLC loop: you instantiate Otg with a cycle time and DOF count, call it once per cycle, and map NewPosition, NewVelocity and NewAcceleration to the axis. Synchronization is covered beyond a single-axis demo, with time sync and phase sync and worked examples for synchronized waypoints. The tests are real TcUnit suites covering known examples, generated cases and random cases, and the repo ships a benchmark harness with a plotting script.

Everything is tied to TwinCAT 3 and the Beckhoff toolchain, so the examples and unit tests cannot run from a plain host, and CI depends on zkbuild. The GPLv3 license means closed-source machine code needs the commercial license, which is a real decision for OEM builders and the README does not settle it. The port tracks a pinned ruckig submodule, so upstream fixes arrive only when someone ports them by hand, and the SmoothBrake flag deliberately departs from upstream behavior, so check it before comparing outputs against reference ruckig results. At 104 stars, the maintenance burden rests on a small project, which matters for anything you would depend on in production.

We read the README, the directory tree and a key source file in October 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
104
Forks
16
Language
Python
License
GPL-3.0
Last commit
26 Sep 2026

// nearby

If struckig isn't quite it.

All repos →