diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-03-09 21:43:24 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-03-15 20:00:51 -0400 |
commit | 451f7d567223764c438d35fb54d68a6494e375e5 (patch) | |
tree | 1b3e43b2fbbfb0cbb4797cfc68c64e8d0c6e026c /klippy/homing.py | |
parent | ef820d98f6fe4c67cf3d2c2a88b395a99fdaff42 (diff) | |
download | kutter-451f7d567223764c438d35fb54d68a6494e375e5.tar.gz kutter-451f7d567223764c438d35fb54d68a6494e375e5.tar.xz kutter-451f7d567223764c438d35fb54d68a6494e375e5.zip |
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 <kevin@koconnor.net>
Diffstat (limited to 'klippy/homing.py')
-rw-r--r-- | klippy/homing.py | 4 |
1 files changed, 0 insertions, 4 deletions
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 |