diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-06-25 21:25:01 -0400 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2019-07-10 10:43:20 -0400 |
commit | 43064d197d6fd6bcc55217c5e9298d86bf4ecde7 (patch) | |
tree | d63636e8d5327affc605efd5e5c1c360ee040c7a /klippy/extras/bltouch.py | |
parent | d6cce8a55753965e9b00f9ee0caa328323380ced (diff) | |
download | kutter-43064d197d6fd6bcc55217c5e9298d86bf4ecde7.tar.gz kutter-43064d197d6fd6bcc55217c5e9298d86bf4ecde7.tar.xz kutter-43064d197d6fd6bcc55217c5e9298d86bf4ecde7.zip |
homing: Implement homing via new toolhead "drip" movement
Rework the low-level implementation of homing movement. The existing
mechanism buffers all homing movement into the micro-controller prior
to starting the home. Replace with a system that buffers all movement
into the host look-ahead buffer and then "drip feed" those moves to
the micro-controllers. Then clear the host look-ahead buffer when all
endstops trigger.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/bltouch.py')
-rw-r--r-- | klippy/extras/bltouch.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/klippy/extras/bltouch.py b/klippy/extras/bltouch.py index f95eff66..6a7974b6 100644 --- a/klippy/extras/bltouch.py +++ b/klippy/extras/bltouch.py @@ -157,10 +157,11 @@ class BLTouchEndstopWrapper: if s.get_mcu_position() == mcu_pos: raise homing.EndstopError("BLTouch failed to deploy") self.mcu_endstop.home_finalize() - def home_start(self, print_time, sample_time, sample_count, rest_time): + def home_start(self, print_time, sample_time, sample_count, rest_time, + notify=None): rest_time = min(rest_time, ENDSTOP_REST_TIME) - self.mcu_endstop.home_start( - print_time, sample_time, sample_count, rest_time) + self.mcu_endstop.home_start(print_time, sample_time, sample_count, + rest_time, notify=notify) def get_position_endstop(self): return self.position_endstop cmd_BLTOUCH_DEBUG_help = "Send a command to the bltouch for debugging" |