Changeset 4800 in ntrip for trunk/BNC/src/RTRover


Ignore:
Timestamp:
Nov 4, 2012, 10:03:53 AM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/RTRover
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTRover/bncrtrover.cpp

    r4798 r4800  
    236236          corr.messageType == COTYPE_GPSORBIT        ||
    237237          corr.messageType == COTYPE_GLONASSORBIT    ) {
     238
     239        _IODs[corr.prn] = corr.iod; // remember iod;
     240
    238241        ++numOrbCorr;
    239242        rtrover_orbCorr& orbC = orbCorr[numOrbCorr-1];
     
    258261        clkC._satellite._system = corr.prn.toAscii()[0];
    259262        clkC._satellite._number = corr.prn.mid(1).toInt();
    260         clkC._iod               = corr.iod;
     263        if (_IODs.contains(corr.prn)) {
     264          clkC._iod = _IODs[corr.prn];
     265        }
     266        else {
     267          clkC._iod = 0;
     268        }
    261269        clkC._time._mjd         = corr.tClk.mjd();
    262270        clkC._time._sec         = corr.tClk.daysec();
  • trunk/BNC/src/RTRover/bncrtrover.h

    r4773 r4800  
    3535  QByteArray              _baseMount;
    3636  QByteArray              _corrMount;
     37  QMap<QString, int>      _IODs;
    3738  std::vector<t_epoData*> _epochs;
    3839};
Note: See TracChangeset for help on using the changeset viewer.