mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-14 18:28:00 -06:00
kinematics: Add get_status() method to kinematics
Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
This commit is contained in:
parent
09f323a038
commit
f958542ebb
6 changed files with 19 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue