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

feat(api): introduce correction volume into the liquid classes based transfer flow #17322

Open
wants to merge 10 commits into
base: edge
Choose a base branch
from

Conversation

sanni-t
Copy link
Member

@sanni-t sanni-t commented Jan 22, 2025

Closes AUTH-964

Overview

Adds correctionVolume to protocol engine's aspirate and dispense commands and also adds it as argument to rest of the steps in the pipeline to get the correction volume value from the transfer flow to hardware controller.
The hardware controller will then wire it up to move the plunger in proportion to the correction volume.

Test Plan and Hands on Testing

For the PAPI part, unit and integration tests will be sufficient. If we include hardware control changes to wire up plunger movement, then an on-robot test should be performed.

Review requests

  • Mainly check if the hardware controller side changes are correct.

Risk assessment

Low

Copy link

codecov bot commented Jan 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.04%. Comparing base (0e7b516) to head (6875002).
Report is 9 commits behind head on edge.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             edge   #17322      +/-   ##
==========================================
+ Coverage   73.84%   79.04%   +5.19%     
==========================================
  Files          43      120      +77     
  Lines        3304     4587    +1283     
==========================================
+ Hits         2440     3626    +1186     
- Misses        864      961      +97     
Flag Coverage Δ
g-code-testing 92.43% <ø> (?)

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

see 77 files with indirect coverage changes

Copy link
Contributor

A PR has been opened to address analyses snapshot changes. Please review the changes here: #17337

@sanni-t sanni-t marked this pull request as ready for review January 24, 2025 16:09
@sanni-t sanni-t requested review from a team as code owners January 24, 2025 16:09
@sanni-t sanni-t removed the gen-analyses-snapshot-pr Generate a healing PR if the analyses snapshot test fails label Jan 24, 2025
@andySigler andySigler assigned andySigler and unassigned andySigler Jan 24, 2025
@andySigler andySigler self-requested a review January 24, 2025 20:30
if ul == 0:
position = instr.plunger_positions.bottom
else:
multiplier = 1.0 + (correction_volume / ul)
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 💣

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