Changeset 7005 in ntrip


Ignore:
Timestamp:
Jun 30, 2015, 4:37:19 PM (9 years ago)
Author:
stuerze
Message:

consideration of the eph flag in order to declare the Galileo clock and orbit corrections as to be valid for I/NAV

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp

    r6972 r7005  
    224224    ii++) {
    225225    char sysCh = ' ';
     226    int flag = 0;
    226227    if      (ii < _clkOrb.NumberOfSat[CLOCKORBIT_SATGPS]) {
    227228      sysCh = 'G';
     
    234235        ii < CLOCKORBIT_OFFSETGALILEO + _clkOrb.NumberOfSat[CLOCKORBIT_SATGALILEO]) {
    235236      sysCh = 'E';
     237      flag = 1; // I/NAV clock has been chosen as reference clock for Galileo SSR corrections
    236238    }
    237239    else if (ii >= CLOCKORBIT_OFFSETQZSS &&
     
    266268
    267269      t_orbCorr orbCorr;
    268       orbCorr._prn.set(sysCh, _clkOrb.Sat[ii].ID);
     270      orbCorr._prn.set(sysCh, _clkOrb.Sat[ii].ID, flag);
    269271      orbCorr._staID     = _staID.toStdString();
    270272      orbCorr._iod       = _clkOrb.Sat[ii].IOD;
     
    300302
    301303      t_clkCorr clkCorr;
    302       clkCorr._prn.set(sysCh, _clkOrb.Sat[ii].ID);
     304      clkCorr._prn.set(sysCh, _clkOrb.Sat[ii].ID, flag);
     305
    303306      clkCorr._staID      = _staID.toStdString();
    304307      clkCorr._time       = _lastTime;
     
    324327         _clkOrb.messageType == COTYPE_SBASHR ||
    325328         _clkOrb.messageType == COTYPE_BDSHR) {
    326 
    327       t_prn prn(sysCh, _clkOrb.Sat[ii].ID);
     329      t_prn prn(sysCh, _clkOrb.Sat[ii].ID, flag);
    328330      if (_lastClkCorrections.contains(prn)) {
    329331        t_clkCorr clkCorr;
Note: See TracChangeset for help on using the changeset viewer.