Skip to content

ROM soak: limit the 5° inset to wrist_2 and wrist_3 - #328

Merged
shawnpatel merged 1 commit into
mainfrom
rom-offset-wrist-only
Sep 25, 2026
Merged

shawnpatel merged 1 commit into
mainfrom
rom-offset-wrist-only

Conversation

@shawnpatel

Copy link
Copy Markdown
Member

Summary

#327 made diag.rom-enable stop 5° short of every joint limit. Only wrist_2 and wrist_3 need that margin; the shoulders, elbow and wrist_1 go back to sweeping their full limits as before.

  • almond_axol/diagnostics/rom/enable.py: new ROM_INSET_JOINTS = {WRIST_2, WRIST_3}; ROM_LIMIT_MARGIN (5°) is applied only to those. Shoulder/elbow limits are imported straight from robot/axol.py again.
  • docs/cli/diag-rom-enable.mdx: describes the wrist-only inset.
  • tests/test_rom_limit_margin.py: asserts only wrist_2/wrist_3 are inset, and that every other joint's sweep reaches its exact limit.

Test plan

  • uv run pytest tests/test_rom_limit_margin.py tests/test_rom_partial_arm.py
  • ruff check / ruff format --check
  • Run diag.rom-enable on hardware

🤖 Generated with Claude Code

#327 inset every joint's sweep by ROM_LIMIT_MARGIN. Only wrist_2 and
wrist_3 need it; the shoulders, elbow and wrist_1 go back to sweeping
their full limits as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
axol Ready Ready Preview Sep 25, 2026 2:12am UTC

Request Review

@shawnpatel
shawnpatel merged commit 9a5d619 into main Sep 25, 2026
5 checks passed
@shawnpatel
shawnpatel deleted the rom-offset-wrist-only branch September 25, 2026 02:15

This branch was successfully deployed

1 active deployment
Preview — 396bf7ef Deployed Sep 25, 2026 by vercel[bot]
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