aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/toolhead.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-03-05 18:37:02 -0500
committerKevin O'Connor <kevin@koconnor.net>2020-03-05 18:37:02 -0500
commite872290c47d8a3353c9b6a5305e91d836b03a9ea (patch)
tree1dbf2663b53c1eab5ff0b69a7a0a9bd98cee5a0a /klippy/toolhead.py
parenta074af7c871633f2fad5dd207f9945a020a0cde5 (diff)
downloadkutter-e872290c47d8a3353c9b6a5305e91d836b03a9ea.tar.gz
kutter-e872290c47d8a3353c9b6a5305e91d836b03a9ea.tar.xz
kutter-e872290c47d8a3353c9b6a5305e91d836b03a9ea.zip
Revert "itersolve: Implement a step+dir+step filter"
This reverts commit c9cb462f90a68deb73cacb179f7bbcde2cb9aeed. The step flushing for this commit was not complete. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/toolhead.py')
-rw-r--r--klippy/toolhead.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/klippy/toolhead.py b/klippy/toolhead.py
index b0e37f7d..ada5f8c3 100644
--- a/klippy/toolhead.py
+++ b/klippy/toolhead.py
@@ -1,6 +1,6 @@
# Code for coordinating events on the printer toolhead
#
-# Copyright (C) 2016-2020 Kevin O'Connor <kevin@koconnor.net>
+# Copyright (C) 2016-2019 Kevin O'Connor <kevin@koconnor.net>
#
# This file may be distributed under the terms of the GNU GPLv3 license.
import math, logging, importlib
@@ -183,7 +183,6 @@ class MoveQueue:
MIN_KIN_TIME = 0.100
MOVE_BATCH_TIME = 0.500
-SDS_CHECK_TIME = 0.001 # step+dir+step filter in itersolve.c
DRIP_SEGMENT_TIME = 0.050
DRIP_TIME = 0.100
@@ -237,7 +236,7 @@ class ToolHead:
self.print_stall = 0
self.drip_completion = None
# Kinematic step generation scan window time tracking
- self.kin_flush_delay = SDS_CHECK_TIME
+ self.kin_flush_delay = 0.
self.kin_flush_times = []
self.last_kin_flush_time = self.last_kin_move_time = 0.
# Setup iterative solver
@@ -513,7 +512,7 @@ class ToolHead:
self.kin_flush_times.pop(self.kin_flush_times.index(old_delay))
if delay:
self.kin_flush_times.append(delay)
- new_delay = max(self.kin_flush_times + [SDS_CHECK_TIME])
+ new_delay = max(self.kin_flush_times + [0.])
self.kin_flush_delay = new_delay
def register_lookahead_callback(self, callback):
last_move = self.move_queue.get_last()