mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-11-13 08:46:03 +01:00
kinematics: Remove support for identifying Z steppers
The caller can now determine which steppers are connected to cartesian Z movement via the new stepper.is_active_axis() method. It is therefore no longer necessary for the kinematic code to identify these steppers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -39,9 +39,7 @@ class CoreXYKinematics:
|
||||
self.rails[1].set_max_jerk(max_xy_halt_velocity, max_xy_accel)
|
||||
self.rails[2].set_max_jerk(
|
||||
min(max_halt_velocity, self.max_z_velocity), self.max_z_accel)
|
||||
def get_steppers(self, flags=""):
|
||||
if flags == "Z":
|
||||
return self.rails[2].get_steppers()
|
||||
def get_steppers(self):
|
||||
return [s for rail in self.rails for s in rail.get_steppers()]
|
||||
def calc_tag_position(self):
|
||||
pos = [rail.get_tag_position() for rail in self.rails]
|
||||
|
||||
Reference in New Issue
Block a user