Changeset 8628 in ntrip for branches/BNC_2.12/src/bncconst.cpp


Ignore:
Timestamp:
Mar 13, 2019, 7:41:10 AM (13 months ago)
Author:
stuerze
Message:

some updates to support RINEX Version 3.04

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/bncconst.cpp

    r8167 r8628  
    3535double t_CST::freq(t_frequency::type fType, int slotNum) {
    3636  switch (fType) {
     37  // GPS
    3738  case t_frequency::G1:    return 1575420000.0;
    3839  case t_frequency::G2:    return 1227600000.0;
    3940  case t_frequency::G5:    return 1176450000.0;
     41  // GLONASS
     42  case t_frequency::R1:    return 1602000000.0 + 562500.0 * slotNum;
     43  case t_frequency::R4:    return 1600995000.0;
     44  case t_frequency::R2:    return 1246000000.0 + 437500.0 * slotNum;
     45  case t_frequency::R6:    return 1248060000.0;
     46  case t_frequency::R3:    return 1202025000.0;
     47  // Galileo
    4048  case t_frequency::E1:    return 1575420000.0;
    4149  case t_frequency::E5:    return 1176450000.0;
     
    4351  case t_frequency::E8:    return 1191795000.0;
    4452  case t_frequency::E6:    return 1278750000.0;
    45   case t_frequency::R1:    return 1602000000.0 + 562500.0 * slotNum;
    46   case t_frequency::R2:    return 1246000000.0 + 437500.0 * slotNum;
     53  // SBAS
     54  case t_frequency::S1:    return 1575420000.0;
     55  case t_frequency::S5:    return 1176450000.0;
     56  // QZSS
    4757  case t_frequency::J1:    return 1575420000.0;
    4858  case t_frequency::J2:    return 1227600000.0;
    4959  case t_frequency::J5:    return 1176450000.0;
    5060  case t_frequency::J6:    return 1278750000.0;
    51   case t_frequency::S1:    return 1575420000.0;
    52   case t_frequency::S5:    return 1176450000.0;
     61  // BDS
    5362  case t_frequency::C2:    return 1561098000.0;
     63  case t_frequency::C1:    return 1575420000.0;
     64  case t_frequency::C5:    return 1176450000.0;
    5465  case t_frequency::C7:    return 1207140000.0;
     66  case t_frequency::C8:    return 1191795000.0;
    5567  case t_frequency::C6:    return 1268520000.0;
     68  // IRNSS
    5669  case t_frequency::I5:    return 1176450000.0;
    5770  case t_frequency::I9:    return 2492028000.0;
     71  //
    5872  case t_frequency::dummy:
    5973  case t_frequency::max:   return 0.0;
Note: See TracChangeset for help on using the changeset viewer.