synthetos / node-g2core-api

NodeJS host communications, API and command line interface for g2 CNC system
GNU General Public License v2.0
8 stars 6 forks source link

In node-12-refactor branch after gcode has finished runnning, tinyg board must be reset to send another gcode file #15

Open ln0a opened 1 year ago

ln0a commented 1 year ago

I have been have issues installing from npm and running for source the master branch of g2core-api. After some fiddling with node versions I have been able to run the node-12-refactor branch with node 12 after manually installing serialport in the project and running node audit fix --force.

Now I am having an issue where after sending a gcode file with node bin/g2.js GCODE-PATH -p TINYG-PORT -v the gcode is run and the command is completed, but if I run the same comman a second time it just hangs and nothing is printed to the command line. If I reset the tinyg board with the command still running the gcode is then sent.

I am running g2 on a raspberry pi 3 with a clean Raspberry Pi OS Lite 64bit (Debian 11). Any thoughts on why this might be?