toolhead: Set commanded_pos[] to move.end_pos
Commit 4573932f
allowed move.end_pos to differ from the requested end
position - the toolhead class should use the updated position when
storing its commanded position.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
4573932f89
commit
5791a4d8c4
|
@ -349,7 +349,7 @@ class ToolHead:
|
||||||
self.kin.check_move(move)
|
self.kin.check_move(move)
|
||||||
if move.axes_d[3]:
|
if move.axes_d[3]:
|
||||||
self.extruder.check_move(move)
|
self.extruder.check_move(move)
|
||||||
self.commanded_pos[:] = newpos
|
self.commanded_pos[:] = move.end_pos
|
||||||
self.move_queue.add_move(move)
|
self.move_queue.add_move(move)
|
||||||
if self.print_time > self.need_check_stall:
|
if self.print_time > self.need_check_stall:
|
||||||
self._check_stall()
|
self._check_stall()
|
||||||
|
|
Loading…
Reference in New Issue