mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-11-12 08:16:04 +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:
@@ -37,9 +37,7 @@ class PolarKinematics:
|
||||
stepper_bed.set_max_jerk(max_halt_velocity, max_accel)
|
||||
rail_arm.set_max_jerk(max_halt_velocity, max_accel)
|
||||
rail_z.set_max_jerk(max_halt_velocity, max_accel)
|
||||
def get_steppers(self, flags=""):
|
||||
if flags == "Z":
|
||||
return self.rails[1].get_steppers()
|
||||
def get_steppers(self):
|
||||
return list(self.steppers)
|
||||
def calc_tag_position(self):
|
||||
bed_angle = self.steppers[0].get_tag_position()
|
||||
|
||||
Reference in New Issue
Block a user