Skip to content

fix(liquid-handling): report committed tip state from chatterbox sensors - #1207

Open
VivienP wants to merge 1 commit into
PyLabRobot:mainfrom
VivienP:fix/chatterbox-tip-presence-recovery
Open

fix(liquid-handling): report committed tip state from chatterbox sensors#1207
VivienP wants to merge 1 commit into
PyLabRobot:mainfrom
VivienP:fix/chatterbox-tip-presence-recovery

Conversation

@VivienP

@VivienP VivienP commented Aug 17, 2026

Copy link
Copy Markdown

Summary

  • Chatterbox request_tip_presence() read pending has_tip, so LiquidHandler error recovery committed failed pickups and drops.
  • Add TipTracker.has_committed_tip and use it for simulated sleeve sensors (generic chatterbox and STAR chatterbox, including head96).
  • Independent of fix(resources): make TipTracker.get_tip use pending state #1206 (get_tip() pending-state alignment). Hardware UNKNOWN/UNCERTAIN handling is out of scope.

Test plan

  • python -m pytest pylabrobot/resources/tip_tracker_tests.py pylabrobot/legacy/liquid_handling/backends/chatterbox_tests.py pylabrobot/legacy/liquid_handling/liquid_handler_tests.py -q
  • Failed pickup/drop on chatterbox leaves committed head state unchanged

request_tip_presence used pending has_tip, so recovery committed failed pickups and drops. Add TipTracker.has_committed_tip and query that instead.

Co-authored-by: Cursor <cursoragent@cursor.com>
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