Changeset 4403 in ntrip for trunk/BNC/src/rinex
- Timestamp:
- Jul 8, 2012, 11:35:48 AM (13 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/src/rinex/bncpostprocess.cpp ¶
r4391 r4403 119 119 for (int iType = 0; iType < rnxObsFile->nTypes(obs.satSys); iType++) { 120 120 QString type = rnxObsFile->obsType(obs.satSys,iType).toAscii(); 121 obs.setMeasdata(type, rnxSat.obs[iType]); 121 obs.setMeasdata(type, rnxObsFile->version(), rnxSat.obs[iType]); 122 122 // TOOD: handle slip flags 123 123 } -
TabularUnified trunk/BNC/src/rinex/reqcanalyze.cpp ¶
r4391 r4403 237 237 // Compute the Multipath 238 238 // ---------------------- 239 double L1 = obs.measdata("L1"); 240 double L2 = obs.measdata("L2"); 239 double L1 = obs.measdata("L1", 2.0); 240 double L2 = obs.measdata("L2", 2.0); 241 241 if (L1 != 0.0 && L2 != 0.0) { 242 242 double f1 = t_CST::f1(obs.satSys, obs.slotNum); … … 246 246 L2 = L2 * t_CST::c / f2; 247 247 248 double P1 = obs.measdata("P1"); 248 double P1 = obs.measdata("P1", 2.0); 249 249 if (P1 != 0.0) { 250 250 newObs->_MP1 = P1 - L1 - 2.0*f2*f2/(f1*f1-f2*f2) * (L1 - L2); … … 258 258 //// end test 259 259 } 260 double P2 = obs.measdata("P2"); 260 double P2 = obs.measdata("P2", 2.0); 261 261 if (P2 != 0.0) { 262 262 newObs->_MP2 = P2 - L2 - 2.0*f1*f1/(f1*f1-f2*f2) * (L1 - L2);
Note:
See TracChangeset
for help on using the changeset viewer.