diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2024-11-27 22:45:27 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2024-11-29 17:41:37 -0500 |
commit | 8291788f40a677b11d6e0e0283411bc5f96936f7 (patch) | |
tree | fa5868f461b7232425f856a83c882ebe3340ebef /config/printer-eryone-thinker-series-v2-2020.cfg | |
parent | a18c74be05ee6150c9d8b7395b5ad69fa26d444c (diff) | |
download | kutter-8291788f40a677b11d6e0e0283411bc5f96936f7.tar.gz kutter-8291788f40a677b11d6e0e0283411bc5f96936f7.tar.xz kutter-8291788f40a677b11d6e0e0283411bc5f96936f7.zip |
toolhead: Use delta_v2 when calculating centripetal force
As a minor math optimization, it's possible to calculate:
.5 * self.move_d * self.accel * tan_theta_d2
using:
self.delta_v2 * .25 * tan_theta_d2
because self.delta_v2 is "2. * self.move_d * self.accel".
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