-
Notifications
You must be signed in to change notification settings - Fork 296
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
Add M400 dummy command for Octoprint workaround #391
base: edge
Are you sure you want to change the base?
Conversation
vegetablejedi
commented
Dec 29, 2018
- Octoprint calls M400 every printing job is ended.
- Fixed an issue where the M400 command was not implemented and disconnected each time.
- Octoprint calls M400 every printing job is ended. - Fixed an issue where the M400 command was not implemented and disconnected each time.
I remove my PR that I did not want, and I work again to request a pull. :-) |
@ril3y @giseburt @aldenhart This should be ok to merge as-is yeah? 😄 |
Rob said it will take a look at it soon. Leave it for now. Thanks!
…On Sat, Dec 29, 2018 at 10:14 AM Justin Clift ***@***.***> wrote:
@ril3y <https://github.com/ril3y> @giseburt <https://github.com/giseburt>
@aldenhart <https://github.com/aldenhart> This should be ok to merge
as-is yeah? 😄
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#391 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAOJMyYvcBwtr70NTg0vgDVARzFYy5NAks5u94bkgaJpZM4ZkkcH>
.
|
No worries. 😄 |
Hello @vegetablejedi , Thanks for this PR. I appreciate you taking the time on this. This version is also cleaner than the last so thanks for that as well. The only suggestion I have for this PR is that I’d prefer it not be a non-op when it’s a little more work to make it do what M400 is supposed to do. According to the RepRap wiki:
I feel that’s slightly vague, but I interpret that as meaning that after an This breaks down to three parts:
Part 1 has plenty of examples near where you already edited, so I won’t go into detail there (but feel feee to ask if it’s not clear). I would suggest using an enum in The exception to those examples being suppressing the Part 2 is a little less obvious. To stop interpreting new gcode, Part 2a and 2b can be handled like homing handles the same situation, by queueing a command that calls a function that sets a flag that tells the callback that the queue is empty up to where the Part 3 is just calling Do you feel like giving that a shot? Either way let us know. Thank you! |
@vegetablejedi Still interested in having this merged? |
@vegetablejedi I would appreciate if we could get M400 implemented as it is also related to #138 and I would like to see G2 as a viable option for OpenPNP :) |
@giseburt Would it be workable to merge this now, to get things working... and improvements for the M400 behaviour could optionally be done at a later point if it turns out to be needed? |