42 lines
674 B
C++
42 lines
674 B
C++
#ifndef INS_H
|
|
#define INS_H
|
|
|
|
#include <QWidget>
|
|
#include "ToolsUI/Parse.h"
|
|
#include "ToolsUI/ToolsWidget.h"
|
|
#include "QThreadPool"
|
|
|
|
namespace Ui {
|
|
class INS;
|
|
}
|
|
|
|
class INS : public ToolsWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit INS(QWidget *parent = nullptr);
|
|
~INS();
|
|
|
|
public slots:
|
|
void recieveData(const int &id, const QByteArray &data);
|
|
|
|
void INS_Info(Parse::_ins info);
|
|
void NAV_Info(Parse::_nav info);
|
|
|
|
|
|
void imu(Parse::_imu info);
|
|
void euler(Parse::_euler info);
|
|
void vel(Parse::_vel info);
|
|
void pos(Parse::_pos info);
|
|
|
|
signals:
|
|
|
|
void parseData(const int &id,const QByteArray &data);
|
|
|
|
private:
|
|
Ui::INS *ui;
|
|
};
|
|
|
|
#endif // INS_H
|