-
Notifications
You must be signed in to change notification settings - Fork 179
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(shared-data): update flex fixed-trash for dvt #12532
Conversation
Codecov Report
@@ Coverage Diff @@
## edge #12532 +/- ##
==========================================
+ Coverage 73.30% 73.61% +0.30%
==========================================
Files 1506 2266 +760
Lines 49351 62356 +13005
Branches 2997 6597 +3600
==========================================
+ Hits 36177 45901 +9724
- Misses 12718 14886 +2168
- Partials 456 1569 +1113
Flags with carried forward coverage won't be shown. Click here to find out more. |
@@ -27,10 +27,10 @@ | |||
"yDimension": 165.67, | |||
"xDimension": 107.11, | |||
"totalLiquidVolume": 3200000, | |||
"depth": 187.5, | |||
"depth": 172.5, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The trash z dimension is 15mm more than the depth, so I'm assuming that's the thickness of the trash bottom material. Is that correct?
"x": 105.375, | ||
"y": 39.875, | ||
"z": 0 | ||
"z": -132.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this means the trash goes 132.5mm below the deck, ya? But the cornerOffsetFromSlot
has a z offset of -94.. I think these two should be the same so not sure which one needs to be corrected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh I think I need to update the corner offset then
We should keep an eye out for motion planning accidentally clamping z-coordinates to 0. We should also probably figure out a number for the lowest possible z that a pipette can move to, the same way we already have that for the highest possible z. |
This fixed trash bin has changed shapes.
8ea2d35
to
05ff8a4
Compare
It looks like that's stemming from the fact that the well opentrons/shared-data/labware/schemas/2.json Lines 235 to 236 in 970036b
Which makes sense.
Reading the schema docs more closely, I think
In other words, I think the well's |
Good catch! This is correct. Verified by calculating position of top of the trash well the way engine calculates it and it works correctly for |
That makes sense, thank you! I think though that we need changes like you mentioned @SyntaxColoring about minimum z positions before we allow a negative position that large, just in case someone tries to go to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally I would like to get the true measurements for the trash bin in there.
That said, I don’t think we have any code in place that will prevent the pipette from trying to go to fixed_trash.bottom() which would be a problem so I can see the pros of using the above-deck-only approach.
But I hope we do follow-up with true measurements + restricting the pipette from trying to reach the bin bottom (either by clipping the pipette travel distance to max allowed or by having the API raise a user-friendly error instead of relying on hardware control's axis limit errors) because you can still specify something like well.bottom(-50)
with the current above-deck-only measurements and run into an error.
Definitely agree. And we want sub-deck stuff for calibration structures. |
This fixed trash bin has changed shapes.
Review requests
testing