xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 9.56MB
    文件類(lèi)型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-10-22
  • 語(yǔ)言: 其他
  • 標(biāo)簽: GPS??

資源簡(jiǎn)介

包括 讀取RENIX觀測(cè)、導(dǎo)航文件 GPS,GLONASS,COMPASS的衛(wèi)星位置計(jì)算程序 三種星座的聯(lián)合差分定位 (代碼附有詳細(xì)注釋?zhuān)?img width=510 src=http://www.oy-car.com/pic/205335.jpg />

資源截圖

代碼片段和文件信息

//?mix.cpp?:?定義控制臺(tái)應(yīng)用程序的入口點(diǎn)。
//

#include?“stdafx.h“
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include???
using?namespace?Eigen;??
using?namespace?std;
const?double?c=299792458;?//light?speed
const?double?GM=3.9860044e14;
const?double?we=7.292115e-5;?//地球自轉(zhuǎn)速度
const?double?ae=6.378136e6;?//PZ-90下地球長(zhǎng)半軸
const?double?J2=1.0826257e-3;//重力第二諧系數(shù)
//-------------------------------------------------------------------


//民用時(shí)轉(zhuǎn)化為GPS時(shí)
void?gpstime(int?yearint?monthint?dayint?hour?int?minute?double?second?int?&week?double?&secofweek)
{
int?ry[12]={312931303130313130313031}fry[12]={312831303130313130313031};
if(year?>?80)?
year?=?1900?+?year;
else?
year?=?2000?+?year;
int?z=0;
for(int?i1=1980;?i1? {
if(i1%4?==?0?&&?i1%400?!=?0)
z++;????????????????????//記閏年數(shù)
}
if(year%4?==?0?&&?year%100?!=?0)
{
for(int?i2?=?0;?i2? day?+=?ry[i2];

}
else
{
for(int?i3=0;?i3? day?+=?fry[i3];

}
day?+=?(year-1980)*365?+?z?-?5;
week?=?day/7;
secofweek=?day%7*24*3600?+?hour*3600?+?minute*60?+?second?;
}

//GPSBeidou星歷文件類(lèi)?.15N??.15R
class?ReadNavFile?//星歷文件類(lèi)
{
public:
int?svNum;//星歷中的衛(wèi)星個(gè)數(shù)
vector?>?ephlist;
ReadNavFile(string?nfile)?//構(gòu)造函數(shù)
{
//--------------------------------------------------------------------
//用文件流讀文件
ifstream?in_n(nfile.c_str());
if(in_n)
cout<<“打開(kāi)N文件成功“< else
cerr<<“未找到N文件“< string?str;
//--------------------------------------------------------------------
//定位到數(shù)據(jù)頭
while(str.find(“END?OF?HEADER“)?==?string::npos)
{
getline(in_nstr);
}
//計(jì)算文件的行數(shù)和段數(shù)
int?count?=?0;
while(in_n)?
{
getline(in_n?str);//從文件中讀取一行
remove(str.begin()?str.end()?‘?‘);//這個(gè)算法函數(shù)在algorithm頭文件中,刪除一行中的空格
remove(str.begin()?str.end()?‘\t‘);//刪除一行中的制表符,因?yàn)橹票矸涂崭穸际强盏?br/> if?(str.length()?>?0)?
{
//如果刪除制表符和空格之后的一行數(shù)據(jù)還有其他字符就算有效行
count?++;
}
}
svNum?=count/8;//衛(wèi)星個(gè)數(shù)每個(gè)衛(wèi)星8行數(shù)據(jù)
ephlist.resize(svNum);//用衛(wèi)星個(gè)數(shù)定義星歷的行數(shù)

//定位到文件頭
ifstream?in_n1(nfile.c_str());
//定位到數(shù)據(jù)頭
while(str.find(“END?OF?HEADER“)?==?string::npos)
{
getline(in_n1str);
}
for(int?i=0;?i? {
ephlist[i].resize(38);//星歷的列數(shù)=38
getline(in_n1str);
ephlist[i][0]?=?atoi(str.substr(02).c_str());
ephlist[i][1]?=?atoi(str.substr(32).c_str());
ephlist[i][2]?=?atoi(str.substr(71).c_str());
ephlist[i][3]?=?atoi(str.substr(101).c_str());
ephlist[i][4]?=?atoi(str.substr(131).c_str());
ephlist[i][5]?=?atoi(str.substr(152).c_str());
ephlist[i][6]?=?atof(str.substr(194).c_str());
ephlist[i][7]?=?atof(str.substr(2219).c_str());
ephlist[i][8]?=?atof(str.substr(4119).c_str());
ephlist[i][9]?=?atof(str.substr(6019).c_str());
for(int?k?=?0;?k? sw

?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----

?????文件?????415744??2015-06-12?15:26??mix\Debug\mix.exe

?????文件????1558208??2015-06-12?15:26??mix\Debug\mix.ilk

?????文件????6228992??2015-06-12?15:26??mix\Debug\mix.pdb

?????文件??????42418??2015-06-12?15:46??mix\GPSGLONASSCOMPASS聯(lián)合.docx

?????文件????2359296??2015-06-12?14:40??mix\ipch\mix-858ddd72\mix-c13f649a.ipch

?????文件??????45282??2015-06-09?16:33??mix\mix\base.15G

?????文件??????15962??2015-06-09?16:33??mix\mix\base.15N

?????文件???15247584??2015-06-09?16:33??mix\mix\base.15O

?????文件?????114458??2015-06-09?16:33??mix\mix\base.15R

?????文件???????1498??2015-06-12?15:26??mix\mix\Debug\cl.command.1.tlog

?????文件??????35698??2015-06-12?15:26??mix\mix\Debug\CL.read.1.tlog

?????文件????????660??2015-06-12?15:26??mix\mix\Debug\CL.write.1.tlog

?????文件??????????2??2015-06-12?15:26??mix\mix\Debug\link-cvtres.read.1.tlog

?????文件??????????2??2015-06-12?15:26??mix\mix\Debug\link-cvtres.write.1.tlog

?????文件??????????2??2015-06-12?15:26??mix\mix\Debug\link.1440-cvtres.read.1.tlog

?????文件??????????2??2015-06-12?15:26??mix\mix\Debug\link.1440-cvtres.write.1.tlog

?????文件??????????2??2015-06-12?15:26??mix\mix\Debug\link.1440.read.1.tlog

?????文件??????????2??2015-06-12?15:26??mix\mix\Debug\link.1440.write.1.tlog

?????文件??????????2??2015-06-12?15:26??mix\mix\Debug\link.6920-cvtres.read.1.tlog

?????文件??????????2??2015-06-12?15:26??mix\mix\Debug\link.6920-cvtres.write.1.tlog

?????文件??????????2??2015-06-12?15:26??mix\mix\Debug\link.6920.read.1.tlog

?????文件??????????2??2015-06-12?15:26??mix\mix\Debug\link.6920.write.1.tlog

?????文件???????1490??2015-06-12?15:26??mix\mix\Debug\link.command.1.tlog

?????文件???????3158??2015-06-12?15:26??mix\mix\Debug\link.read.1.tlog

?????文件????????722??2015-06-12?15:26??mix\mix\Debug\link.write.1.tlog

?????文件????????406??2015-06-12?14:56??mix\mix\Debug\mix.exe.embed.manifest

?????文件????????472??2015-06-12?14:56??mix\mix\Debug\mix.exe.embed.manifest.res

?????文件????????381??2015-06-12?15:26??mix\mix\Debug\mix.exe.intermediate.manifest

?????文件?????????55??2015-06-12?15:26??mix\mix\Debug\mix.lastbuildstate

?????文件???????2163??2015-06-12?15:26??mix\mix\Debug\mix.log

............此處省略40個(gè)文件信息

評(píng)論

共有 條評(píng)論

相關(guān)資源