mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-23 22:54:10 -06:00
homing: Move low-level coordinate manipulation to kinematic class
Rework the code so that the kinematic class (currently just cartesian.py) has more control over the homing process. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
e9c03f2e4a
commit
92f81d51f4
4 changed files with 70 additions and 64 deletions
|
@ -253,8 +253,8 @@ class ToolHead:
|
|||
speed = min(speed, self.max_xy_speed)
|
||||
move = Move(self, newpos, move_d, axes_d, speed, self.max_xy_accel)
|
||||
self.move_queue.add_move(move)
|
||||
def home(self, axis):
|
||||
return self.kin.home(self, axis)
|
||||
def home(self, axes):
|
||||
return self.kin.home(self, axes)
|
||||
def dwell(self, delay):
|
||||
self.get_last_move_time()
|
||||
self.update_move_time(delay)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue