diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-09-21 12:03:09 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-11-02 12:07:23 -0500 |
commit | ccc8fe2fc5027966bd2ba897aa7bd9011b735faa (patch) | |
tree | 5a757876d5dd9d56c4ae0a0dd5b619920fa95837 /klippy/extras/gcode_macro.py | |
parent | e0842e0e03b29dce260bf9e519d08f48f7e5ace7 (diff) | |
download | kutter-ccc8fe2fc5027966bd2ba897aa7bd9011b735faa.tar.gz kutter-ccc8fe2fc5027966bd2ba897aa7bd9011b735faa.tar.xz kutter-ccc8fe2fc5027966bd2ba897aa7bd9011b735faa.zip |
itersolve: Convert iterative solver to use "secant method"
The previous code calculates each step time via an "exponential
search" followed by a "false position with Illinois algorithm" search.
Replace with a "secant method" with "bounds check" search. This
simplifies the code, improves the performance, and does a better job
of finding steps near a direction change.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/gcode_macro.py')
0 files changed, 0 insertions, 0 deletions