fix(shared-data): Zero out cornerOffsetFromSlot in opentrons_tough_pcr_auto_sealing_lid #17723
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
Currently,
opentrons_tough_pcr_auto_sealing_lid
has acornerOffsetFromSlot
of (0, 0, -0.71). So, hypothetically, if you placed it in a deck slot, its bottom would be 0.71 mm "underground," below the deck. This seems wrong.It seems like this was part of a snafu related to gripper offsets. Investigation is ongoing in EXEC-1268, which you should read for some background. But it seems clear at this point that
cornerOffsetFromSlot
, at least, ought to be zero.Test Plan and Hands on Testing
Changelog
Zero out
cornerOffsetFromSlot
in the as-yet-unreleased v2 of this definition.Zero out
cornerOffsetFromSlot
in v1 of this definition, which has already been released.This is "bad"; we should usually not change definitions retroactively like this. I think it's justified in this case because someday we will fix EXEC-1285 (intentionally or not), so if we leave the offset in place, we're setting ourselves up for a change in behavior in the future. Better to nip it in the bud now, when this feature is still new.
Also, @CaseyBatten changed the definition in fix(api, shared-data): Pick up tc lid directly off deck slot fix #17683, and if he can do it then so can I. :P
But this isn't a hill I'll die on. I'm happy to keep the offset in the v1 definition if we accept the risk of it making more of a mess in the future.
Review requests
Risk assessment
Low.