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>
This commit is contained in:
Kevin O'Connor 2021-04-25 14:53:50 -04:00
parent d1946fb6ed
commit 5a5ecd88e2
12 changed files with 5 additions and 67 deletions

View file

@ -22,11 +22,6 @@ class WinchKinematics:
s.setup_itersolve('winch_stepper_alloc', *a)
s.set_trapq(toolhead.get_trapq())
toolhead.register_step_generator(s.generate_steps)
# Setup stepper max halt velocity
max_velocity, max_accel = toolhead.get_max_velocity()
max_halt_velocity = toolhead.get_max_axis_halt()
for s in self.steppers:
s.set_max_jerk(max_halt_velocity, max_accel)
# Setup boundary checks
acoords = list(zip(*self.anchors))
self.axes_min = toolhead.Coord(*[min(a) for a in acoords], e=0.)