Anonoei / klipper_auto_speed

Klipper module for automatically calculating your printer's maximum acceleration/velocity
MIT License
198 stars 18 forks source link

Suppress double home for each attempt #5

Closed elpopo-eng closed 9 months ago

elpopo-eng commented 9 months ago

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.

Anonoei commented 9 months ago

Reducing the accel/velocity is a good addition! I'll test home_steps on my printer and then merge. Thank you!