Changeset 6021 in ntrip for trunk/BNC/src/PPP/pppParlist.cpp


Ignore:
Timestamp:
Aug 21, 2014, 9:45:53 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5979 r6021  
    162162      }
    163163      else {
    164         ColumnVector coeff(4);
    165         obs->lc(tLC, 0.0, 0.0, 0.0, 0.0, &coeff);
     164        map<t_frequency::type, double> codeCoeff;
     165        map<t_frequency::type, double> phaseCoeff;
     166        obs->lcCoeff(tLC, codeCoeff, phaseCoeff);
    166167        if      (_tLC == t_lc::l1) {
    167           return obs->lambda(t_lc::l1) * coeff(1);
     168          return obs->lambda(t_lc::l1) * phaseCoeff[t_lc::toFreq(obs->prn().system(),t_lc::l1)];
    168169        }
    169170        else if (_tLC == t_lc::l2) {
    170           return obs->lambda(t_lc::l2) * coeff(2);
     171          return obs->lambda(t_lc::l2) * phaseCoeff[t_lc::toFreq(obs->prn().system(),t_lc::l2)];
    171172        }
    172173      }
Note: See TracChangeset for help on using the changeset viewer.