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): disable motors during the pipette attach and detach position #12772

Merged

Conversation

Laura-Danielle
Copy link
Contributor

Overview

We don't know what pipettes are attached on the hardware controller side until we actually detect
the pipette. This means that when the 96 channel gets attached for the first time the mount falls
because there isn't enough current on the head motors to support it. We should instead
auto-disengage all the ZA motors which will trigger the ebrake on the head board.

The motors will get re-enabled as soon as any movement is issued.

We don't know what pipettes are attached on the hardware controller side until we actually detect
@Laura-Danielle Laura-Danielle requested a review from a team May 23, 2023 19:54
@Laura-Danielle Laura-Danielle requested a review from a team as a code owner May 23, 2023 19:54
Copy link
Member

@sfoster1 sfoster1 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, though maybe at some point want to make the axis more specific

@@ -72,6 +72,7 @@ async def execute(
critical_point=CriticalPoint.MOUNT,
)

await self._hardware_api.disengage_axes([Axis.Z, Axis.A])
Copy link
Member

Choose a reason for hiding this comment

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

Axis.of_mount(hardware_mount)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Gonna hold off on this and make the change in the both pr

@codecov
Copy link

codecov bot commented May 23, 2023

Codecov Report

Merging #12772 (28eb29a) into internal-release_0.9.0 (4c68ff5) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@                   Coverage Diff                   @@
##           internal-release_0.9.0   #12772   +/-   ##
=======================================================
  Coverage                   73.36%   73.36%           
=======================================================
  Files                        2295     2295           
  Lines                       63076    63076           
  Branches                     6858     6858           
=======================================================
  Hits                        46273    46273           
  Misses                      15180    15180           
  Partials                     1623     1623           
Flag Coverage Δ
g-code-testing 96.44% <ø> (ø)
notify-server 89.13% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@Laura-Danielle Laura-Danielle merged commit a0edb21 into internal-release_0.9.0 May 23, 2023
@Laura-Danielle Laura-Danielle deleted the move_to_maintenance_disable_motors branch May 23, 2023 21:03
Laura-Danielle added a commit that referenced this pull request May 25, 2023
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