aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/toolhead.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-04-25 14:53:50 -0400
committerKevin O'Connor <kevin@koconnor.net>2021-04-30 11:09:08 -0400
commit5a5ecd88e22a25ef9ec5336f3d3220af042678be (patch)
tree14c7779643433627acfca2797eba4f45f65c975e /klippy/toolhead.py
parentd1946fb6ed672d549f79a09d531de11c1463ed22 (diff)
downloadkutter-5a5ecd88e22a25ef9ec5336f3d3220af042678be.tar.gz
kutter-5a5ecd88e22a25ef9ec5336f3d3220af042678be.tar.xz
kutter-5a5ecd88e22a25ef9ec5336f3d3220af042678be.zip
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 <kevin@koconnor.net>
Diffstat (limited to 'klippy/toolhead.py')
-rw-r--r--klippy/toolhead.py6
1 files changed, 0 insertions, 6 deletions
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