Changeset 9821 in ntrip for trunk/BNC/src/PPP/pppSatObs.cpp


Ignore:
Timestamp:
Sep 9, 2022, 10:57:27 AM (20 months ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

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

    r9807 r9821  
    3333using namespace std;
    3434
     35const double   GLO_WEIGHT_FACTOR = 5.0;
     36const double   BDS_WEIGHT_FACTOR = 2.0;
     37
    3538// Constructor
    3639////////////////////////////////////////////////////////////////////////////
     
    344347
    345348  retVal = sqrt(retVal);
     349
     350  // De-Weight GLO+BDS
     351  // -----------------
     352  if (_prn.system() == 'R') {
     353    retVal *= GLO_WEIGHT_FACTOR;
     354  }
     355  if (_prn.system() == 'C') {
     356    retVal *= BDS_WEIGHT_FACTOR;
     357  }
     358
    346359
    347360  // Elevation-Dependent Weighting
Note: See TracChangeset for help on using the changeset viewer.