Changeset 7055 in ntrip


Ignore:
Timestamp:
Jul 16, 2015, 9:54:10 AM (9 years ago)
Author:
stuerze
Message:

IOD data type changed, to support IODs computed from CRC over broadcasted ephemris and clock parameters

Location:
trunk/BNC/src
Files:
9 edited

Legend:

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

    r7043 r7055  
    308308    vector<string> hasIOD;
    309309    for (unsigned ii = 0; ii < 4; ii++) {
    310       int IODcorr = 0;
     310      unsigned long IODcorr = 0;
    311311      double corrVal = 0;
    312312      const t_eph* eph = 0;
  • trunk/BNC/src/RTCM3/RTCM3coDecoder.h

    r6556 r7055  
    7171  int                                   _providerID[3];
    7272  bncTime                               _lastTime;
    73   QMap<t_prn, unsigned short>           _IODs;
     73  QMap<t_prn, unsigned long>            _IODs;
    7474  QMap<bncTime, QList<t_orbCorr> >      _orbCorrections;
    7575  QMap<bncTime, QList<t_clkCorr> >      _clkCorrections;
  • trunk/BNC/src/combination/bnccomb.cpp

    r7013 r7055  
    756756    int updateInt     = 0;
    757757    line.sprintf("%d %d %d %.1f %s"
    758                  "   %3d"
     758                 "   %lu"
    759759                 "   %8.3f %8.3f %8.3f %8.3f"
    760760                 "   %10.5f %10.5f %10.5f %10.5f"
  • trunk/BNC/src/combination/bnccomb.h

    r7011 r7055  
    7171    }
    7272    ~cmbCorr() {}
    73     QString      _prn;
    74     bncTime      _time;
    75     int          _iod;
    76     t_eph*       _eph;
    77     t_orbCorr    _orbCorr;
    78     t_clkCorr    _clkCorr;
    79     QString      _acName;
    80     double       _dClkResult;
    81     ColumnVector _diffRao;
     73    QString       _prn;
     74    bncTime       _time;
     75    unsigned long _iod;
     76    t_eph*        _eph;
     77    t_orbCorr     _orbCorr;
     78    t_clkCorr     _clkCorr;
     79    QString       _acName;
     80    double        _dClkResult;
     81    ColumnVector  _diffRao;
    8282    QString ID() {return _acName + "_" + _prn;}
    8383  };
  • trunk/BNC/src/pppRun.cpp

    r6991 r7055  
    436436    // ----------------
    437437    t_eph* eph = 0;
    438     const QMap<QString, int>* corrIODs = _corrFile ? &_corrFile->corrIODs() : 0;
     438    const QMap<QString, unsigned long>* corrIODs = _corrFile ? &_corrFile->corrIODs() : 0;
    439439    while ( (eph = _rnxNavFile->getNextEph(epo->tt, corrIODs)) != 0 ) {
    440440      _pppClient->putEphemeris(eph);
  • trunk/BNC/src/rinex/corrfile.h

    r6509 r7055  
    3939  ~t_corrFile();
    4040  void syncRead(const bncTime& tt);
    41   const QMap<QString, int>& corrIODs() const {return _corrIODs;}
     41  const QMap<QString, unsigned long>& corrIODs() const {return _corrIODs;}
    4242
    4343 signals:
     
    4949
    5050 private:
    51   std::ifstream      _stream;
    52   std::string        _lastLine;
    53   bncTime            _lastEpoTime;
    54   QMap<QString, int> _corrIODs;
     51  std::ifstream                _stream;
     52  std::string                  _lastLine;
     53  bncTime                      _lastEpoTime;
     54  QMap<QString, unsigned long> _corrIODs;
    5555};
    5656
  • trunk/BNC/src/rinex/rnxnavfile.cpp

    r7039 r7055  
    212212////////////////////////////////////////////////////////////////////////////
    213213t_eph* t_rnxNavFile::getNextEph(const bncTime& tt,
    214                                 const QMap<QString, int>* corrIODs) {
     214                                const QMap<QString, unsigned long>* corrIODs) {
    215215
    216216  // Get Ephemeris according to IOD
    217217  // ------------------------------
    218218  if (corrIODs) {
    219     QMapIterator<QString, int> itIOD(*corrIODs);
     219    QMapIterator<QString, unsigned long> itIOD(*corrIODs);
    220220    while (itIOD.hasNext()) {
    221221      itIOD.next();
    222222      QString prn = itIOD.key();
    223       int    iod = itIOD.value();
     223      unsigned long iod = itIOD.value();
    224224      vector<t_eph*>::iterator it = _ephs.begin();
    225225      while (it != _ephs.end()) {
  • trunk/BNC/src/rinex/rnxnavfile.h

    r6942 r7055  
    5555  t_rnxNavFile(const QString& fileName, e_inpOut inpOut);
    5656  ~t_rnxNavFile();
    57   t_eph* getNextEph(const bncTime& tt, const QMap<QString, int>* corrIODs);
     57  t_eph* getNextEph(const bncTime& tt, const QMap<QString, unsigned long>* corrIODs);
    5858  const std::vector<t_eph*> ephs() const {return _ephs;}
    5959  double version() const {return _header._version;}
  • trunk/BNC/src/satObs.h

    r6857 r7055  
    8787  std::string    _staID;
    8888  t_prn          _prn;
    89   unsigned short _iod;
     89  unsigned long _iod;
    9090  bncTime        _time;
    9191  unsigned int   _updateInt;
     
    102102  std::string    _staID;
    103103  t_prn          _prn;
    104   unsigned short _iod;
     104  unsigned long _iod;
    105105  bncTime        _time;
    106106  unsigned int   _updateInt;
Note: See TracChangeset for help on using the changeset viewer.