aboutsummaryrefslogtreecommitdiffstats
path: root/config/example.cfg
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-02-22 10:09:25 -0500
committerKevin O'Connor <kevin@koconnor.net>2017-02-22 15:20:22 -0500
commit6a53eaefc03a5643e73619672a2fb522e593a519 (patch)
tree1b9387b9c2b9f1201e90fc0cfc83807f887f83cb /config/example.cfg
parent4bc114336cd70662e99e1fd39461bc0e0fbd3c06 (diff)
downloadkutter-6a53eaefc03a5643e73619672a2fb522e593a519.tar.gz
kutter-6a53eaefc03a5643e73619672a2fb522e593a519.tar.xz
kutter-6a53eaefc03a5643e73619672a2fb522e593a519.zip
extruder: Allow configuration of pressure advance lookahead time
Instead of defaulting the pressure advance lookahead time to be the same as the pressure_advance variable, allow it to be configured. Default the new config setting (pressure_advance_lookahead_time) to 10ms. Also, make the setting more accurate if a future move is accelerating in the middle of the lookahead window. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config/example.cfg')
-rw-r--r--config/example.cfg7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/example.cfg b/config/example.cfg
index 3574cd44..9f89d5e0 100644
--- a/config/example.cfg
+++ b/config/example.cfg
@@ -141,6 +141,13 @@ 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).
#
# The remaining variables describe the extruder heater
heater_pin: ar4