Changeset 10156 in ntrip for trunk/BNC/src
- Timestamp:
- Aug 14, 2023, 1:10:07 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppFilter.cpp
r10152 r10156 192 192 // Check number of observations 193 193 // ---------------------------- 194 if ( (iObs +1)< OPT->_minObs) {195 LOG << "t_pppFilter::processSystem not enough observations " << iObs + 1<< "\n";194 if (nSat < OPT->_minObs) { 195 LOG << "t_pppFilter::processSystem not enough observations " << nSat << "\n"; 196 196 return failure; 197 197 } … … 382 382 if (par->type() == t_pppParam::amb && par->prn() == prn) { 383 383 int ind = par->indexNew(); 384 bncTime firstObsTime; 385 bncTime lastObsTime = par->lastObsTime(); 386 if (par->firstObsTime().undef()) { 387 firstObsTime = lastObsTime; 388 } 389 else { 390 firstObsTime = par->firstObsTime(); 391 } 384 392 t_lc::type tLC = par->tLC(); 385 393 if (tLC != lc) {continue;} … … 387 395 delete par; par = new t_pppParam(t_pppParam::amb, prn, tLC, &obsVector); 388 396 par->setIndex(ind); 397 par->setFirstObsTime(firstObsTime); 398 par->setLastObsTime(lastObsTime); 389 399 params[iPar] = par; 390 400 for (unsigned ii = 1; ii <= params.size(); ii++) {
Note:
See TracChangeset
for help on using the changeset viewer.