Skip to content

Commit

Permalink
actually use the non-magic values
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Jul 22, 2024
1 parent db48d60 commit 07970d8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions api/src/opentrons/hardware_control/ot3api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2688,9 +2688,13 @@ async def liquid_probe(
pos = await self.gantry_position(checked_mount, refresh=True)
while (probe_start_pos.z - pos.z) < max_z_dist:
# safe distance so we don't accidentally aspirate liquid if we're already close to liquid
safe_plunger_pos = top_types.Point(pos.x, pos.y, pos.z + 2)
safe_plunger_pos = top_types.Point(
pos.x, pos.y, pos.z + probe_safe_reset_mm
)
# overlap amount we want to use between passes
pass_start_pos = top_types.Point(pos.x, pos.y, pos.z + 0.5)
pass_start_pos = top_types.Point(
pos.x, pos.y, pos.z + probe_pass_z_offset_mm
)
max_z_time = (
max_z_dist - (probe_start_pos.z - safe_plunger_pos.z)
) / probe_settings.mount_speed
Expand Down

0 comments on commit 07970d8

Please sign in to comment.