新问题
如果在文件加载后执行手动命令则跳过行 #26
注释
|
我有一个可用于重现错误的文件。默认的 python 脚本运行一整天都没有问题,因此我确定这不是 Grbl 问题。我猜 Universal Gcode Sender 如果缓冲区有一些问题,因为如果它设置为 127,我会跳过链接,但我发现如果我将缓冲区更改为 60,它总是发送所有行。 这是我的测试文件,有时缺少带有“X0 Z-15.7”的行:
I use Grbl V0.8 edge and I don’t need to run my CNC to reproduce the issue, the new gcode test mode with $C also shows the issue. You will see the missing line in the command table. PS: I use 115200 baud this may triggers the bad behavior more often? |
|
From some debugging I think the bug is part of streamCommands()… it looks like sometimes it jumps to the next line without sending anything? here is a good case
and here is a bad case
|
|
看起来像某种竞争条件???如果我增加 25 毫秒的睡眠,它又不能工作了???
|
|
@alpharesearch你能检查一下最新的提交是否解决了这些问题吗?我无法用您的测试文件重现该问题。 |
|
好消息,随着这些变化,我不再跳过一行 gcode! |
|
伟大的!感谢您的协助。 |


我发现了一个小错误,好消息是它是可重复的。
解决方法