From 07970d854bf910e805414ac9f6a6d1117852140a Mon Sep 17 00:00:00 2001 From: Ryan howard Date: Mon, 22 Jul 2024 11:45:39 -0400 Subject: [PATCH] actually use the non-magic values --- api/src/opentrons/hardware_control/ot3api.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/api/src/opentrons/hardware_control/ot3api.py b/api/src/opentrons/hardware_control/ot3api.py index a7b40ddcf6c..20fd1621590 100644 --- a/api/src/opentrons/hardware_control/ot3api.py +++ b/api/src/opentrons/hardware_control/ot3api.py @@ -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