mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2026-03-05 17:44:48 -07:00
[PR3] Fix after rebase
This commit is contained in:
parent
28ceec96b6
commit
31617d4981
2 changed files with 6 additions and 2 deletions
|
|
@ -1231,6 +1231,10 @@
|
|||
#endif
|
||||
|
||||
#define FTM_CONSTANT_JERK // Enable constant-jerk (7-phase S-curve) trajectory
|
||||
// Jerk here means the rate of change of acceleration, is not related
|
||||
// to Marlin's "classic jerk"
|
||||
// Acceleration will ramp up gradually, so max acceleration is limited
|
||||
// by max speed and distance travelled
|
||||
#if ENABLED(FTM_CONSTANT_JERK)
|
||||
#define FTM_DEFAULT_JERK_MAX 500'000.0f // (mm/s³) Default maximum jerk for constant-jerk trajectory
|
||||
// Higher prints faster at the cost of increased resonance and extruder stress
|
||||
|
|
|
|||
|
|
@ -686,8 +686,8 @@ void FTMotion::fill_stepper_plan_buffer() {
|
|||
stepper.current_block = next_block;
|
||||
if (!next_block->is_sync()) {
|
||||
startPos = endPos_prevBlock;
|
||||
endPos_prevBlock += next_block->dist_mm;
|
||||
ratio = next_block->dist_mm / next_block->millimeters;
|
||||
endPos_prevBlock += next_block->ext_distance_mm;
|
||||
ratio = next_block->ext_distance_mm / next_block->millimeters;
|
||||
cjPlanner.advanceBlock(next_block->millimeters);
|
||||
TERN_(FTM_HAS_LIN_ADVANCE, use_advance_lead = next_block->use_advance_lead);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue