Skip to content

Commit

Permalink
root cause fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
HelgeKeck committed Sep 27, 2023
1 parent abc5326 commit 57305cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions klippy/kinematics/hybrid_corexy.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ def calc_position(self, stepper_positions):
if (self.dc_module is not None and 'PRIMARY' == \
self.dc_module.get_status()['carriage_1']):
if self.inverted == False:
return [pos[0] - pos[1], pos[1], pos[2]]
return [stepper_positions['dual_carriage'] - pos[1], pos[1], pos[2]]
else:
return [pos[0] + pos[1], pos[1], pos[2]]
return [stepper_positions['dual_carriage'] + pos[1], pos[1], pos[2]]
else:
if self.inverted == False:
return [pos[0] + pos[1], pos[1], pos[2]]
return [stepper_positions['stepper_x'] + pos[1], pos[1], pos[2]]
else:
return [pos[0] - pos[1], pos[1], pos[2]]
return [stepper_positions['stepper_x'] - pos[1], pos[1], pos[2]]
def update_limits(self, i, range):
l, h = self.limits[i]
# Only update limits if this axis was already homed,
Expand Down

0 comments on commit 57305cd

Please sign in to comment.