aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/delta.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-11-28 11:23:26 -0500
committerKevin O'Connor <kevin@koconnor.net>2016-11-28 11:23:26 -0500
commit9755182adfa09de6886a0b482aa03d236f75f3ce (patch)
treef2ef020bec3105b3c702b1ce90aaf8af0654e598 /klippy/delta.py
parenta5637bb9d486969db3f1127c1ac75fb9bbeb9a7c (diff)
downloadkutter-9755182adfa09de6886a0b482aa03d236f75f3ce.tar.gz
kutter-9755182adfa09de6886a0b482aa03d236f75f3ce.tar.xz
kutter-9755182adfa09de6886a0b482aa03d236f75f3ce.zip
homing: Check homing distance to verify endstop trigger after retract
Instead of checking the endstop trigger directly after a retract move, verify some distance is traveled during the following homing operation. This reduces the amount of synchronization between mcu and host during homing. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/delta.py')
-rw-r--r--klippy/delta.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/delta.py b/klippy/delta.py
index ca46534c..ccf61206 100644
--- a/klippy/delta.py
+++ b/klippy/delta.py
@@ -101,8 +101,8 @@ class DeltaKinematics:
homing_state.plan_retract(list(coord), self.steppers, s.homing_speed)
# Home again
coord[2] -= s.homing_retract_dist
- homing_state.plan_home(list(coord), homepos, self.steppers
- , s.homing_speed/2.0)
+ homing_state.plan_second_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.