mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-10-26 00:36:08 +02:00
toolhead: Reduce LOOKAHEAD_FLUSH_TIME to 0.150 seconds
The current code is likely to perform a lazy flush of the lookahead queue around 4 times a second. Increase that to around 6-7 times a second. This change may slightly improve the responsiveness to user requests mid-print (eg, changing extrusion ratio) and may make a "print stall" less likely in some corner cases. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -113,7 +113,7 @@ class Move:
|
||||
self.cruise_t = cruise_d / cruise_v
|
||||
self.decel_t = decel_d / ((end_v + cruise_v) * 0.5)
|
||||
|
||||
LOOKAHEAD_FLUSH_TIME = 0.250
|
||||
LOOKAHEAD_FLUSH_TIME = 0.150
|
||||
|
||||
# Class to track a list of pending move requests and to facilitate
|
||||
# "look-ahead" across moves to reduce acceleration between moves.
|
||||
|
||||
Reference in New Issue
Block a user