force_move: Make sure to flush step generation queue after each move
Add toolhead.note_kinematic_activity() call and use it to force the step generation to be flushed. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -68,9 +68,11 @@ class ManualStepper:
|
||||
accel_t, cruise_t, accel_t,
|
||||
cp, 0., 0., axis_r, 0., 0.,
|
||||
0., cruise_v, accel)
|
||||
self.next_cmd_time += accel_t + cruise_t + accel_t
|
||||
self.next_cmd_time = self.next_cmd_time + accel_t + cruise_t + accel_t
|
||||
self.rail.generate_steps(self.next_cmd_time)
|
||||
self.trapq_free_moves(self.trapq, self.next_cmd_time)
|
||||
self.trapq_free_moves(self.trapq, self.next_cmd_time + 99999.9)
|
||||
toolhead = self.printer.lookup_object('toolhead')
|
||||
toolhead.note_kinematic_activity(self.next_cmd_time)
|
||||
self.sync_print_time()
|
||||
def do_homing_move(self, movepos, speed, accel, triggered):
|
||||
if not self.can_home:
|
||||
|
||||
Reference in New Issue
Block a user