From 6d0c55b6c1adcef3d6d64d613a486f1f99e0c6e0 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 5 Nov 2019 16:21:06 -0500 Subject: extruder: Initial support for "smoothed pressure advance" Support averaging the extruder position over a time range to "smooth out" the velocity changes that occur during pressure advance. Signed-off-by: Kevin O'Connor --- config/example.cfg | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'config/example.cfg') diff --git a/config/example.cfg b/config/example.cfg index 25280a9b..ec648d77 100644 --- a/config/example.cfg +++ b/config/example.cfg @@ -130,13 +130,12 @@ filament_diameter: 3.500 # during deceleration. It is measured in millimeters per # millimeter/second. The default is 0, which disables pressure # advance. -#pressure_advance_lookahead_time: 0.010 -# A time (in seconds) to "look ahead" at future extrusion moves when -# calculating pressure advance. This is used to reduce the -# application of pressure advance during cornering moves that would -# otherwise cause retraction followed immediately by pressure -# buildup. This setting only applies if pressure_advance is -# non-zero. The default is 0.010 (10 milliseconds). +#pressure_advance_smooth_time: 0.040 +# A time range (in seconds) to use when calculating the average +# extruder velocity for pressure advance. A larger value results in +# smoother extruder movements. This parameter may not exceed 200ms. +# This setting only applies if pressure_advance is non-zero. The +# default is 0.040 (40 milliseconds). # # The remaining variables describe the extruder heater. heater_pin: ar10 -- cgit v1.2.3-70-g09d2