mirror of
https://github.com/Klipper3d/klipper.git
synced 2026-05-06 17:07:05 +02:00
probe_eddy_current: Increase "tap" calculation precision to 50nm
Continue to run least squares evaluations until the uncertainty range is within 50 nanometers (reduced from 250nm). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -666,7 +666,7 @@ class EddyTap:
|
||||
max_z = samples[-1][0]
|
||||
best_err = sys.float_info.max
|
||||
best_coeffs = [0., 0., 0., 0.]
|
||||
while max_z - min_z > 0.000250:
|
||||
while max_z - min_z > 0.000050:
|
||||
# Select z value to check
|
||||
mid_z = (min_z + max_z) * .5
|
||||
if best_z < mid_z:
|
||||
|
||||
Reference in New Issue
Block a user