From 5a5ecd88e22a25ef9ec5336f3d3220af042678be Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 25 Apr 2021 14:53:50 -0400 Subject: stepper: Do not set min_stop_interval in micro-controller The min_stop_interval safety check is fragile and leads to a notable amount of complexity. Avoid these issues by not programming this safety check. Signed-off-by: Kevin O'Connor --- klippy/kinematics/corexz.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'klippy/kinematics/corexz.py') diff --git a/klippy/kinematics/corexz.py b/klippy/kinematics/corexz.py index 2543977b..698e4c08 100644 --- a/klippy/kinematics/corexz.py +++ b/klippy/kinematics/corexz.py @@ -34,13 +34,6 @@ class CoreXZKinematics: ranges = [r.get_range() for r in self.rails] self.axes_min = toolhead.Coord(*[r[0] for r in ranges], e=0.) self.axes_max = toolhead.Coord(*[r[1] for r in ranges], e=0.) - # Setup stepper max halt velocity - max_halt_velocity = toolhead.get_max_axis_halt() - max_xy_halt_velocity = max_halt_velocity * math.sqrt(2.) - max_xy_accel = max_accel * math.sqrt(2.) - self.rails[0].set_max_jerk(max_xy_halt_velocity, max_xy_accel) - self.rails[1].set_max_jerk(max_xy_halt_velocity, max_xy_accel) - self.rails[2].set_max_jerk(max_xy_halt_velocity, max_xy_accel) def get_steppers(self): return [s for rail in self.rails for s in rail.get_steppers()] def calc_tag_position(self): -- cgit v1.2.3-70-g09d2