aboutsummaryrefslogtreecommitdiffstats
path: root/config/printer-eryone-thinker-series-v2-2020.cfg
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2024-11-27 22:34:17 -0500
committerKevin O'Connor <kevin@koconnor.net>2024-11-29 18:09:29 -0500
commit847331260c84e9de00404aa98f0029184150a897 (patch)
treed27e436b8e4e7b889cf9e0ee0a39fbaf033fb034 /config/printer-eryone-thinker-series-v2-2020.cfg
parent8291788f40a677b11d6e0e0283411bc5f96936f7 (diff)
downloadkutter-847331260c84e9de00404aa98f0029184150a897.tar.gz
kutter-847331260c84e9de00404aa98f0029184150a897.tar.xz
kutter-847331260c84e9de00404aa98f0029184150a897.zip
toolhead: Remove arbitrary constants controlling junction deviation
When calculating the junction speed between two moves the code checked for angles greater than 0.999999 or less than -0.999999 to avoid math issues (sqrt of a negative number and/or divide by zero). However, these arbitrary constants could unnecessarily pessimize junction speeds when angles are close to 180 or 0 degrees. Change the code to explicitly check for negative numbers during sqrt and to explicilty check for zero values prior to division. This simplifies the code and avoids unnecessarily reducing some junction speeds. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config/printer-eryone-thinker-series-v2-2020.cfg')
0 files changed, 0 insertions, 0 deletions