Skip to content

Carry the active motion profile in the status stream - #56

Open
Jepson2k wants to merge 3 commits into
mainfrom
fix/preview-motion-profile
Open

Jepson2k wants to merge 3 commits into
mainfrom
fix/preview-motion-profile

Conversation

@Jepson2k

Copy link
Copy Markdown
Collaborator

The status stream now carries the active motion profile, as an index into ProfileType. A client decodes it as motion_profile, the field added by Jepson2k/waldoctl (branch fix/preview-motion-profile). An absent or unknown index decodes as None, so older peers keep working.

Waldo-Commander previews each program with this profile (Jepson2k/Waldo-Commander#87). The stream also follows changes made by a program's select_profile and by reset_state(), without a query that would hold the request lock a stop waits on.

Tests

  • test_status_tracks_profile_selection_and_reset: a second client watching status sees QUINTIC after select_profile(\"QUINTIC\") and TOPPRA after reset_state(). The snapshot keeps the field.
  • tests/integration/test_profile_commands.py: 19 passed locally.

🤖 Generated with Claude Code

https://claude.ai/code/session_016uVshJDKTz7nCqrMGVxVJU

Clients can show and preview with the profile the controller runs,
including after a reset or a program's select_profile, without a query
that would hold the request lock a stop waits on. Older peers decode
it as unknown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uVshJDKTz7nCqrMGVxVJU
Jepson2k and others added 2 commits October 15, 2026 04:36
The interface declares robot as a waldoctl Robot, so a setter narrowed to
parol6's Robot is an invalid override to current ty. Same change as #55.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uVshJDKTz7nCqrMGVxVJU
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.

1 participant