probe_eddy_current: show noise at distinct calibration points
Some checks failed
Build test / build (push) Has been cancelled

Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
This commit is contained in:
Timofey Titovets 2025-11-24 21:46:58 +01:00 committed by KevinOConnor
parent a40beb7b1b
commit 8b58aa1302

View file

@ -195,6 +195,13 @@ class EddyCalibration:
freq_list = [freq for _, freq, _, _ in filtered]
freq_diff = max(freq_list) - min(freq_list)
gcode.respond_info("Total frequency range: %.3f Hz\n" % (freq_diff))
points = [0.25, 0.5, 1.0, 2.0, 3.0]
for pos, _, mad_hz, mad_mm in filtered:
if len(points) and points[0] <= pos:
points.pop(0)
msg = "z_offset: %.3f # noise %.6fmm, MAD_Hz=%.3f\n" % (
pos, mad_mm, mad_hz)
gcode.respond_info(msg)
return filtered
def post_manual_probe(self, kin_pos):
if kin_pos is None: