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/delta.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'klippy/kinematics/delta.py') diff --git a/klippy/kinematics/delta.py b/klippy/kinematics/delta.py index 44331a91..0d17ed19 100644 --- a/klippy/kinematics/delta.py +++ b/klippy/kinematics/delta.py @@ -25,15 +25,11 @@ class DeltaKinematics: self.rails = [rail_a, rail_b, rail_c] config.get_printer().register_event_handler("stepper_enable:motor_off", self._motor_off) - # Setup stepper max halt velocity + # Setup max velocity self.max_velocity, self.max_accel = toolhead.get_max_velocity() self.max_z_velocity = config.getfloat( 'max_z_velocity', self.max_velocity, above=0., maxval=self.max_velocity) - max_halt_velocity = toolhead.get_max_axis_halt() * SLOW_RATIO - max_halt_accel = self.max_accel * SLOW_RATIO - for rail in self.rails: - rail.set_max_jerk(max_halt_velocity, max_halt_accel) # Read radius and arm lengths self.radius = radius = config.getfloat('delta_radius', above=0.) print_radius = config.getfloat('print_radius', radius, above=0.) -- cgit v1.2.3-70-g09d2