Ignore:
Timestamp:
Apr 12, 2019, 2:03:24 PM (5 years ago)
Author:
stuerze
Message:

minor changes in RTCM3 Decoder with respect to MSM obs codes

File:
1 edited

Legend:

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

    r8617 r8682  
    196196      GETBITS(i, 7);
    197197      frqObs->_lockTime = lti2sec(type,i);
    198       frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0 && frqObs->_phaseValid);     
     198      frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0 && frqObs->_phaseValid);
    199199      frqObs->_slipCounter = i;
    200200      if (type == 1004) {
     
    356356        {0.0, 0},
    357357        {0.0, 0},
    358         {GPS_WAVELENGTH_L1, "1Z"},
    359         {0.0, 0},
    360         {0.0, 0},
    361         {QZSS_WAVELENGTH_LEX, "6S"},
    362         {QZSS_WAVELENGTH_LEX, "6L"},
    363         {QZSS_WAVELENGTH_LEX, "6X"},
     358        {GPS_WAVELENGTH_L1, "1Z"},// not defined in RTCM3.3?
     359        {0.0, 0},
     360        {0.0, 0},
     361        {QZSS_WAVELENGTH_L6, "6S"},
     362        {QZSS_WAVELENGTH_L6, "6L"},
     363        {QZSS_WAVELENGTH_L6, "6X"},
    364364        {0.0, 0},
    365365        {0.0, 0},
     
    380380        {0.0, 0},
    381381        {0.0, 0},
    382         {GPS_WAVELENGTH_L1, "1D"},
    383         {GPS_WAVELENGTH_L1, "1P"},
     382        {GPS_WAVELENGTH_L1, "1S"},
     383        {GPS_WAVELENGTH_L1, "1L"},
    384384        {GPS_WAVELENGTH_L1, "1X"}
    385385    };
     
    389389        {0.0, 0},
    390390        {BDS_WAVELENGTH_B1, "2I"},
    391         {0.0, 0},
    392         {0.0, 0},
     391        {BDS_WAVELENGTH_B1, "2Q"},
     392        {BDS_WAVELENGTH_B1, "2X"},
    393393        {0.0, 0},
    394394        {0.0, 0},
    395395        {0.0, 0},
    396396        {BDS_WAVELENGTH_B3, "6I"},
    397         {0.0, 0},
    398         {0.0, 0},
     397        {BDS_WAVELENGTH_B3, "6Q"},
     398        {BDS_WAVELENGTH_B3, "6X"},
    399399        {0.0, 0},
    400400        {0.0, 0},
    401401        {0.0, 0},
    402402        {BDS_WAVELENGTH_B2, "7I"},
    403         {0.0, 0},
    404         {0.0, 0},
     403        {BDS_WAVELENGTH_B2, "7Q"},
     404        {BDS_WAVELENGTH_B2, "7X"},
    405405        {0.0, 0},
    406406        {0.0, 0},
     
    719719                  frqObs->_phaseValid = true;
    720720                  frqObs->_lockTime = lti2sec(type,ll[count]);
    721                   frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0);                 
     721                  frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0);
    722722                  frqObs->_slipCounter = ll[count];
    723723                }
     
    735735                  frqObs->_phaseValid = true;
    736736                  frqObs->_lockTime = lti2sec(type,ll[count]);
    737                   frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0);                 
     737                  frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0);
    738738                  frqObs->_slipCounter = ll[count];
    739739                }
     
    752752                  frqObs->_phaseValid = true;
    753753                  frqObs->_lockTime = lti2sec(type,ll[count]);
    754                   frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0);                 
     754                  frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0);
    755755                  frqObs->_slipCounter = ll[count];
    756756                }
     
    772772                  frqObs->_phaseValid = true;
    773773                  frqObs->_lockTime = lti2sec(type,ll[count]);
    774                   frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0);                 
     774                  frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0);
    775775                  frqObs->_slipCounter = ll[count];
    776776                }
     
    797797                  frqObs->_phaseValid = true;
    798798                  frqObs->_lockTime = lti2sec(type,ll[count]);
    799                   frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0);                 
     799                  frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0);
    800800                  frqObs->_slipCounter = ll[count];
    801801                }
     
    817817                  frqObs->_phaseValid = true;
    818818                  frqObs->_lockTime = lti2sec(type,ll[count]);
    819                   frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0);                 
     819                  frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0);
    820820                  frqObs->_slipCounter = ll[count];
    821821                }
     
    907907    GETBITS(i, 7);
    908908    frqObs->_lockTime = lti2sec(type,i);
    909     frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0 && frqObs->_phaseValid);   
     909    frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0 && frqObs->_phaseValid);
    910910    frqObs->_slipCounter = i;
    911911    if (type == 1010 || type == 1012) {
     
    953953      GETBITS(i, 7);
    954954      frqObs->_lockTime = lti2sec(type,i);
    955       frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0 && frqObs->_phaseValid);     
     955      frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0 && frqObs->_phaseValid);
    956956      frqObs->_slipCounter = i;
    957957      if (type == 1012) {
Note: See TracChangeset for help on using the changeset viewer.