From e6eb3be2472538694827301d516a757be5be7924 Mon Sep 17 00:00:00 2001 From: espr14 Date: Wed, 23 Dec 2020 16:56:04 +0100 Subject: [PATCH] Set jerk = 1, accel. = 1000 --- Firmware/xyzcal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Firmware/xyzcal.cpp b/Firmware/xyzcal.cpp index 5c21b4fb..25863ae8 100644 --- a/Firmware/xyzcal.cpp +++ b/Firmware/xyzcal.cpp @@ -41,11 +41,11 @@ const constexpr uint8_t Z_PLUS = 0; const constexpr uint8_t Z_MINUS = 1; /// Max. jerk in PrusaSlicer, 10000 = 1 mm/s -const constexpr uint16_t MAX_DELAY = 1000; +const constexpr uint16_t MAX_DELAY = 10000; const constexpr float MIN_SPEED = 0.01f / (MAX_DELAY * 0.000001f); /// 200 = 50 mm/s const constexpr uint16_t Z_MIN_DELAY = 200; -const constexpr uint16_t Z_ACCEL = 5000; +const constexpr uint16_t Z_ACCEL = 1000; /// \returns positive value always #define ABS(a) \