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:
Kevin O'Connor 2016-07-25 23:47:30 -04:00
parent e9c03f2e4a
commit 92f81d51f4
4 changed files with 70 additions and 64 deletions

View file

@ -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)