diff --git a/.gitignore b/.gitignore index 6027263..ccc8fe3 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ gnuplotscript.gp *.lo *.o *.obj +*.bin # Precompiled Headers *.gch diff --git a/control/examples/pegel/main.cpp b/control/examples/pegel/main.cpp index 4370320..e3eb666 100644 --- a/control/examples/pegel/main.cpp +++ b/control/examples/pegel/main.cpp @@ -3,6 +3,7 @@ #include #include +constexpr char * PLOT_FILE = "plot.bin"; int main() { @@ -41,6 +42,6 @@ int main() } // speichern und plotty starten - pf.writeToFile("test_plot"); - pf.startPlotty("test_plot"); + pf.writeToFile(PLOT_FILE); + pf.startPlotty(PLOT_FILE); } diff --git a/control/examples/pegel/test_plot b/control/examples/pegel/test_plot deleted file mode 100644 index 908f0cb..0000000 Binary files a/control/examples/pegel/test_plot and /dev/null differ