mirror of
git://soft.sys114.com/klipper
synced 2026-02-11 05:40:27 +09:00
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>
This commit is contained in:
@@ -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])
|
||||
|
||||
@@ -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])
|
||||
|
||||
@@ -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'}
|
||||
|
||||
|
||||
@@ -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': ''}
|
||||
|
||||
|
||||
@@ -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 ""))}
|
||||
|
||||
@@ -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'}
|
||||
|
||||
Reference in New Issue
Block a user