diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-02-16 13:30:49 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-02-16 13:30:49 -0500 |
commit | c128a9dfd5fc4aceaf67c4212c5323edb4f34068 (patch) | |
tree | e9cc172bd905a6ced1be090df7efc34e929bc1c0 /klippy/extras/delta_calibrate.py | |
parent | 6dc623b35d6c26043477d9bd11779134d231379c (diff) | |
download | kutter-c128a9dfd5fc4aceaf67c4212c5323edb4f34068.tar.gz kutter-c128a9dfd5fc4aceaf67c4212c5323edb4f34068.tar.xz kutter-c128a9dfd5fc4aceaf67c4212c5323edb4f34068.zip |
probe: Increase calibration log level from debug to info
Output more information by default from the bed_tilt and
delta_calibrate commands.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/delta_calibrate.py')
-rw-r--r-- | klippy/extras/delta_calibrate.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/klippy/extras/delta_calibrate.py b/klippy/extras/delta_calibrate.py index 7953493c..b65a7815 100644 --- a/klippy/extras/delta_calibrate.py +++ b/klippy/extras/delta_calibrate.py @@ -40,9 +40,9 @@ class DeltaCalibrate: return kin.get_stable_position() def finalize(self, positions): kin = self.printer.lookup_object('toolhead').get_kinematics() - logging.debug("Got: %s", positions) + logging.info("Calculating delta_calibrate with: %s", positions) params = kin.get_calibrate_params() - logging.debug("Params: %s", params) + logging.info("Initial delta_calibrate parameters: %s", params) adj_params = ('endstop_a', 'endstop_b', 'endstop_c', 'radius', 'angle_a', 'angle_b') def delta_errorfunc(params): @@ -53,11 +53,11 @@ class DeltaCalibrate: return total_error new_params = probe.coordinate_descent( adj_params, params, delta_errorfunc) - logging.debug("Got2: %s", new_params) + logging.info("Calculated delta_calibrate parameters: %s", new_params) for spos in positions: - logging.debug("orig: %s new: %s", - delta.get_position_from_stable(spos, params), - delta.get_position_from_stable(spos, new_params)) + logging.info("orig: %s new: %s", + delta.get_position_from_stable(spos, params), + delta.get_position_from_stable(spos, new_params)) self.gcode.respond_info( "stepper_a: position_endstop: %.6f angle: %.6f\n" "stepper_b: position_endstop: %.6f angle: %.6f\n" |