aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/stepstats.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-10-25 21:06:20 -0400
committerKevin O'Connor <kevin@koconnor.net>2016-10-31 11:14:28 -0400
commit8f331f08d262cdc9e641d333e17098a94cf13fd5 (patch)
tree3243b7a0e3818369e1f0cd99137822a0ea6327a8 /scripts/stepstats.py
parentf0cefebff7c9077dd5f39a9d265cada04b76e6b6 (diff)
downloadkutter-8f331f08d262cdc9e641d333e17098a94cf13fd5.tar.gz
kutter-8f331f08d262cdc9e641d333e17098a94cf13fd5.tar.xz
kutter-8f331f08d262cdc9e641d333e17098a94cf13fd5.zip
extruder: Determine start step offset using last commanded position
The existing code calculates the number of steps in a move and then spreads them out evenly throughout that move. Change the code so that step timing is based on where the head is commanded to be relative to the stepper step locations. This makes the timing more accurate - in particular the stepper velocities will be more accurate during cornering introduced by the lookahead code. It also results in slightly smoother stepper motion which results in better step compression. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts/stepstats.py')
0 files changed, 0 insertions, 0 deletions