diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-10-29 11:52:56 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-11-06 15:51:51 -0500 |
commit | befd263260a42221a5ef0eba3a461c1e63421326 (patch) | |
tree | bed3343ce3e3ae858b84b79e485069e42fac1b72 /klippy/kinematics | |
parent | ef53ded6bcad496d4506a9222c4db4ccb2c0418c (diff) | |
download | kutter-befd263260a42221a5ef0eba3a461c1e63421326.tar.gz kutter-befd263260a42221a5ef0eba3a461c1e63421326.tar.xz kutter-befd263260a42221a5ef0eba3a461c1e63421326.zip |
toolhead: Remove kinematic move() call
Now that all kinematics use the trapq system, there is no need to call
into the kinematics on each g-code move.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/kinematics')
-rw-r--r-- | klippy/kinematics/cartesian.py | 2 | ||||
-rw-r--r-- | klippy/kinematics/corexy.py | 2 | ||||
-rw-r--r-- | klippy/kinematics/delta.py | 2 | ||||
-rw-r--r-- | klippy/kinematics/none.py | 2 | ||||
-rw-r--r-- | klippy/kinematics/polar.py | 2 | ||||
-rw-r--r-- | klippy/kinematics/winch.py | 2 |
6 files changed, 0 insertions, 12 deletions
diff --git a/klippy/kinematics/cartesian.py b/klippy/kinematics/cartesian.py index 615f4dbd..bc083377 100644 --- a/klippy/kinematics/cartesian.py +++ b/klippy/kinematics/cartesian.py @@ -114,8 +114,6 @@ class CartKinematics: z_ratio = move.move_d / abs(move.axes_d[2]) move.limit_speed( self.max_z_velocity * z_ratio, self.max_z_accel * z_ratio) - def move(self, print_time, move): - pass def get_status(self): return {'homed_axes': "".join([a for a, (l, h) in zip("XYZ", self.limits) if l <= h]) diff --git a/klippy/kinematics/corexy.py b/klippy/kinematics/corexy.py index 16915f3d..b8ba08e2 100644 --- a/klippy/kinematics/corexy.py +++ b/klippy/kinematics/corexy.py @@ -91,8 +91,6 @@ class CoreXYKinematics: z_ratio = move.move_d / abs(move.axes_d[2]) move.limit_speed( self.max_z_velocity * z_ratio, self.max_z_accel * z_ratio) - def move(self, print_time, move): - pass def get_status(self): return {'homed_axes': "".join([a for a, (l, h) in zip("XYZ", self.limits) if l <= h]) diff --git a/klippy/kinematics/delta.py b/klippy/kinematics/delta.py index f1892c1f..a46153fd 100644 --- a/klippy/kinematics/delta.py +++ b/klippy/kinematics/delta.py @@ -144,8 +144,6 @@ class DeltaKinematics: move.limit_speed(max_velocity * r, self.max_accel * r) limit_xy2 = -1. self.limit_xy2 = min(limit_xy2, self.slow_xy2) - def move(self, print_time, move): - pass def get_status(self): return {'homed_axes': '' if self.need_home else 'XYZ'} diff --git a/klippy/kinematics/none.py b/klippy/kinematics/none.py index 56cb8310..b6f9d1ab 100644 --- a/klippy/kinematics/none.py +++ b/klippy/kinematics/none.py @@ -19,8 +19,6 @@ class NoneKinematics: pass def check_move(self, move): pass - def move(self, print_time, move): - pass def get_status(self): return {'homed_axes': ''} diff --git a/klippy/kinematics/polar.py b/klippy/kinematics/polar.py index 0a11353c..7f80848e 100644 --- a/klippy/kinematics/polar.py +++ b/klippy/kinematics/polar.py @@ -104,8 +104,6 @@ class PolarKinematics: z_ratio = move.move_d / abs(move.axes_d[2]) move.limit_speed( self.max_z_velocity * z_ratio, self.max_z_accel * z_ratio) - def move(self, print_time, move): - pass def get_status(self): return {'homed_axes': (("XY" if self.limit_xy2 >= 0. else "") + ("Z" if self.limit_z[0] <= self.limit_z[1] else ""))} diff --git a/klippy/kinematics/winch.py b/klippy/kinematics/winch.py index 30e18949..101fc292 100644 --- a/klippy/kinematics/winch.py +++ b/klippy/kinematics/winch.py @@ -48,8 +48,6 @@ class WinchKinematics: def check_move(self, move): # XXX - boundary checks and speed limits not implemented pass - def move(self, print_time, move): - pass def get_status(self): # XXX - homed_checks and rail limits not implemented return {'homed_axes': 'XYZ'} |