toolhead: report velocity and accel via get_status
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
d33a34614f
commit
c22d5b2444
|
@ -495,7 +495,11 @@ class ToolHead:
|
||||||
'estimated_print_time': estimated_print_time,
|
'estimated_print_time': estimated_print_time,
|
||||||
'extruder': self.extruder.get_name(),
|
'extruder': self.extruder.get_name(),
|
||||||
'position': homing.Coord(*self.commanded_pos),
|
'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
|
return res
|
||||||
def _handle_shutdown(self):
|
def _handle_shutdown(self):
|
||||||
self.can_pause = False
|
self.can_pause = False
|
||||||
|
|
Loading…
Reference in New Issue