Skip to content

clockwork 1.2.0

Choose a tag to compare

@AkshobyaRaoSWE AkshobyaRaoSWE released this 05 Jul 06:02

Adds wall-align, relative turn, and intake brake/anti-jam helpers.

New

  • Motion::turnBy(degrees, timeoutMs, maxSpeed) — relative turn via the chassis angular PID
  • Motion::driveUntilStalled(power, timeoutMs, headingKp) — drive until stalled (odometry-based); returns whether it stalled
  • Roller::hold() — brake-hold in place
  • Roller::stalled(velThreshold) — query stall for anti-jam

Docs: detailed README, CHANGELOG, EXAMPLES, CONTRIBUTING, issue/PR templates.

Install

pros c add-depot clockwork https://raw.githubusercontent.com/AkshobyaRaoSWE/clockwork-lib/main/depot.json
pros c apply clockwork