Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V30.3.0 #143

Merged
merged 10 commits into from
Jun 11, 2024
84 changes: 42 additions & 42 deletions include/botui/Create3ExampleWidget.h
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
#ifndef _CREATE3EXAMPLEWIDGET_H_
#define _CREATE3EXAMPLEWIDGET_H_

#include "StandardWidget.h"

#include <QRegularExpression>
#include <QStringListModel>
namespace Ui
{
class Create3ExampleWidget;
}

class Create3SensorModel;

class Create3ExampleWidget : public StandardWidget
{
Q_OBJECT
public:
Create3ExampleWidget(Device *device, QWidget *parent = 0);
~Create3ExampleWidget();

private slots:

int create3Connect();
int isConnected();
void indexChanged(int index);
void run();

private:
Ui::Create3ExampleWidget *ui;

Create3SensorModel *_model;
double m_setpointVal;
double m_feedbackVal;
int m_position_1;
double m_vel_1;
void update();
QStringListModel *model;
void updatePids();
};

#endif
// #ifndef _CREATE3EXAMPLEWIDGET_H_
// #define _CREATE3EXAMPLEWIDGET_H_

// #include "StandardWidget.h"

// #include <QRegularExpression>
// #include <QStringListModel>
// namespace Ui
// {
// class Create3ExampleWidget;
// }

// class Create3SensorModel;

// class Create3ExampleWidget : public StandardWidget
// {
// Q_OBJECT
// public:
// Create3ExampleWidget(Device *device, QWidget *parent = 0);
// ~Create3ExampleWidget();

// private slots:

// int create3Connect();
// int isConnected();
// void indexChanged(int index);
// void run();

// private:
// Ui::Create3ExampleWidget *ui;

// Create3SensorModel *_model;
// double m_setpointVal;
// double m_feedbackVal;
// int m_position_1;
// double m_vel_1;
// void update();
// QStringListModel *model;
// void updatePids();
// };

// #endif
14 changes: 6 additions & 8 deletions include/botui/Create3Widget.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "StandardWidget.h"

#include <QRegularExpression>
#include <QStringListModel>
#include <QProcess>

namespace Ui
Expand All @@ -15,30 +16,27 @@ class Create3SensorModel;

class Create3Widget : public StandardWidget
{
Q_OBJECT
Q_OBJECT
public:
Create3Widget(Device *device, QWidget *parent = 0);
~Create3Widget();

private slots:

void create3Connect();
// void resetServer();
void sensorList();
void exampleList();
QString getIP();
void toggleChanged();

void indexChanged(int index);
void run();

private:
Ui::Create3Widget *ui;

Create3SensorModel *_model;
Create3SensorModel *_model;
double m_setpointVal;
double m_feedbackVal;
int m_position_1;
QStringListModel *model;
double m_vel_1;
};


#endif
Loading