Skip to content

Define execution speed and explicit pause contracts - #32

Merged
Jepson2k merged 12 commits into
mainfrom
feat/execution-speed-override
Sep 18, 2026
Merged

Jepson2k merged 12 commits into
mainfrom
feat/execution-speed-override

Conversation

@Jepson2k

@Jepson2k Jepson2k commented Sep 7, 2026 •

Copy link
Copy Markdown
Owner

Add execution speed control for slowing queued trajectories from 100% to 10%, with explicit pause() and resume(). All four methods are required of every client. Selecting a speed preserves pause; zero is rejected by the speed setter.

ExecutionSpeed distinguishes the selected resume value, requested target, and currently applied value. A pause request can be acknowledged before the controller has decelerated to a hold. The shared package supplies contracts and validation; the backends own execution and transport.

Depends on #31. Coordinated backend and Commander changes use feat/execution-speed-override.

Validated by contract use through both backends' protocol, preview, and simulated execution tests; all waldoctl lint, formatting, and type checks pass.

Companion PRs: PAROL6 #45, PAR6 #75, Commander #58.

Jepson2k and others added 9 commits September 11, 2026 05:20
…on it holds

Both backends already broadcast how many seconds of planned motion remain;
declaring it lets a managed wait size its patience from the controller's
own plan rather than a fixed deadline. pause()/stop()/reset_state()
document that Stop, Estop and reset clear a standing pause with the queue
it was holding.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…cution-speed-override

# Conflicts:
#	src/waldoctl/client.py
pause, resume, set_execution_speed and this branch's stop act on the queue
rather than adding to it, and execution_speed reads state a plan knows. The
conformance test refuses an unclassified method, which is what caught them
arriving unclassified from this branch.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
A stray duplicate marker left set_execution_speed flagged as cancelling, so
the stepping wrapper would have sent a speed change past the blend barrier
the way it sends a Stop.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…-override

# Conflicts:
#	src/waldoctl/__init__.py
@Jepson2k
Jepson2k marked this pull request as ready for review September 17, 2026 22:33
Both backends scale queued trajectories and hold them on request, so
the four methods are part of the contract rather than stubs a backend
may leave unimplemented.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N8zt66KjkzgZLtQuSfJd9r
@Jepson2k
Jepson2k changed the base branch from feat/camera-calibration-data to main September 18, 2026 01:56
@Jepson2k
Jepson2k merged commit bca67bc into main Sep 18, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants