mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-08 23:46:25 -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
|
@ -50,7 +50,7 @@ class BedTiltCalibrate:
|
|||
self.probe_helper.start_probe()
|
||||
def get_position(self):
|
||||
kin = self.printer.lookup_object('toolhead').get_kinematics()
|
||||
return kin.get_position()
|
||||
return kin.calc_position()
|
||||
def finalize(self, z_offset, positions):
|
||||
logging.info("Calculating bed_tilt with: %s", positions)
|
||||
params = { 'x_adjust': self.bedtilt.x_adjust,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue