Skip to content

Commit 651e934

Browse files
committed
Add a rough equivalent Cheetah jerk to jump conversion for time estimation
1 parent 8f5cec7 commit 651e934

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/gcodeExport.cpp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1748,7 +1748,15 @@ void GCodeExport::writeJerk(const Velocity& jerk)
17481748
break;
17491749
}
17501750
current_jerk_ = jerk;
1751-
estimate_calculator_.setMaxXyJerk(jerk);
1751+
1752+
if(getFlavor() == EGCodeFlavor::CHEETAH)
1753+
{
1754+
estimate_calculator_.setMaxXyJerk(jerk/200);
1755+
}
1756+
else
1757+
{
1758+
estimate_calculator_.setMaxXyJerk(jerk);
1759+
}
17521760
}
17531761
}
17541762

0 commit comments

Comments
 (0)