Hi All,
I'm writing a python 3 script that integrates with our CMS on a project to automate carving. We have a TinyG connected to a Raspberry Pi 4b. Using Python 3 I'm opening the serial port and sending GCode.
Using ChilliPepper the carve seems to go ahead mostly fine.
Using the Python3 script sending GCode and reading the serial output I'm seeing some strange characters that I can't decode - they come through on the shell output of Thonny as small squares?
Also when sending the GCode I read the 'qr' JSON value when available to ensure we don't overflow the input buffer, we leave 10 slots free all the time. The serial writing seems to send OK however the carve seems to miss tool path steps. Changing the python 3 script to send and time.sleep(0.5) - rather than waiting on input buffer slots - the carve still misses steps.
Anyone come across this before? or can anyone offer any thoughts as to what's going on?
Last questions - more of confirmation than anything - I can't seem to set the Text or JSON config - am I right to assume that the tinyG will output the same format as the request?
Thanks in advance,
C