1 Star 1 Fork 2

今夜无眠/GNSS_Viewer_V2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
SkyTraqKml.h 1.95 KB
一键复制 编辑 原始数据 按行查看 历史
Alex Lin 提交于 2018-07-18 16:21 . 2.0.326
#pragma once
#include <vector>
#include "NMEA.h"
typedef struct
{
double lat;
double lon;
double alt;
} LL1;
class CSkyTraqKml
{
public:
CSkyTraqKml(void);
~CSkyTraqKml(void);
//void SetFileName(const char *name);
//void Init(const char *name, int path_color, bool kml3d = false);
void Init(const char *name, int color, bool kml3d = false, bool bPointList = false, bool bNoPointText = false, bool bDetailInfo = false);
void PushOnePoint(double lon, double lat, double alt, const CString& ts, QualityMode q);
void RealPushOnePoint2(double lon, double lat, double alt, const F32* speed, const F32* degree, const CString& ts, QualityMode q);
void PushOnePoint2(double lon, double lat, double alt, const F32* speed, const F32* degree, const CString& ts, QualityMode q);
void PushOnePoi(double lon, double lat, double alt);
void Finish();
void Finish2();
GPGSA *msg_gpgsa;
GPGSA *msg_glgsa;
GPGSA *msg_bdgsa;
GPGSA *msg_gagsa;
GPGSA *msg_gigsa;
GPGSV *msg_gpgsv;
GPGSV *msg_glgsv;
GPGSV *msg_bdgsv;
GPGSV *msg_gagsv;
GPGSV *msg_gigsv;
Satellites* satellites_gp;
Satellites* satellites_gl;
Satellites* satellites_bd;
Satellites* satellites_ga;
Satellites* satellites_gi;
private:
CFile kmlFile;
bool iniWriteKml;
bool convert3d;
bool pointList;
bool noPointText;
bool detailInfo;
int lineColor;
CString strPointList;
CList<CString, CString> pls;
std::vector<LL1> lst_poi;
LL1 start_point, last_point;
void WriteKMLini(CFile& kmlFile);
void WriteKMLPath(CFile& kmlFile, double lon, double lat, double alt, const CString& ts, QualityMode q);
void WriteKMLPath2(CFile& kmlFile, double lon, double lat, double alt, const F32* speed, const F32* degree, const CString& ts, QualityMode q);
void WritePOIPath(CFile& kmlFile , std::vector<LL1> *lst);
void AddStartPoint(CFile& kmlFile);
void AddEndPoint(CFile& kmlFile);
char CheckGsa(int p, GPGSA *gsa);
CString GenerateSatelliteTable(Satellites* s, GPGSA *gsa);
CString GetSatelliteInfo();
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/null_130_5865/GNSS_Viewer_V2.git
[email protected]:null_130_5865/GNSS_Viewer_V2.git
null_130_5865
GNSS_Viewer_V2
GNSS_Viewer_V2
master

搜索帮助