Skip to content

Commit

Permalink
Add a rough equivalent Cheetah jerk to jump conversion for time estim…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
Frederic98 committed Dec 19, 2024
1 parent 8f5cec7 commit 651e934
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/gcodeExport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1748,7 +1748,15 @@ void GCodeExport::writeJerk(const Velocity& jerk)
break;
}
current_jerk_ = jerk;
estimate_calculator_.setMaxXyJerk(jerk);

if(getFlavor() == EGCodeFlavor::CHEETAH)
{
estimate_calculator_.setMaxXyJerk(jerk/200);
}
else
{
estimate_calculator_.setMaxXyJerk(jerk);
}
}
}

Expand Down

0 comments on commit 651e934

Please sign in to comment.