pylabrobot.paa.kx2.KX2.find_with_proximity_sensor#

async KX2.find_with_proximity_sensor(start: Coordinate, end: Coordinate, *, max_gripper_speed: float = 25.0, max_gripper_acceleration: float = 100.0) → Coordinate#

Sweep a straight Cartesian segment until the beam trips; retain the measured yaw.

Sensor polling and adapter latency affect stopping distance. Use the Z search when the drive’s local input stop is needed. No unrelated fault is cleared after a search.

Parameters:
Return type:

Coordinate