去掉sbg惯导的磁场校正
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user