Skip to content

Commit

Permalink
updated the check move error to be more helpful
Browse files Browse the repository at this point in the history
  • Loading branch information
nick3621 committed Dec 10, 2024
1 parent 23bdbe5 commit 2b7b070
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions klippy/kinematics/dual_gantry.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,14 @@ def check_move(self, move):
if i < 3:
if end_pos[i] < limits[i][0] or end_pos[i] > limits[i][1]:
if limits[i][0] > limits[i][1]:
raise move.move_error("Must home axis first!?!")
raise move.move_error("Check Move XYZ; Must home axis first")
raise move.move_error()
xyz_moving = True
# Check UV movement
else:
if end_pos[i] < limits[i][0] or end_pos[i] > limits[i][1]:
if limits[i][0] > limits[i][1]:
raise move.move_error("Must home axis first!?!")
raise move.move_error("Check Move UV; Must home axis first")
raise move.move_error()
uv_moving = True

Expand Down

0 comments on commit 2b7b070

Please sign in to comment.