Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(api): ignore non-present axes in unsafe cmds #16982

Closed
wants to merge 1 commit into from

Conversation

sfoster1
Copy link
Member

Not all motion axes are always present on machines. For instance, if you have just one pipette present, then you won't have a right plunger motor. This presents a problem for the unsafe/engageAxes and unsafe/updatePositionEstimators commands, which weren't properly handling the case where these axes were specified when not present and the machine was a Flex, where "not present" means "no microcontroller there to respond". While we'd properly handle this case when a 96 was present, or when a gripper was absent, in the single low-throughput pipette case calling unsafe/engageAxes or
unsafe/updatePositionEstimators would time out because the right pipette node wasn't present. This would cause drop tip wizard to fail.

Testing

  • On a flex with a single low-throughput (e.g. not 96) pipette attached, run drop tip wizard (shouldn't matter whether during error recovery or post-protocol). Before this PR, blowing out should fail; after this PR, it should not.

Not all motion axes are always present on machines. For instance, if you
have just one pipette present, then you won't have a right plunger
motor. This presents a problem for the unsafe/engageAxes and
unsafe/updatePositionEstimators commands, which weren't properly
handling the case where these axes were specified when not present and
the machine was a Flex, where "not present" means "no microcontroller
there to respond". While we'd properly handle this case when a 96 was
present, or when a gripper was absent, in the single low-throughput
pipette case calling unsafe/engageAxes or
unsafe/updatePositionEstimators would time out because the right pipette
node wasn't present. This would cause drop tip wizard to fail.
@sfoster1 sfoster1 requested a review from a team as a code owner November 26, 2024 15:40
Copy link
Contributor

@TamarZanzouri TamarZanzouri left a comment

Choose a reason for hiding this comment

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

looks good! thank you for fixing this!

@sfoster1 sfoster1 closed this Nov 26, 2024
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.

2 participants