Skip to content

STARBackend: anchor iSWAP move_y to EEPROM parking pose#1024

Open
BioCam wants to merge 3 commits intoPyLabRobot:mainfrom
BioCam:utilise-iswap-home-position-as-max-y
Open

STARBackend: anchor iSWAP move_y to EEPROM parking pose#1024
BioCam wants to merge 3 commits intoPyLabRobot:mainfrom
BioCam:utilise-iswap-home-position-as-max-y

Conversation

@BioCam
Copy link
Copy Markdown
Collaborator

@BioCam BioCam commented May 2, 2026

Tame the iSWAP - Part 10

Replaces extended_conf.pip_maximal_y_position (PIP channel envelope, 606.5 mm default) with the EEPROM-stored iSWAP parking pose (py["parking"], per-machine) as the upper bound in iswap_rotation_drive_move_y.

The previous validator rejected legitimate iSWAP positions past the PIP channel reach, blocking parking moves on every machine where parking sits beyond pip_maximal_y_position.

Parking value is cached at set_up_iswap() alongside _iswap_rotation_drive_x_offset_mm.
Lower bound and the make_space channel-collision logic below are unchanged.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates STARBackend’s iSWAP rotation-drive Y validation to use the per-machine EEPROM “parking” Y position as the upper bound, avoiding false rejections when parking lies beyond the PIP channel envelope.

Changes:

  • Add cached backend state for iSWAP rotation-drive maximum Y (parking pose) and load it during setup().
  • Implement EEPROM read helper to fetch py["parking"] from predefined iSWAP Y positions.
  • Update iswap_rotation_drive_move_y() to validate against the cached parking Y instead of extended_conf.pip_maximal_y_position.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pylabrobot/liquid_handling/backends/hamilton/STAR_backend.py Outdated
Comment thread pylabrobot/liquid_handling/backends/hamilton/STAR_backend.py
rickwierenga and others added 2 commits May 1, 2026 17:21
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.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.

3 participants