aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extruder.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-07-22 15:38:13 -0400
committerKevin O'Connor <kevin@koconnor.net>2016-07-22 15:42:18 -0400
commit589017a3d6de81a52c5a496a4b82ae202a4f990c (patch)
treec89f1a375a3d2285c235ee544ded0a06fdf6d2bb /klippy/extruder.py
parentd3c27c514f763ce65a5fea7f6c17ecff49130721 (diff)
downloadkutter-589017a3d6de81a52c5a496a4b82ae202a4f990c.tar.gz
kutter-589017a3d6de81a52c5a496a4b82ae202a4f990c.tar.xz
kutter-589017a3d6de81a52c5a496a4b82ae202a4f990c.zip
stepper: Have caller calculate max jerk velocity
Allow the owner of the stepper object to cacluate the maximum step jerk velocity. This is used to ensure there is no communication error between mcu and host. Disable checking of jerk velocity for extruder stepper motors. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extruder.py')
-rw-r--r--klippy/extruder.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/klippy/extruder.py b/klippy/extruder.py
index 67ee13ed..25655dc9 100644
--- a/klippy/extruder.py
+++ b/klippy/extruder.py
@@ -14,6 +14,7 @@ class PrinterExtruder:
self.stepper_pos = 0
def build_config(self):
self.heater.build_config()
+ self.stepper.set_max_jerk(9999999.9)
self.stepper.build_config()
def get_max_speed(self):
return self.stepper.max_velocity, self.stepper.max_accel