Real-time G-Code based off sensor output?
Anyone aware of a way to send Repetier G-code in real time in a way that will allow an external program (something I would likely write) to read values off a sensor involved in the printing process and then modify subsequent lines of g-code according to sensor readout?
I am working on a project that requires I apply consistent mechanical pressure to what my printer is "extruding", and it is desirable to digitally quantify the mechanical pressure I am applying during the "printing" process in order to ensure that all the material that is extruded during the print/ build is processed under the exact same mechanical pressure (within some tolerance of course).
As far as I know there isn't a way to do this with any of the opensource firmware/ software duo's that are accessible. For reference I am running my machine off of a fairly current version of Marlin and obviously I am interfacing with Repetier Host.
Any help or insight or even discussion is greatly appreciated!!!