Changeset 5863 in ntrip for trunk/BNC/src/PPP
- Timestamp:
- Aug 8, 2014, 10:43:23 AM (11 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppRunPostProc.cpp
r5860 r5863 103 103 else { 104 104 BNC_CORE->slotMessage(msg, false); 105 }106 }107 108 // Set Observations from RINEX File109 ////////////////////////////////////////////////////////////////////////////110 void t_postProcessing::setObsFromRnx(const t_rnxObsFile* rnxObsFile,111 const t_rnxObsFile::t_rnxEpo* epo,112 const t_rnxObsFile::t_rnxSat& rnxSat,113 t_obs& obs) {114 115 strncpy(obs.StatID, rnxObsFile->markerName().toAscii().constData(),116 sizeof(obs.StatID));117 118 obs.satSys = rnxSat.satSys;119 obs.satNum = rnxSat.satNum;120 obs.GPSWeek = epo->tt.gpsw();121 obs.GPSWeeks = epo->tt.gpssec();122 123 for (int iType = 0; iType < rnxObsFile->nTypes(obs.satSys); iType++) {124 QString type = rnxObsFile->obsType(obs.satSys,iType).toAscii();125 obs.setMeasdata(type, rnxObsFile->version(), rnxSat.obs[iType]);126 if (type.indexOf("L1") == 0) {127 obs.snrL1 = rnxSat.snr[iType];128 obs.slipL1 = (rnxSat.lli[iType] & 1);129 }130 else if (type.indexOf("L2") == 0) {131 obs.snrL2 = rnxSat.snr[iType];132 obs.slipL2 = (rnxSat.lli[iType] & 1);133 }134 else if (type.indexOf("L5") == 0) {135 obs.snrL5 = rnxSat.snr[iType];136 obs.slipL5 = (rnxSat.lli[iType] & 1);137 }138 105 } 139 106 } -
trunk/BNC/src/PPP/pppRunPostProc.h
r5860 r5863 44 44 public: 45 45 t_postProcessing(QObject* parent, int maxSpeed, int speed); 46 static void setObsFromRnx(const t_rnxObsFile* rnxObsFile,47 const t_rnxObsFile::t_rnxEpo* epo,48 const t_rnxObsFile::t_rnxSat& rnxSat,49 t_obs& obs);50 51 46 ~t_postProcessing(); 52 47
Note:
See TracChangeset
for help on using the changeset viewer.