Skip to content

Shake the portafilter at two opposing poses - #294

Merged
Ale Paredes (ale7714) merged 2 commits into
mainfrom
feat/portafilter-shake-both-sides
Aug 26, 2026
Merged

Shake the portafilter at two opposing poses#294
Ale Paredes (ale7714) merged 2 commits into
mainfrom
feat/portafilter-shake-both-sides

Conversation

@ale7714

Copy link
Copy Markdown
Member

The single shake leans the filter one way, so a puck packed against that side of the basket rides through it. The arm now shakes twice: once at coffee_shake, once at a new coffee_shake_left authored to lean the other way. A second pose rather than a rotation applied in code, because the mirrored position needs more than a theta offset and poses get taught on the machine, not derived.

This needs a config change before it ships. coffee_shake_left joins the required poses whenever portafilter_shake_sec is set, and validateConfiguredPoses runs at construction, so a machine with a shake configured and no left pose refuses to start with a pose-validation error. Teach and commit the pose first, or clear portafilter_shake_sec on machines that will not get one. Nothing verifies that the two poses actually lean opposite ways, or that the tilted filter clears the group head; that is on whoever authors the pose.

Unlock also takes longer by one travel plus one portafilter_shake_sec.

A puck stuck against one wall of the basket survives a shake that only ever leans one way, so the arm shakes once at coffee_shake and once at coffee_shake_left. Both poses become required whenever portafilter_shake_sec is set, so a machine with a shake configured but no coffee_shake_left fails pose validation at construction rather than mid-order.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Starting the left shake from wherever the right one ended would give it a different move out of the group head, and the point of the second pose is to repeat the first move mirrored.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@ale7714
Ale Paredes (ale7714) merged commit ff9d702 into main Aug 26, 2026
4 checks passed
@ale7714
Ale Paredes (ale7714) deleted the feat/portafilter-shake-both-sides branch August 26, 2026 21:19
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