diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-11-18 11:49:05 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-11-18 14:04:10 -0500 |
commit | 2b5b899d35d33ed6b8bfb90133d22095d0a56c66 (patch) | |
tree | 8a0c8eb604ee6a30de9ee21d4571200717eda33e /klippy/toolhead.py | |
parent | 781cf608d778798c976d3cb4edb6ea6b028b66e1 (diff) | |
download | kutter-2b5b899d35d33ed6b8bfb90133d22095d0a56c66.tar.gz kutter-2b5b899d35d33ed6b8bfb90133d22095d0a56c66.tar.xz kutter-2b5b899d35d33ed6b8bfb90133d22095d0a56c66.zip |
homing: Direct stepper phase detection from kinematic classes
Change the scheduling of the final homed position (which takes into
account the stepper phases) so that it is scheduled from the kinematic
classes instead of from the toolhead class.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/toolhead.py')
-rw-r--r-- | klippy/toolhead.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/klippy/toolhead.py b/klippy/toolhead.py index bc0356dc..5248a589 100644 --- a/klippy/toolhead.py +++ b/klippy/toolhead.py @@ -261,13 +261,6 @@ class ToolHead: self.move_queue.add_move(move) def home(self, homing_state): self.kin.home(homing_state) - def axes_update(homing_state): - pos = self.get_position() - homepos = self.kin.get_homed_position() - for axis in homing_state.get_axes(): - pos[axis] = homepos[axis] - self.set_position(pos) - homing_state.plan_axes_update(axes_update) def dwell(self, delay): self.get_last_move_time() self.update_move_time(delay) |