From c22d5b2444122794d0092622f6342724a009ca51 Mon Sep 17 00:00:00 2001 From: Arksine Date: Sat, 1 Aug 2020 11:21:41 -0400 Subject: [PATCH] toolhead: report velocity and accel via get_status Signed-off-by: Eric Callahan --- klippy/toolhead.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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