Skip to content

Commit 273b3f4

Browse files
committed
actually use the non-magic values
1 parent 59d8442 commit 273b3f4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

api/src/opentrons/hardware_control/ot3api.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2699,9 +2699,13 @@ async def liquid_probe(
26992699
pos = await self.gantry_position(checked_mount, refresh=True)
27002700
while (probe_start_pos.z - pos.z) < max_z_dist:
27012701
# safe distance so we don't accidentally aspirate liquid if we're already close to liquid
2702-
safe_plunger_pos = top_types.Point(pos.x, pos.y, pos.z + 2)
2702+
safe_plunger_pos = top_types.Point(
2703+
pos.x, pos.y, pos.z + probe_safe_reset_mm
2704+
)
27032705
# overlap amount we want to use between passes
2704-
pass_start_pos = top_types.Point(pos.x, pos.y, pos.z + 0.5)
2706+
pass_start_pos = top_types.Point(
2707+
pos.x, pos.y, pos.z + probe_pass_z_offset_mm
2708+
)
27052709
max_z_time = (
27062710
max_z_dist - (probe_start_pos.z - safe_plunger_pos.z)
27072711
) / probe_settings.mount_speed

0 commit comments

Comments
 (0)