toolhead: report velocity and accel via get_status

Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine 2020-08-01 11:21:41 -04:00 committed by KevinOConnor
parent d33a34614f
commit c22d5b2444
1 changed files with 5 additions and 1 deletions

View File

@ -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