mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-07 23:17:37 -06:00
gcode: "gcode_position" and toolhead "position" as get_status() named tuple
Add "gcode_position" named tuple to gcode.get_status(). Add a "position" named tuple to toolhead.get_status(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
4ccc218b06
commit
6e88320d62
3 changed files with 6 additions and 2 deletions
|
@ -144,6 +144,7 @@ class GCodeParser:
|
|||
'homing_xpos': self.homing_position[0],
|
||||
'homing_ypos': self.homing_position[1],
|
||||
'homing_zpos': self.homing_position[2],
|
||||
'gcode_position': homing.Coord(*move_position),
|
||||
'action_respond_info': self._action_respond_info,
|
||||
'action_respond_error': self._action_respond_error,
|
||||
'action_emergency_stop': self._action_emergency_stop,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue