Changeset 3342 in ntrip


Ignore:
Timestamp:
Aug 20, 2011, 11:50:49 AM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM/GPSDecoder.h

    r2712 r3342  
    8383
    8484  double C1;           // CA-code pseudorange (meters)
    85   double P1;           // P1-code pseudorange (meters)
    8685  double L1C;          // L1 carrier phase (cycles)
    8786  double D1C;          // Doppler L1
    8887  double S1C;          // raw L1 signal strength
     88  bool has1C() const {return C1 != 0.0 || L1C != 0.0 || D1C != 0.0 || S1C != 0.0;}
     89
     90  double P1;           // P1-code pseudorange (meters)
    8991  double L1P;          // L1 carrier phase (cycles)
    9092  double D1P;          // Doppler L1
    9193  double S1P;          // raw L1 signal strength
     94  bool has1P() const {return P1 != 0.0 || L1P != 0.0 || D1P != 0.0 || S1P != 0.0;}
    9295
    9396  double C2;           // CA-code pseudorange (meters)
    94   double P2;           // P2-code pseudorange (meters)
    9597  double L2C;          // L2 carrier phase (cycles)
    9698  double D2C;          // Doppler L2
    9799  double S2C;          // raw L2 signal strength
     100  bool has2C() const {return C2 != 0.0 || L2C != 0.0 || D2C != 0.0 || S2C != 0.0;}
     101
     102  double P2;           // P2-code pseudorange (meters)
    98103  double L2P;          // L2 carrier phase (cycles)
    99104  double D2P;          // Doppler L2
    100105  double S2P;          // raw L2 signal strength
     106  bool has2P() const {return P2 != 0.0 || L2P != 0.0 || D2P != 0.0 || S2P != 0.0;}
    101107
    102108  double C5;           // Pseudorange (meters)
     
    104110  double D5;           // Doppler L5
    105111  double S5;           // raw L5 signal strength
     112  bool has5C() const {return C5 != 0.0 || L5 != 0.0 || D5 != 0.0 || S5 != 0.0;}
    106113
    107114  int    slip_cnt_L1;  // L1 cumulative loss of continuity indicator (negative value = undefined)
Note: See TracChangeset for help on using the changeset viewer.