Changeset 79 in ntrip


Ignore:
Timestamp:
Aug 27, 2006, 11:38:33 AM (18 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncrinex.cpp

    r78 r79  
    140140  _out << endl;
    141141
     142  static const double const_c       = 299792458.0;
     143  static const double const_freq1   = 1575420000.0;
     144  static const double const_freq2   = 1227600000.0;
     145  static const double const_lambda1 = const_c / const_freq1;
     146  static const double const_lambda2 = const_c / const_freq2;
     147
    142148  it.toFront();
    143149  while (it.hasNext()) {
     
    148154    _out << setw(14) << setprecision(3) << ob->C1 << lli << snr;
    149155    _out << setw(14) << setprecision(3) << ob->P2 << lli << snr;
    150     _out << setw(14) << setprecision(3) << ob->L1 << lli << snr;
    151     _out << setw(14) << setprecision(3) << ob->L2 << lli << snr;
     156    _out << setw(14) << setprecision(3) << ob->L1 / const_lambda1 << lli << snr;
     157    _out << setw(14) << setprecision(3) << ob->L2 / const_lambda2 << lli << snr;
    152158    _out << endl;
    153159
Note: See TracChangeset for help on using the changeset viewer.