2021-06-05 17:15:32 +08:00
|
|
|
#ifndef RTKPROCESS_H
|
|
|
|
|
#define RTKPROCESS_H
|
|
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
#include "QDebug"
|
|
|
|
|
#include "QtEndian"
|
|
|
|
|
#include "QDateTime"
|
|
|
|
|
|
|
|
|
|
#include "ThreadTemplet.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef QtMavlinkNode
|
|
|
|
|
#include <mavlinknodeglobal.h>
|
|
|
|
|
class MAVLINKNODESHARED_EXPORT rtkprocess : public ThreadTemplet {
|
|
|
|
|
#else
|
|
|
|
|
class rtkprocess : public ThreadTemplet
|
|
|
|
|
{
|
|
|
|
|
#endif
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
explicit rtkprocess(QObject *parent = nullptr);
|
|
|
|
|
~rtkprocess();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-07-08 18:35:03 +08:00
|
|
|
signals:
|
2021-06-05 17:15:32 +08:00
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
|
|
|
|
|
//缓存对外接口
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
//线程私有接口
|
|
|
|
|
|
|
|
|
|
//缓存私有接口
|
|
|
|
|
|
2021-07-08 18:35:03 +08:00
|
|
|
void rtkupdate(void);
|
2021-06-05 17:15:32 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
//解析
|
2021-06-16 17:27:38 +08:00
|
|
|
void process();
|
2021-06-05 17:15:32 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
QByteArray rtkrawdata;
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // RTKPROCESS_H
|
|
|
|
|
|