-
Notifications
You must be signed in to change notification settings - Fork 999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send now fix #924
base: master
Are you sure you want to change the base?
Send now fix #924
Conversation
Should this block the next rc? |
No. This needs extensive testing and has the potential to break core functionality, and we are otherwise release-ready in my opinion so we can merge this after 2.0 is out once it's been tested some more. |
Just some thoughts here. If needed, the stable branch could be recovered, to hold the preparation for the 2.0.0 release. And this PR could be merged into the current development branch (a.k.a. "2.x") so it can suffer proper testing. And perhaps current 2.x should be made the default branch, and leave current master for 1.x fixes. |
I like the idea of stable but because we're so close to releasing 2.0.0 now I think this can wait until after release. @VanessaE has promised to test this, as it fixes an issue she reported, so I expect we'll hear pretty soon if something is seriously broken. |
That said, @rockstorm101 I think we should merge 2.x into master after branching current master into 1.x branch. It will merge cleanly after reverting all the fixes I backported from 2.x to 1.x. What do you think? |
Please don't. That had always bitten me. If 1.x needs to have it's own branch for fixes, let it have a branch. But keep master for where development happens (or is being actively merged into), as god intended. |
Heh, @hroncok I beat you to it by 42 seconds :) |
Also, we don't need to revert anything: see for example https://github.com/hroncok/Printrun/tree/_master Once we decide to merge 2.x into master, I can do it in a similar fashion. |
Yeah, either way works for me. Incidentally, I'm happy to have 2.x merged into master right now, as long as a 1.x branch is made first. Do you want to do it @hroncok ? |
I'm not sure I understand what you mean, sorry. I believe we want the same branch layout:
|
@rockstorm101 we both understood what you said as suggesting that 2.x be set to default, rather than merged into master. But good to see we're all on the same page. |
OK.
I'm not strongly for or against this. Was it ever truly necessary?
|
Damm, you two are way faster than my writing XD. |
Got closed automatically when 2.x was deleted. |
Done. |
Honestly, I never thought it would be necessary for Printrun. |
Initial results (master branch, at commit 6bf59b6): Long macros appear to be executed properly and completely during active printing, but when the print continues after the macro, it does not put X/Y/Z back at their proper locations, so the print continues in mid-air since the last moves in the macro leave the nozzle at {100,100,200}. No warnings or errors. If I try a long macro while the print is paused, the entire thing is not executed. No warnings/errors. If I clear off the print bed and click "restart" (NOT "resume") after the failed macro, the print seems to start and behave normally. No warnings/errors, naturally. If I use the manual command input while actively printing, the entire contents appear to be executed, but I get "Error:Line Number is not Last Line Number+1, Last Line: xxx" warnings after it. When the print continues, it's left printing in mid-air, as with the macro method. No other warnings/errors. If I use the manual command input while paused, the entire contents of the macro are not executed. Usually no errors or warnings, but occasionally I might see something like The test gcode (for both the macro test and manual commands)```gcode M201 T2000 g1 f18000 g1 x0 g1 y0 g1 z1 g1 x200 g1 y200 g1 z200 g1 x0 g1 y0 g1 z1 g1 x200 g1 y200 g1 z200 g1 x0 g1 y0 g1 z1 g1 x200 g1 y200 g1 z200 g1 x0 g1 y0 g1 z1 g1 x200 g1 y200 g1 z200 g1 x0 g1 y0 g1 z1 g1 x200 g1 y200 g1 z200 g1 x100 y100 ```
|
AFTER applying this pull request, sending a long macro while printing was an epic fail (same gcode as in my previous comment):
It ran the macro's commands far slower than they should be (so I guess the "g1 f" command was ignored or corrupted), and in any case it did not execute the entire macro. After it finished, it threw this error:
After that, Pronterface stopped responding to the jog controls and further manual commands were ignored. I did not continue testing at this point, and |
This adds checksums and line numbers to manual commands - needs to be tested with manual commands interleaved with prints