New module to synchronously, blocking send gcodes with return#1008
New module to synchronously, blocking send gcodes with return#1008volconst wants to merge 6 commits intokliment:masterfrom
Conversation
… arrives Possible race condition between readline raw_input and prompt writing may leave garbage on command line. Used linux xterm fixed ANSI control sequences instead of quering with curses, which could also result in garbage. Are control sequences (also for color prompt) processed correctly in Windows?
Completes only current drive absolute and relative files. On Windows user must enter drive letter without completion
by using do_print which provides checksum, threading, ok waiting. Use adapted GCoder which does not preload data, but accumulates it till the end
|
This is great, thanks for contributing it! Are you still working on it or should I merge it as is? |
|
Hi @kliment 2572052 This commit is both a library and a sample for the ping pong protocol. I have based on it a console script for manual bed leveling, which moves nozzle with the arrow keys, but I am not sure if I will publish it. 7d001ae |
Implement the ping pong protocol - wait for 'ok' after each command, so no commands are lost with possibility to parse printer response specifically for each command. Related to #986 #959 #990 #965