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(hardware): gripper calibration fix #15630

Merged
merged 5 commits into from
Jul 11, 2024
Merged

Conversation

caila-marashaj
Copy link
Contributor

@caila-marashaj caila-marashaj commented Jul 11, 2024

Overview

There was a refactor a little while ago that sought to enable capacitive probing using the pipette for liquid level detection- in that endeavor we also broke the gripper's capacitive probing. This fixes that and should still allow us to do capacitive probing with a pipette.

Closes RQA-218

Changelog

  • only optionally add a tool entry to the move groups associated with the probing motion
  • when a pipette is present, add a move for the plunger but give it 0 distance and 0 velocity- this way the plunger won't actually move and risk damaging the pressure sensor, but the move group will still be able to interact directly with the sync line

Test Plan

  • calibrate a gripper successfully
  • calibrate a single channel pipette successfully
  • calibrate a multi channel pipette successfully
  • calibrate a 96 channel pipette successfully

@caila-marashaj caila-marashaj requested a review from a team as a code owner July 11, 2024 18:21
@@ -538,6 +537,8 @@ async def capacitive_probe(
"""
log_files: Dict[SensorId, str] = {} if not data_files else data_files
sensor_driver = SensorDriver()
pipette_present = tool is NodeId.pipette_left or tool is NodeId.pipette_right
Copy link
Contributor

Choose a reason for hiding this comment

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

pipette_present = tool is in [NodeId.pipette_left, NodeID.pipette_right]

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks good otherwise besides this little nit

Copy link
Contributor

@ryanthecoder ryanthecoder 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

Copy link
Contributor

@ahiuchingau ahiuchingau left a comment

Choose a reason for hiding this comment

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

Agreed with Ryan's point above.

Great job fixing this so quickly!

@caila-marashaj caila-marashaj merged commit ec3912a into edge Jul 11, 2024
21 checks passed
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