去掉sbg惯导的磁场校正

This commit is contained in:
tangchao0503
2022-06-13 15:12:17 +08:00
parent 1452bcc2b9
commit b5a1da8ceb
2 changed files with 2 additions and 397 deletions

View File

@ -18,39 +18,10 @@
extern "C"
{
#include <sbgEComLib.h>
// #include <sbgEComLib.h>
#include <stdlib.h>
}
class sbgMagCibWorkThread:public QThread
{
Q_OBJECT
public:
sbgMagCibWorkThread();
int m_iMagCalibStopControl;
void displayMagCalibResults(SbgEComMagCalibMode mode, const SbgEComMagCalibResults *pMagCalibResults);
protected:
void run();
private:
// 0:串口打开错误;
// 1:磁场矫正失败;
// 2:Unable to get onboard magnetic calibration results;
// 3:磁场数据无效:invalid;
// 4:写入磁场数据失败;
// 5:POOR;
// 6:GOOD;
// 7:OPTIMAL;
int m_iMagCalibState;
void signalWrap(int state);
signals:
void magCalibStateSignal(int);
};
class UdpServer:public QObject
{
Q_OBJECT
@ -67,8 +38,6 @@ class UdpServer:public QObject
private:
QUdpSocket * m_udpSocket;
sbgMagCibWorkThread * m_sbgMagCibWorkThread;
QHostAddress m_clientIpAddress;
quint16 m_clientPort;
@ -92,7 +61,6 @@ public slots:
void onRecordFinished();
void sendSerialPortStatus(int serialPortStatus);
void sendSbgMagCalibState(int SbgMagCalibState);
void sendSbgSolutionModeState(int SolutionMode);
void sendSbgAccuracyState(int Accuracy);