0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-03-15 02:36:19 +00:00

🧑‍💻 FxdTiCtrl => FTMotion redux

This commit is contained in:
Scott Lahteine 2023-10-12 12:14:26 -05:00
parent 7f887f2342
commit 5bd39ba73f

View file

@ -498,6 +498,7 @@ void FTMotion::loadBlockData(block_t * const current_block) {
}
const float T1 = (F_n - f_s) / a, // (s) Accel Time = difference in feedrate over acceleration
T3 = (F_n - f_e) / a; // (s) Decel Time = difference in feedrate over acceleration
N1 = ceil(T1 * (FTM_FS)); // Accel datapoints based on Hz frequency
N2 = ceil(T2 * (FTM_FS)); // Coast