mirror of
git://soft.sys114.com/klipper
synced 2026-02-11 23:50:27 +09:00
delta: Make sure homing distance is large enough to hit the endstop
The head may be far away from an axis at the start of a home, and that axis must then traverse more than just the distance from zero height to the endstop position. Add in additional distance to account for this. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -91,7 +91,7 @@ class DeltaKinematics:
|
|||||||
# Initial homing
|
# Initial homing
|
||||||
homepos = [0., 0., s.position_endstop, None]
|
homepos = [0., 0., s.position_endstop, None]
|
||||||
coord = list(homepos)
|
coord = list(homepos)
|
||||||
coord[2] -= 1.5*(s.position_endstop)
|
coord[2] = -1.5 * math.sqrt(self.arm_length2-self.max_xy2)
|
||||||
homing_state.plan_home(list(coord), homepos, self.steppers
|
homing_state.plan_home(list(coord), homepos, self.steppers
|
||||||
, s.homing_speed)
|
, s.homing_speed)
|
||||||
# Retract
|
# Retract
|
||||||
|
|||||||
Reference in New Issue
Block a user