fix(flomni): save a gripper reference image at the empty/occupied checks #340

Merged
holler merged 2 commits from fix/flomni_store_ref_images into main 2026-10-26 14:13:50 +01:00
2 Commits
Author SHA1 Message Date
holler d0e9df21a8 Merge branch 'main' into fix/flomni_store_ref_images
CI for csaxs_bec / test (pull_request) Successful in 3m24s
Read the Docs Deploy Trigger / trigger-rtd-webhook (push) Successful in 2s
CI for csaxs_bec / test (push) Successful in 3m27s
2026-10-26 14:09:46 +01:00
x01dcandClaude Sonnet 5 144c1eabf0 fix(flomni): save a gripper reference image at the empty/occupied checks
CI for csaxs_bec / test (push) Successful in 1m54s
CI for csaxs_bec / test (pull_request) Failing after 2m42s
ftransfer_get_sample()/ftransfer_put_sample() only ever saved a gripper
camera image at the final "All OK?" confirm, never at the earlier
automated "is there a sample in the gripper" check -- so there was no
visual record of the gripper state when that check failed and aborted
the transfer. Extract the existing image-capture logic (used by
ftransfer_confirm) into _ftransfer_capture_gripper_image() and call it
at both gripper-state decision points, before the FlomniError is raised.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QLrD7sVYGLAzsQjLVJpCgt
2026-09-06 13:41:15 +02:00