#include "mainwindow.h" #include "ui_mainwindow.h" // #include "get_command.h" // #include "send_command.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include // For user space HAL RTAPI #ifdef RTAPI #undef RTAPI #endif #ifndef ULAPI #define ULAPI #endif #include "emc.hh" #include "emc_nml.hh" #include "emcIniFile.hh" #include "emcpos.h" #include "hal.h" #include #include #include #include "motion.h" #include "inifile.h" #include "iniaxis.hh" #include "inifile.hh" #include "inihal.hh" #include "nml_oi.hh" //QT_CHARTS_USE_NAMESPAC #define ARRSIZE(arr) (sizeof(arr)/sizeof(arr[0])) #define _tprintf printf // #define PI 3.141592 // Use M_PI instead. bool momBnt = false; MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); double pi=M_PI; } MainWindow::~MainWindow() { delete ui; }