Ignore:
Timestamp:
Mar 23, 2018, 12:27:58 PM (2 years ago)
Author:
stuerze
Message:

consideration of DF range 0-63 for SSR Satellite IDs as defined in DF463, DF466 (first BDS or SBAS satellite is 0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncrtnetuploadcaster.cpp

    r8275 r8308  
    601601      if (biasSat) {
    602602        biasSat->ID = prn.number();
     603        if (prn.system() == 'C' ||
     604            prn.system() == 'S') {
     605          biasSat->ID--; // DF463 and DF466 with DF range 0-63, first satellite shall be 0
     606        }
    603607        biasSat->NumberOfCodeBiases = 0;
    604608        if (prn.system() == 'G') {
     
    12041208        phasebias.MWConsistencyIndicator = mwConsistencyIndicator;
    12051209        phasebiasSat->ID = prn.number();
     1210        if (prn.system() == 'C' ||
     1211            prn.system() == 'S') {
     1212          phasebiasSat->ID--; // DF463 and DF466 with DF range 0-63, first satellite shall be 0
     1213        }
    12061214        phasebiasSat->NumberOfPhaseBiases = 0;
    12071215        phasebiasSat->YawAngle = pbSat.yawAngle;
     
    23302338  if (sd) {
    23312339    sd->ID = prn.mid(1).toInt();
     2340    char sys =  prn.mid(0,1).at(0).toLatin1();
     2341    if ( sys == 'C' ||
     2342         sys == 'S') {
     2343      sd->ID--;// DF463 and DF466 with DF range 0-63, first satellite shall be 0
     2344    }
    23322345    sd->IOD = eph->IOD();
    23332346    sd->Clock.DeltaA0 = dClk;
Note: See TracChangeset for help on using the changeset viewer.