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:
parent
611e1d239b
commit
5458f3cbd2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue