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/toolhead.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'klippy/toolhead.py') diff --git a/klippy/toolhead.py b/klippy/toolhead.py index ed9c8603..e1a79179 100644 --- a/klippy/toolhead.py +++ b/klippy/toolhead.py @@ -539,12 +539,6 @@ class ToolHead: self.last_kin_move_time = max(self.last_kin_move_time, kin_time) def get_max_velocity(self): return self.max_velocity, self.max_accel - def get_max_axis_halt(self): - # Determine the maximum velocity a cartesian axis could halt - # at due to the junction_deviation setting. The 8.0 was - # determined experimentally. - return min(self.max_velocity, - math.sqrt(8. * self.junction_deviation * self.max_accel)) def _calc_junction_deviation(self): scv2 = self.square_corner_velocity**2 self.junction_deviation = scv2 * (math.sqrt(2.) - 1.) / self.max_accel -- cgit v1.2.3-70-g09d2