toolhead: Fixed reporting of the kinematic limits

Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
This commit is contained in:
Dmitry Butyugin 2020-09-21 21:52:49 +02:00 committed by KevinOConnor
parent d53365f996
commit fac4e53e86
1 changed files with 3 additions and 2 deletions

View File

@ -572,8 +572,9 @@ class ToolHead:
"max_accel: %.6f\n" "max_accel: %.6f\n"
"max_accel_to_decel: %.6f\n" "max_accel_to_decel: %.6f\n"
"square_corner_velocity: %.6f"% ( "square_corner_velocity: %.6f"% (
max_velocity, max_accel, self.requested_accel_to_decel, self.max_velocity, self.max_accel,
square_corner_velocity)) self.requested_accel_to_decel,
self.square_corner_velocity))
self.printer.set_rollover_info("toolhead", "toolhead: %s" % (msg,)) self.printer.set_rollover_info("toolhead", "toolhead: %s" % (msg,))
gcmd.respond_info(msg, log=False) gcmd.respond_info(msg, log=False)
def cmd_M204(self, gcmd): def cmd_M204(self, gcmd):