An update to prevent double homing for each attempt.
Add a prehome before attempt loop and store home pos in _posttest for the next attempt.
Reduce the speed/acceleration for the positioning movement: if these values are not adjusted in the klipper configuration before measuring them, we can lose step in the positioning before each attempt and this will disturb the measurement.
An update to prevent double homing for each attempt. Add a prehome before attempt loop and store home pos in _posttest for the next attempt.
Reduce the speed/acceleration for the positioning movement: if these values are not adjusted in the klipper configuration before measuring them, we can lose step in the positioning before each attempt and this will disturb the measurement.