Changeset 1299 in ntrip for trunk/BNC/RTCM/RTCM2Decoder.cpp


Ignore:
Timestamp:
Dec 12, 2008, 5:58:00 PM (15 years ago)
Author:
zdenek
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM/RTCM2Decoder.cpp

    r1269 r1299  
    309309    t_listMap::const_iterator ieph = _ephList.find(PRN);
    310310
    311     if ( ieph == _ephList.end() ) {
    312       errmsg.push_back("missing eph for " + PRN);
    313       continue;
    314     }
    315 
    316311    double L1 = 0;
    317312    double L2 = 0;
     
    361356      }
    362357
    363       eph = ieph->second->getEph(IODcorr);
     358      // Select corresponding ephemerides
     359      if ( ieph != _ephList.end() ) {
     360        eph = ieph->second->getEph(IODcorr);
     361      }
    364362
    365363      if ( eph ) {
     
    443441      _obsList.push_back( new_obs );
    444442
    445       ///ostringstream hasIODstr;
    446       ///copy(hasIOD.begin(), hasIOD.end(), ostream_iterator<string>(hasIODstr, "    "));
    447       ///errmsg.push_back("decoded PRN " + PRN + " : " + hasIODstr.str());
    448     }
    449   }
    450 }
     443      ////ostringstream hasIODstr;
     444      ////copy(hasIOD.begin(), hasIOD.end(), ostream_iterator<string>(hasIODstr, "    "));
     445      ////errmsg.push_back("decoded PRN " + PRN + " : " + hasIODstr.str());
     446    }
     447  }
     448}
Note: See TracChangeset for help on using the changeset viewer.