diff --git a/api/src/opentrons/hardware_control/ot3api.py b/api/src/opentrons/hardware_control/ot3api.py index c2f44464c1a..a0d004e4697 100644 --- a/api/src/opentrons/hardware_control/ot3api.py +++ b/api/src/opentrons/hardware_control/ot3api.py @@ -2655,15 +2655,16 @@ async def liquid_probe( probe_start_pos = await self.gantry_position(checked_mount, refresh=True) # plunger travel distance is from TOP->BOTTOM (minus the backlash distance + impulse) + # FIXME: logic for how plunger moves is divided between here and tool_sensors.py p_impulse_mm = ( probe_settings.plunger_impulse_time * probe_settings.plunger_speed ) p_total_mm = ( instrument.plunger_positions.bottom - instrument.plunger_positions.top ) - p_working_mm = p_total_mm - (instrument.backlash_distance - p_impulse_mm) + p_working_mm = p_total_mm - (instrument.backlash_distance + p_impulse_mm) - # NOTE: (sigler) the 0.5 seconds is indeed a magic number, edit carefully. + # NOTE: (sigler) Here lye some magic numbers. # The Z axis probing motion uses the first 20 samples to calculate # a baseline for all following samples, making the very beginning of # that Z motion unable to detect liquid. The sensor is configured for