mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-11-11 07:46:04 +01:00
kinematics: Add get_status() method to kinematics
Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
This commit is contained in:
committed by
KevinOConnor
parent
09f323a038
commit
f958542ebb
@@ -130,6 +130,9 @@ class PolarKinematics:
|
||||
stepper_bed.set_commanded_position(angle - 2. * math.pi)
|
||||
if axes_d[2]:
|
||||
self.rails[1].step_itersolve(cmove)
|
||||
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 ""))}
|
||||
|
||||
def load_kinematics(toolhead, config):
|
||||
return PolarKinematics(toolhead, config)
|
||||
|
||||
Reference in New Issue
Block a user