aboutsummaryrefslogtreecommitdiffstats
path: root/klippy
diff options
context:
space:
mode:
authorArksine <arksine.code@gmail.com>2020-08-01 11:21:41 -0400
committerKevinOConnor <kevin@koconnor.net>2020-08-01 15:56:51 -0400
commitc22d5b2444122794d0092622f6342724a009ca51 (patch)
tree8b724389a155fd03b2f66557ad401f655a253b47 /klippy
parentd33a34614fca836c6f85217d43f23a932367012a (diff)
downloadkutter-c22d5b2444122794d0092622f6342724a009ca51.tar.gz
kutter-c22d5b2444122794d0092622f6342724a009ca51.tar.xz
kutter-c22d5b2444122794d0092622f6342724a009ca51.zip
toolhead: report velocity and accel via get_status
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Diffstat (limited to 'klippy')
-rw-r--r--klippy/toolhead.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/klippy/toolhead.py b/klippy/toolhead.py
index 617186f6..68c4dfdc 100644
--- a/klippy/toolhead.py
+++ b/klippy/toolhead.py
@@ -495,7 +495,11 @@ class ToolHead:
'estimated_print_time': estimated_print_time,
'extruder': self.extruder.get_name(),
'position': homing.Coord(*self.commanded_pos),
- 'printing_time': print_time - last_print_start_time })
+ 'printing_time': print_time - last_print_start_time,
+ 'max_velocity': self.max_velocity,
+ 'max_accel': self.max_accel,
+ 'max_accel_to_decel': self.requested_accel_to_decel,
+ 'square_corner_velocity': self.square_corner_velocity})
return res
def _handle_shutdown(self):
self.can_pause = False