gpr
gpr copied to clipboard
A simple C++ G-code parser
Hi, @dillonhuff Faced the problem of parsing this non-standard code. **M76 X** Or something like that, without the address at the end. There is a segmentation error in the line...
I successfully build the code but when I run the all test, it gives me the error: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ all-tests is a Catch v1.3.1 host application. Run with -? for options...
Prusa has a set of sub codes codes documented [here](https://reprap.org/wiki/G-code#M862:_Print_checking). For example: ``` M862.1 P0.4 ; nozzle diameter check M862.3 P "MK3S" ; printer model check ``` This appear in...
```shell cmake . make ``` then ```shell $ ./all-tests dyld[97154]: Library not loaded: @rpath/libgpr.dylib Referenced from: /Users/bramp/gpr/all-tests Reason: tried: '/usr/local/lib/libgpr.dylib' (no such file), '/usr/lib/libgpr.dylib' (no such file) Abort trap: 6...
Hi, I tried to download the GCode parser and run the ``` cmake . make -j ./all-tests ``` but it returned with a failure: [error.pdf](https://github.com/dillonhuff/gpr/files/7142405/error.pdf)
Hi, this interface could be helpfull.
This bug is triggered if a line ends with a command without a number.
I don't add any test because this crashed for me when I ran the already written unit tests. The crash is in the HAAS unit test when it attempts to...