plieningerweb / Smoothieware

Modular, opensource, high performance G-code interpreter and CNC controller written in Object-Oriented C++
http://smoothieware.org/
GNU General Public License v3.0
0 stars 0 forks source link

unexpected delay in g-code processing every 0.7 seconds #1

Closed plieningerweb closed 5 years ago

plieningerweb commented 6 years ago

hey, I have a very specific question. We compiled the stock smoothieware with the make CNC=1 flag and impemented a new M command to show how long the Conveyer->queue length is. This allows us to send in "real time" commands, but only as many that e.g. 3 are in the queue.

This runs really smooth, with about 100Hz plus. But now we have seen we get a way too large delay every 0.7 seconds.

Screenshot:

screenshot from 2018-11-16 17-31-53

plieningerweb commented 6 years ago

after more investigation, I found out that the reported queue size jumps from 3 to 62 and then 64 suddenly without sending new commands. Not sure why this is happening.

image

plieningerweb commented 5 years ago

this was solved this the bugfix in the commit https://github.com/plieningerweb/Smoothieware/commit/ba5dd2502b554cee8b776a18072f6c4eb5ea6e4d