mirror of
git://soft.sys114.com/klipper
synced 2026-02-12 01:40:26 +09:00
force_move: Implement CLEAR for SET_KINEMATIC_POSITION (#6262)
`CLEAR` clears the homing status (resets the axis limits) without turning off the motors. This is particularly useful when implementing safe Z homing in `[homing_override]` on printers with multiple independent Z steppers (where `FORCE_MOVE` can't be used). Signed-off-by: Dennis Marttinen <twelho@welho.tech>
This commit is contained in:
@@ -36,6 +36,9 @@ class WinchKinematics:
|
||||
def set_position(self, newpos, homing_axes):
|
||||
for s in self.steppers:
|
||||
s.set_position(newpos)
|
||||
def clear_homing_state(self, axes):
|
||||
# XXX - homing not implemented
|
||||
pass
|
||||
def home(self, homing_state):
|
||||
# XXX - homing not implemented
|
||||
homing_state.set_axes([0, 1, 2])
|
||||
|
||||
Reference in New Issue
Block a user