diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-04-25 14:53:50 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-04-30 11:09:08 -0400 |
commit | 5a5ecd88e22a25ef9ec5336f3d3220af042678be (patch) | |
tree | 14c7779643433627acfca2797eba4f45f65c975e /klippy/kinematics/delta.py | |
parent | d1946fb6ed672d549f79a09d531de11c1463ed22 (diff) | |
download | kutter-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/kinematics/delta.py')
-rw-r--r-- | klippy/kinematics/delta.py | 6 |
1 files changed, 1 insertions, 5 deletions
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.) |