Changeset 4424 in ntrip for trunk/BNC/src/rinex/reqcanalyze.cpp


Ignore:
Timestamp:
Jul 10, 2012, 8:44:13 AM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/reqcanalyze.cpp

    r4403 r4424  
    237237  // Compute the Multipath
    238238  // ----------------------
    239   double L1 = obs.measdata("L1", 2.0);
    240   double L2 = obs.measdata("L2", 2.0);
     239  double L1 = obs.measdata("L1", 3.0);
     240  double L2 = obs.measdata("L2", 3.0);
    241241  if (L1 != 0.0 && L2 != 0.0) {
    242242    double f1 = t_CST::f1(obs.satSys, obs.slotNum);
     
    246246    L2 = L2 * t_CST::c / f2;
    247247
    248     double P1 = obs.measdata("P1", 2.0);
     248    double P1 = obs.measdata("C1", 3.0);
    249249    if (P1 != 0.0) {
    250250      newObs->_MP1 = P1 - L1 - 2.0*f2*f2/(f1*f1-f2*f2) * (L1 - L2);
     
    258258      //// end test
    259259    }
    260     double P2 = obs.measdata("P2", 2.0);
     260    double P2 = obs.measdata("C2", 3.0);
    261261    if (P2 != 0.0) {
    262262      newObs->_MP2 = P2 - L2 - 2.0*f1*f1/(f1*f1-f2*f2) * (L1 - L2);
Note: See TracChangeset for help on using the changeset viewer.