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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user