mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-12 17:27:54 -06:00
delta: Rename get_position() to calc_position()
Calculating the cartesian position from the stepper positions can be complex and cpu intensive, so rename it to calc_position() to be more descriptive. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
20b404ecf5
commit
0216201cb6
8 changed files with 12 additions and 12 deletions
|
@ -67,7 +67,7 @@ class Homing:
|
|||
error = "Failed to home %s: %s" % (name, str(e))
|
||||
if probe_pos:
|
||||
self.set_homed_position(
|
||||
list(self.toolhead.get_kinematics().get_position()) + [None])
|
||||
list(self.toolhead.get_kinematics().calc_position()) + [None])
|
||||
else:
|
||||
self.toolhead.set_position(movepos)
|
||||
for mcu_endstop, name in endstops:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue