本文整理汇总了C++中EngEphemeris::getAccuracy方法的典型用法代码示例。如果您正苦于以下问题:C++ EngEphemeris::getAccuracy方法的具体用法?C++ EngEphemeris::getAccuracy怎么用?C++ EngEphemeris::getAccuracy使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类EngEphemeris
的用法示例。
在下文中一共展示了EngEphemeris::getAccuracy方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: RinexSatID
// Deprecated; used GPSEphemeris.
// This routine uses EngEphemeris, so is for GPS data only.
// The comments about GPS v. Galileo next to each elements are just notes
// from sorting out the ICDs in the RINEX 3 documentation. Please leave
// them there until we add a routine for handling GalRecord or similar.
Rinex3NavData::Rinex3NavData(const EngEphemeris& ee) // GPS only
{
// epoch info
satSys = ee.getSatSys();
PRNID = ee.getPRNID();
sat = RinexSatID(PRNID,SatID::systemGPS);
time = ee.getEpochTime();
Toc = ee.getToc();
HOWtime = long(ee.getHOWTime(1));
weeknum = ee.getFullWeek();
accuracy = ee.getAccuracy();
health = ee.getHealth();
// GPS or Galileo data
af0 = ee.getAf0(); // GPS and Galileo only
af1 = ee.getAf1(); // GPS and Galileo only
af2 = ee.getAf2(); // GPS and Galileo only
Crs = ee.getCrs(); // GPS and Galileo only
dn = ee.getDn(); // GPS and Galileo only
M0 = ee.getM0(); // GPS and Galileo only
Cuc = ee.getCuc(); // GPS and Galileo only
ecc = ee.getEcc(); // GPS and Galileo only
Cus = ee.getCus(); // GPS and Galileo only
Ahalf = ee.getAhalf(); // GPS and Galileo only
Toe = ee.getToe(); // GPS and Galileo only
Cic = ee.getCic(); // GPS and Galileo only
OMEGA0 = ee.getOmega0(); // GPS and Galileo only
Cis = ee.getCis(); // GPS and Galileo only
i0 = ee.getI0(); // GPS and Galileo only
Crc = ee.getCrc(); // GPS and Galileo only
w = ee.getW(); // GPS and Galileo only
OMEGAdot = ee.getOmegaDot(); // GPS and Galileo only
idot = ee.getIDot(); // GPS and Galileo only
// GPS-only data
IODE = ee.getIODE(); // GPS only
codeflgs = ee.getCodeFlags(); // GPS only
L2Pdata = ee.getL2Pdata(); // GPS only
Tgd = ee.getTgd(); // GPS only
IODC = ee.getIODC(); // GPS only
fitint = ee.getFitInterval(); // GPS only
} // End of 'Rinex3NavData::Rinex3NavData(const EngEphemeris& ee)'
示例2: process
//.........这里部分代码省略.........
{
if (!ee.isData(i) || !eeMin.isData(i))
{
mismatch = true;
fp << "ERROR: not all subframes are claimed available.";
}
}
if (ee.getIODC()!=eeMin.getIODC())
{
mismatch = true;
fp << "ERROR: IODCs do not match.";
}
if (ee.getIODE()!=eeMin.getIODE())
{
mismatch = true;
fp << "ERROR: IODCs do not match.";
}
if (ee.getFitInterval() != eeMin.getFitInterval() )
{
mismatch = true;
fp << "ERROR: fit intervals do not match.";
}
if (ee.getCodeFlags()!=eeMin.getCodeFlags() )
{
mismatch = true;
fp << "ERROR: code flags do not match.";
}
if (ee.getL2Pdata()!=eeMin.getL2Pdata() )
{
mismatch = true;
fp << "ERROR: L2P data flags do not match.";
}
if (ee.getAccuracy()!=eeMin.getAccuracy() )
{
mismatch = true;
fp << "ERROR: accuracy values do not match.";
}
if (ee.getAccFlag()!=eeMin.getAccFlag() )
{
mismatch = true;
fp << "ERROR: accuracy flags do not match.";
}
if (ee.getHealth()!=eeMin.getHealth() )
{
mismatch = true;
fp << "ERROR: health values do not match.";
}
if (ee.getFitInt()!=eeMin.getFitInt() )
{
mismatch = true;
fp << "ERROR: Fit interval values do not match.";
}
if (mismatch)
{
fp << " PRNID: " << PRNID << ", IODC: 0x " << hex << ee.getIODC() << dec << endl;
numMismatches++;
}
itr++;
count++;
}
cout << "Number of Block 109 records read: " << count << endl;
if (numMismatches!=0)
{