Skip to content

Commit

Permalink
Leaving _check_endstops as 3 axes, but moving check_move to 5 axes
Browse files Browse the repository at this point in the history
  • Loading branch information
nick3621 committed Dec 10, 2024
1 parent 1f66926 commit 98557e5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions klippy/kinematics/dual_gantry.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,18 +117,18 @@ def check_move(self, move):
end_pos = move.end_pos

# Check XYZ movement
#xyz_moving = False
xyz_moving = False
for i in range(3):
if end_pos[i] < limits[i][0] or end_pos[i] > limits[i][1]:
self._check_endstops(move)
#xyz_moving = True
xyz_moving = True

# Check UV movement
#uv_moving = False
#for i in range(3, 5):
# if end_pos[i] < limits[i][0] or end_pos[i] > limits[i][1]:
# self._check_endstops(move)
# uv_moving = True
uv_moving = False
for i in range(3, 5):
if end_pos[i] < limits[i][0] or end_pos[i] > limits[i][1]:
self._check_endstops(move)
uv_moving = True

# Apply speed constraints for Z moves
if not move.axes_d[2]:
Expand Down

0 comments on commit 98557e5

Please sign in to comment.