⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gpspositon.cpp

📁 GPS单点定位程序,利用伪距测量进行单点定位。写得很优秀
💻 CPP
字号:
// GPSPositon.cpp : 定义控制台应用程序的入口点。
//

#include "stdafx.h"
#include "RinexNavRead.h"
#include "RinexObsRead.h"
#include "stdlib.h"
#include "ComputeSatPosition.h"
#include "DataManage.h"
#include <iostream>

using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
 char strn[100],stro[100];
cout<<"单点定位与导航:"<<endl;
cout<<"请输入导航文件名:";
gets(strn);
cout<<"请输入观测值文件名:";
gets(stro);

string path(stro);
GMO worun;
worun=ReadRinexObsFile(path);
string pathnav(strn);
vector<GMNREC>  nav;
 nav=ReadRinexNavFile(pathnav);
vector<PPONERESULT>  all;
all=PP(worun,nav);
 ResultOut(all);
	return 0;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -