Changeset 10221 in ntrip for trunk/BNC/src/combination


Ignore:
Timestamp:
Oct 6, 2023, 12:31:04 PM (17 months ago)
Author:
stuerze
Message:

minor changes

Location:
trunk/BNC/src/combination
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/combination/bncbiassnx.cpp

    r10216 r10221  
    264264        if  (cb.contains("C1X") && cb.contains("C2X")) {cb.insert("C1X-C2X", cb["C1X"] - cb["C2X"]);}
    265265        if  (cb.contains("C1X") && cb.contains("C5X")) {cb.insert("C1X-C5X", cb["C1X"] - cb["C5X"]);}
     266        break;
    266267      default:
    267268        break;
     
    271272}
    272273
    273 // get DSBs from OSBs
     274//
    274275////////////////////////////////////////////////////////////////////////////
    275276t_irc bncBiasSnx::cleanDsb() {
    276   for (auto itS = _snxSatCodeBiasMap.begin(); itS != _snxSatCodeBiasMap.end();){
    277     if (!_useGnss[itS.key().at(0).toLatin1()]) {
     277
     278  for (auto itS = _snxSatCodeBiasMap.begin(); itS != _snxSatCodeBiasMap.end();) {
     279    char sys = itS.key().at(0).toLatin1();
     280    if (!_useGnss[sys]) {
     281      delete itS.value();
    278282      itS = _snxSatCodeBiasMap.erase(itS);
    279283    }
  • trunk/BNC/src/combination/bnccomb.cpp

    r10216 r10221  
    174174      newAC->name         = hlp[1];
    175175      newAC->weightFactor = hlp[2].toDouble();
    176       newAC->isAPC = (newAC->mountPoint.mid(0,4) =="SSRA");
     176      newAC->isAPC = bool(newAC->mountPoint.mid(0,4) == "SSRA");
    177177      QMapIterator<char, unsigned> itSys(_cmbSysPrn);
    178178      // init
     
    301301    _MAXRES = 999.0;
    302302  }
     303
    303304}
    304305
     
    306307////////////////////////////////////////////////////////////////////////////
    307308bncComb::~bncComb() {
     309
    308310  QListIterator<cmbAC*> icAC(_ACs);
    309311  while (icAC.hasNext()) {
     
    315317  if (_ssrCorr) {
    316318    delete _ssrCorr;
    317 
    318   }
     319  }
     320
    319321  delete _antex;
    320322  delete _bsx;
     
    10501052    clkCorrections.push_back(clkCorr);
    10511053
    1052 
    10531054    ColumnVector xc(6);
    10541055    ColumnVector vv(3);
     
    10621063    // Correction Phase Center --> CoM
    10631064    // -------------------------------
    1064 
    10651065    ColumnVector dx(3);   dx = 0.0;
    10661066    ColumnVector apc(3); apc = 0.0;
Note: See TracChangeset for help on using the changeset viewer.