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
Member

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

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
holler added 1 commit 2026-10-26 14:09:43 +01:00
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
144c1eabf0
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
holler added 1 commit 2026-10-26 14:09:46 +01:00
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
d0e9df21a8
holler merged commit d0e9df21a8 into main 2026-10-26 14:13:50 +01:00
holler deleted branch fix/flomni_store_ref_images 2026-10-26 14:13:51 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bec/csaxs_bec#340