Lamni lsamrot error retry #274

Merged
holler merged 2 commits from lamni_lsamrot_error_retry into main 2026-07-27 12:35:35 +02:00
2 Commits
Author SHA1 Message Date
x01dcandClaude Sonnet 5 4493330e9b config(LamNI): raise lsamrot move tolerance to 1 deg
CI for csaxs_bec / test (push) Successful in 1m51s
CI for csaxs_bec / test (pull_request) Successful in 5m23s
Default was 0.5 (LamniGalilMotor's built-in fallback); this is the
tolerance used both by the normal move-success check and by the new
auto-retry logic. Applied to both the real deployment and the
simulated deployment config.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-27 10:12:41 +02:00
x01dcandClaude Sonnet 5 0b4a25c050 feat(LamNI): auto-retry lsamrot moves after a Galil safety-thread trip
CI for csaxs_bec / test (push) Successful in 1m51s
A safety thread on the LAMNI Galil controller supervises air pressure and
capacitive-sensor feedback for the rotation stage; a spurious trip drops
allaxref and sets allaxrer/caperr, failing every subsequent lsamrot move
until manually cleared with allaxrer=1/caperr=0/allaxref=1.

LamniGalilMotor.move() now resets those latches and retries once, scoped
to lsamrot only via LamniGalilController.reset_axis_errors() -- other
axes on the shared controller keep today's behavior unchanged, and a
persisting fault still surfaces as a failure after the single retry.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-27 09:38:54 +02:00