aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/delta.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/delta.py')
-rw-r--r--klippy/delta.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/delta.py b/klippy/delta.py
index 34b5a9e2..d54c0a3c 100644
--- a/klippy/delta.py
+++ b/klippy/delta.py
@@ -78,7 +78,7 @@ class DeltaKinematics:
return matrix_sub(circumcenter, matrix_mul(normal, dist))
def set_position(self, newpos):
self.stepper_pos = self.cartesian_to_actuator(newpos)
- def get_homed_position(self):
+ def get_homed_position(self, homing_state):
pos = [(self.stepper_pos[i] + self.steppers[i].get_homed_offset())
* self.steppers[i].step_dist
for i in StepList]
@@ -101,6 +101,7 @@ class DeltaKinematics:
coord[2] -= s.homing_retract_dist
homing_state.plan_home(list(coord), homepos, self.steppers
, s.homing_speed/2.0)
+ homing_state.plan_calc_position(self.get_homed_position)
def motor_off(self, move_time):
self.limit_xy2 = -1.
for stepper in self.steppers: