From 451f7d567223764c438d35fb54d68a6494e375e5 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 9 Mar 2018 21:43:24 -0500 Subject: gcode: Position returned by M114 should be relative to last G92 It looks like OctoPrint is expecting the result from M114 to be relative to the last G92 command. Also, introduce GET_POSITION to report the actual location that the printer is at. Signed-off-by: Kevin O'Connor --- klippy/homing.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'klippy/homing.py') diff --git a/klippy/homing.py b/klippy/homing.py index 6bd11304..97879730 100644 --- a/klippy/homing.py +++ b/klippy/homing.py @@ -123,10 +123,6 @@ def query_endstops(toolhead): out.append((name, mcu_endstop.query_endstop_wait())) return out -def query_position(toolhead): - steppers = toolhead.get_kinematics().get_steppers() - return [(s.name.upper(), s.mcu_stepper.get_mcu_position()) for s in steppers] - class EndstopError(Exception): pass -- cgit v1.2.3-70-g09d2