mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-18 04:08:04 -06:00
probe: Add a probing_move() wrapper to low-level mcu_probe class
This allows the low-level probe class more control on the probing implementation. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
fa5fa74761
commit
acdf8bb108
3 changed files with 15 additions and 7 deletions
|
@ -78,6 +78,9 @@ class SmartEffectorEndstopWrapper:
|
|||
self.gcode.register_command("SET_SMART_EFFECTOR",
|
||||
self.cmd_SET_SMART_EFFECTOR,
|
||||
desc=self.cmd_SET_SMART_EFFECTOR_help)
|
||||
def probing_move(self, pos, speed):
|
||||
phoming = self.printer.lookup_object('homing')
|
||||
return phoming.probing_move(self, pos, speed)
|
||||
def probe_prepare(self, hmove):
|
||||
toolhead = self.printer.lookup_object('toolhead')
|
||||
self.probe_wrapper.probe_prepare(hmove)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue