Skip to content

Commit 939bd6d

Browse files
committed
use default probe settings
1 parent c272d39 commit 939bd6d

File tree

1 file changed

+17
-14
lines changed
  • hardware-testing/hardware_testing/production_qc/pipette_assembly_qc_ot3

1 file changed

+17
-14
lines changed

hardware-testing/hardware_testing/production_qc/pipette_assembly_qc_ot3/__main__.py

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@
5858
Axis,
5959
)
6060

61+
from opentrons.config.defaults_ot3 import DEFAULT_LIQUID_PROBE_SETTINGS
62+
6163
DEFAULT_SLOT_TIP_RACK_1000 = 7
6264
DEFAULT_SLOT_TIP_RACK_200 = 4
6365
DEFAULT_SLOT_TIP_RACK_50 = 1
@@ -1717,20 +1719,21 @@ async def _test_liquid_probe(
17171719
await _move_to_above_plate_liquid(api, mount, probe, height_mm=hover_mm)
17181720
start_pos = await api.gantry_position(mount)
17191721
probe_cfg = PROBE_SETTINGS[pip_vol][tip_volume]
1720-
probe_settings = LiquidProbeSettings(
1721-
starting_mount_height=start_pos.z,
1722-
max_z_distance=max_z_distance_machine_coords, # FIXME: deck coords
1723-
min_z_distance=0, # FIXME: remove
1724-
mount_speed=probe_cfg.mount_speed,
1725-
plunger_speed=probe_cfg.plunger_speed,
1726-
sensor_threshold_pascals=probe_cfg.sensor_threshold_pascals,
1727-
expected_liquid_height=0, # FIXME: remove
1728-
log_pressure=False, # FIXME: remove
1729-
aspirate_while_sensing=False, # FIXME: I heard this doesn't work
1730-
auto_zero_sensor=True, # TODO: when would we want to adjust this?
1731-
num_baseline_reads=10, # TODO: when would we want to adjust this?
1732-
data_file="", # FIXME: remove
1733-
)
1722+
# probe_settings = LiquidProbeSettings(
1723+
# starting_mount_height=start_pos.z,
1724+
# max_z_distance=max_z_distance_machine_coords, # FIXME: deck coords
1725+
# min_z_distance=0, # FIXME: remove
1726+
# mount_speed=probe_cfg.mount_speed,
1727+
# plunger_speed=probe_cfg.plunger_speed,
1728+
# sensor_threshold_pascals=probe_cfg.sensor_threshold_pascals,
1729+
# expected_liquid_height=0, # FIXME: remove
1730+
# log_pressure=False, # FIXME: remove
1731+
# aspirate_while_sensing=False, # FIXME: I heard this doesn't work
1732+
# auto_zero_sensor=True, # TODO: when would we want to adjust this?
1733+
# num_baseline_reads=10, # TODO: when would we want to adjust this?
1734+
# data_file="", # FIXME: remove
1735+
# )
1736+
probe_settings = DEFAULT_LIQUID_PROBE_SETTINGS
17341737
try:
17351738
end_z = await api.liquid_probe(mount, probe_settings, probe=probe)
17361739
except Exception as eee:

0 commit comments

Comments
 (0)