diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-03-29 21:06:36 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-03-29 21:11:39 -0400 |
commit | da735ab312bd3ff003dda0bd162f1788bb3af8d8 (patch) | |
tree | a6c6309e820ac18f3e5d4ebc8ed784bbd36cfee1 | |
parent | 34bf8a04c75c9dee2cacd81e3f160352f953bd6a (diff) | |
download | kutter-da735ab312bd3ff003dda0bd162f1788bb3af8d8.tar.gz kutter-da735ab312bd3ff003dda0bd162f1788bb3af8d8.tar.xz kutter-da735ab312bd3ff003dda0bd162f1788bb3af8d8.zip |
toolhead: Make sure input_shaper movement starts after endstop checking
Add a dwell() to the start of drip_move() to ensure that input_shaper
movements scheduled in advance of the nominal move time aren't
scheduled prior to the homing start. (Otherwise the stepper may move
prior to endstop checking, which can corrupt the "no movement"
checks.)
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r-- | klippy/toolhead.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/klippy/toolhead.py b/klippy/toolhead.py index c6ba130f..7399c189 100644 --- a/klippy/toolhead.py +++ b/klippy/toolhead.py @@ -460,6 +460,7 @@ class ToolHead: npt = min(self.print_time + DRIP_SEGMENT_TIME, next_print_time) self._update_move_time(npt) def drip_move(self, newpos, speed, drip_completion): + self.dwell(self.kin_flush_delay) # Transition from "Flushed"/"Priming"/main state to "Drip" state self.move_queue.flush() self.special_queuing_state = "Drip" |