Skip to content

Commit

Permalink
πŸ§‘β€πŸ’» FxdTiCtrl => FTMotion redux
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Oct 12, 2023
1 parent 7f887f2 commit 5bd39ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Marlin/src/module/ft_motion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5bd39ba

Please sign in to comment.