Git Product home page Git Product logo

Comments (2)

repetier avatar repetier commented on August 15, 2024

Hi,

the path planning is managed by these parameter:

/** \brief Number of moves we can cache in advance.

This number of moves can be cached in advance. If you wan't to cache more, increase this. Especially on
many very short moves the cache may go empty. The minimum value is 5.
/
#define MOVE_CACHE_SIZE 16
/
How many line segments can the path planner use for path optimization. The maximum possible
value is MOVE_CACHE_SIZE-2. Higher values need more computation time, which can cause blocking for many
short subsequent moves. If this happens you will see BLK messages in your log and then you now the
value is to high for your printer settings.
/
#define PATH_PLANNER_CHECK_SEGMENTS 12
/
* \brief Low filled cache size.

If the cache contains less then MOVE_CACHE_LOW segments, the time per segment is limited to LOW_TICKS_PER_MOVE clock cycles.
If a move would be shorter, the feedrate will be reduced. This should prevent buffer underflows. Set this to 0 if you
don't care about empty buffers during print.
/
#define MOVE_CACHE_LOW 12
/
* \brief Cycles per move, if move cache is low.

This value must be high enough, that the buffer has time to fill up. The problem only occurs at the beginning of a print or
if you are printing many very short segments at high speed. Higher delays here allow higher values in PATH_PLANNER_CHECK_SEGMENTS.
*/
#define LOW_TICKS_PER_MOVE 400000

Whats new is PATH_PLANNER_CHECK_SEGMENTS which limits the look ahead to x segments. Before it was simply the number of segments. Higher values give better look ahead with many short moves in a row. The main problem is, that computation time can increase significantly when increasing this value, so you get better look ahead but might get short stalls due to limited computation speed of the arduino. Especially samples like the one you said can get this problem, while most objects will have no problem. The problem gets worse with increasing print speed of course.

from repetier-firmware.

Rencio7 avatar Rencio7 commented on August 15, 2024

thanks I've managed to fix it now by tweaking these settings :)

from repetier-firmware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.