v1.4.0 — auton selector, slew limiter, host tests
Added
clockwork::AutonSelector— a controller-driven autonomous selector. Register routines by name, scroll them with the D-pad before the match, see the pick on the controller and brain screens, andrun()the choice inautonomous(). Core PROS only (no liblvgl / LLEMU).clockwork::SlewRateLimiter— ramps a value toward a target by a fixed step per call. Smooths driver throttle (no wheelies or brownouts) or eases a flywheel up to speed.- Host test suite — the pure-logic classes (
PIDController,SlewRateLimiter) now have tests you run on your computer withmake testortest/run.sh. No PROS install, no V5 brain. 15 checks, all green.
Docs
- New sections on the docs website and in the README for the selector, the slew limiter, and testing.
Install
pros c add-depot clockwork https://raw.githubusercontent.com/AkshobyaRaoSWE/clockwork-lib/main/depot.json
pros c apply clockworkFull changelog: CHANGELOG.md