Ignore:
Timestamp:
Mar 28, 2018, 9:36:57 AM (6 years ago)
Author:
stuerze
Message:

the latest changes regarding SSR Satellite ID for BDS and SBAS are reverted because it is planned to prevent zero for these SSR Satellite IDs

File:
1 edited

Legend:

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

    r8308 r8313  
    275275
    276276      t_orbCorr orbCorr;
    277       int satID = _clkOrb.Sat[ii].ID;
    278       if (sysCh == 'C' || sysCh == 'S') {
    279         satID++;// DF463 and DF466 with DF range 0-63, first satellite shall be 0
    280       }
    281       orbCorr._prn.set(sysCh, satID, flag);
     277      orbCorr._prn.set(sysCh, _clkOrb.Sat[ii].ID, flag);
    282278      orbCorr._staID     = _staID.toStdString();
    283279      orbCorr._iod       = _clkOrb.Sat[ii].IOD;
     
    313309
    314310      t_clkCorr clkCorr;
    315       int satID = _clkOrb.Sat[ii].ID;
    316       if (sysCh == 'C' || sysCh == 'S') {
    317         satID++;// DF463 and DF466 with DF range 0-63, first satellite shall be 0
    318       }
    319       clkCorr._prn.set(sysCh, satID, flag);
     311      clkCorr._prn.set(sysCh, _clkOrb.Sat[ii].ID, flag);
    320312      clkCorr._staID      = _staID.toStdString();
    321313      clkCorr._time       = _lastTime;
     
    393385    }
    394386    t_satCodeBias satCodeBias;
    395     int satID = _codeBias.Sat[ii].ID;
    396     if (sysCh == 'C' || sysCh == 'S') {
    397       satID++;// DF463 and DF466 with DF range 0-63, first satellite shall be 0
    398     }
    399     satCodeBias._prn.set(sysCh, satID);
     387    satCodeBias._prn.set(sysCh, _codeBias.Sat[ii].ID);
    400388    satCodeBias._staID     = _staID.toStdString();
    401389    satCodeBias._time      = _lastTime;
     
    450438    }
    451439    t_satPhaseBias satPhaseBias;
    452     int satID = _phaseBias.Sat[ii].ID;
    453     if (sysCh == 'C' || sysCh == 'S') {
    454       satID++;// DF463 and DF466 with DF range 0-63, first satellite shall be 0
    455     }
    456     satPhaseBias._prn.set(sysCh, satID);
     440    satPhaseBias._prn.set(sysCh, _phaseBias.Sat[ii].ID);
    457441    satPhaseBias._staID      = _staID.toStdString();
    458442    satPhaseBias._time       = _lastTime;
Note: See TracChangeset for help on using the changeset viewer.