Changeset 9498 in ntrip for trunk/BNC


Ignore:
Timestamp:
Aug 26, 2021, 11:07:53 PM (3 years ago)
Author:
stuerze
Message:

minor changes regarding PPP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppParlist.cpp

    r9497 r9498  
    477477  }
    478478
     479  if (_usedSystems.size() > 1 &&
     480      !_usedSystems.contains('G')) { // required to setup ISB w. r. t. GPS
     481    return failure;
     482  }
     483
    479484  // Required Set of Parameters
    480485  // --------------------------
     
    579584  // GPS-GLONASS Clock Offset
    580585  // ------------------------
    581   required.push_back(new t_pppParam(t_pppParam::offGR, t_prn(), t_lc::dummy));
     586  if (_usedSystems.contains('G') && _usedSystems.contains('R')) {
     587    required.push_back(new t_pppParam(t_pppParam::offGR, t_prn(), t_lc::dummy));
     588  }
    582589
    583590  //GPS-Galileo Clock Offset
    584591  // ------------------------
    585   required.push_back(new t_pppParam(t_pppParam::offGE, t_prn(), t_lc::dummy));
     592  if (_usedSystems.contains('G') && _usedSystems.contains('E')) {
     593    required.push_back(new t_pppParam(t_pppParam::offGE, t_prn(), t_lc::dummy));
     594  }
    586595
    587596  // GPS-BDS Clock Offset
    588597  // ------------------------
    589   required.push_back(new t_pppParam(t_pppParam::offGC, t_prn(), t_lc::dummy));
     598  if (_usedSystems.contains('G') && _usedSystems.contains('C')) {
     599    required.push_back(new t_pppParam(t_pppParam::offGC, t_prn(), t_lc::dummy));
     600  }
    590601
    591602  // Troposphere
Note: See TracChangeset for help on using the changeset viewer.