From bae59db3a9e7ba84a6edaa3719f65363b4d57ca2 Mon Sep 17 00:00:00 2001 From: Marcio Teixeira Date: Thu, 3 May 2018 11:33:07 -0600 Subject: [PATCH] Less aggressive backlash compensation for Hibiscus. - Sets the "smoothing" factor halfway between .42 and .47 - Corrects for only 75% of the measured backlash --- Marlin/Conditionals_LulzBot.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Marlin/Conditionals_LulzBot.h b/Marlin/Conditionals_LulzBot.h index def2d052a..427ec04f9 100644 --- a/Marlin/Conditionals_LulzBot.h +++ b/Marlin/Conditionals_LulzBot.h @@ -13,7 +13,7 @@ * got disabled. */ -#define LULZBOT_FW_VERSION ".47" // Change this with each update +#define LULZBOT_FW_VERSION ".48" // Change this with each update #if ( \ !defined(LULZBOT_Gladiola_Mini) && \ @@ -1706,9 +1706,10 @@ #if defined(LULZBOT_USE_Z_BACKLASH_COMPENSATION) + #define LULZBOT_BACKLASH_CORRECTION_AMOUNT 0.75 #define LULZBOT_BACKLASH_MEASUREMENT_RESOLUTION 0.005 #define LULZBOT_BACKLASH_MEASUREMENT_LIMIT 0.5 - #define LULZBOT_BACKLASH_SMOOTHING_DISTANCE 1500 + #define LULZBOT_BACKLASH_SMOOTHING_DISTANCE 1000 #if ENABLED(LULZBOT_Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) #if defined(LULZBOT_Z_MIN_ENDSTOP_INVERTING) @@ -1737,7 +1738,7 @@ } \ const float measured_backlash_mm = current_position[Z_AXIS] - start_height; \ /* Average the backlash from all four corners */ \ - z_backlash_steps += 0.25 * measured_backlash_mm * planner.axis_steps_per_mm[Z_AXIS]; \ + z_backlash_steps += LULZBOT_BACKLASH_CORRECTION_AMOUNT * 0.25 * measured_backlash_mm * planner.axis_steps_per_mm[Z_AXIS]; \ } #define LULZBOT_BACKLASH_COMPENSATION \