Skip to content

Conversation

@rickwierenga
Copy link
Member

No description provided.

@rickwierenga rickwierenga force-pushed the STARBackend.move_iswap_y_relative-safety-check branch from 4a957a2 to d09962d Compare September 30, 2025 16:26
@rickwierenga
Copy link
Member Author

  • introduces STARBackend.iswap_request_module_y method to request the current position of the iswap module (not gripper)
  • checks whether bringing the iswap forward will crash into the first channel
  • checks whether brining the first channel backward will crash into the iswap

@rickwierenga rickwierenga changed the title STARBackend.move_iswap_y_relative channel 0 collision check STAR iswap & channel 0 collision checks Oct 1, 2025
@rickwierenga rickwierenga merged commit 0bd219f into main Oct 1, 2025
6 of 7 checks passed
@rickwierenga rickwierenga deleted the STARBackend.move_iswap_y_relative-safety-check branch October 1, 2025 21:00
mm_per_increment = 0.046302083
return round(y_inc * mm_per_increment, 2)

async def iswap_request_module_y(self) -> float:
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a duplication and already exists in PyLabRobot since #666

Copy link
Member Author

Choose a reason for hiding this comment

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

thanks, I forgot this exists

)

@staticmethod
def _iswap_y_inc_to_mm(y_inc: int) -> float:
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a duplication as well, and has existed in PyLabRobot as y_drive_increment_to_mm for a while

Copy link
Member Author

Choose a reason for hiding this comment

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

I thought this is for pip channels, but the conversion is actually the same

rickwierenga added a commit that referenced this pull request Oct 1, 2025
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