Changeset 4778 in ntrip for trunk/BNC/src
- Timestamp:
- Oct 26, 2012, 6:35:15 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTRover/bncrtrover.cpp
r4777 r4778 242 242 //////////////////////////////////////////////////////////////////////////// 243 243 void copyObs(const t_obs& obsBnc, rtrover_satObs& satObs) { 244 bncTime obsTime(obsBnc.GPSWeek, obsBnc.GPSWeeks); 244 245 satObs._satellite._system = obsBnc.satSys; 245 246 satObs._satellite._number = obsBnc.satNum; 247 satObs._time._mjd = obsTime.mjd(); 248 satObs._time._sec = obsTime.daysec(); 249 satObs._slotNumber = obsBnc.slotNum; 246 250 QMap<QByteArray, rtrover_obs> allObs; 247 251 for (int iEntry = 0; iEntry < GNSSENTRY_NUMBER; ++iEntry) { … … 251 255 QByteArray codeType = rnxStr.mid(1); 252 256 if (!allObs.contains(codeType)) { 253 allObs[codeType]._rnxType[0] = codeType[0]; 254 allObs[codeType]._rnxType[1] = codeType[1]; 255 allObs[codeType]._code = 0.0; 256 allObs[codeType]._phase = 0.0; 257 allObs[codeType]._doppler = 0.0; 258 allObs[codeType]._snr = 0.0; 257 allObs[codeType]._rnxType[0] = codeType[0]; 258 allObs[codeType]._rnxType[1] = codeType[1]; 259 allObs[codeType]._code = 0.0; 260 allObs[codeType]._phase = 0.0; 261 allObs[codeType]._doppler = 0.0; 262 allObs[codeType]._snr = 0.0; 263 allObs[codeType]._slip = false; 264 allObs[codeType]._slipCounter = -1; 259 265 } 260 266 if (rnxStr[0] == 'C') { … … 322 328 dt = _epochs.back()->_time - _epochs.front()->_time; 323 329 } 324 cout << "dt = " << dt << endl;325 330 if (dt < WAITTIME) { 326 331 return; … … 333 338 334 339 int numSatRover = frontEpoData->_obsRover.size(); 335 cout << "numSatRover = " << numSatRover << endl;336 340 rtrover_satObs satObsRover[numSatRover]; 337 341 for (int ii = 0; ii < numSatRover; ii++) { … … 343 347 int numSatBase = frontEpoData->_obsBase.size(); 344 348 rtrover_satObs satObsBase[numSatBase]; 345 cout << "numSatBase = " << numSatBase << endl;346 349 for (int ii = 0; ii < numSatBase; ii++) { 347 350 const t_obs& obsBnc = frontEpoData->_obsBase[ii];
Note:
See TracChangeset
for help on using the changeset viewer.