Changeset 2426 in ntrip
- Timestamp:
- Apr 14, 2010, 3:38:29 PM (15 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncpppclient.cpp
r2417 r2426 145 145 // --------------------- 146 146 if (obs->P1) { 147 satData->P1 = obs->P1 ;147 satData->P1 = obs->P1 + (bb ? bb->p1 : 0.0); 148 148 satData->codeTypeF1 = t_satData::P_CODE; 149 149 } 150 150 else if (obs->C1) { 151 satData->P1 = obs->C1 + (bb ? bb-> p1c1 : 0.0);151 satData->P1 = obs->C1 + (bb ? bb->c1 : 0.0); 152 152 satData->codeTypeF1 = t_satData::C_CODE; 153 153 } … … 158 158 159 159 if (obs->P2) { 160 satData->P2 = obs->P2 + (bb ? bb->p 1p2 : 0.0);160 satData->P2 = obs->P2 + (bb ? bb->p2 : 0.0); 161 161 satData->codeTypeF2 = t_satData::P_CODE; 162 162 } … … 373 373 double bValue; 374 374 in >> bType >> bValue; 375 376 #define CODETYPEGPS_L1_CA 0 377 #define CODETYPEGPS_L1_P 1 378 #define CODETYPEGPS_L1_Z 2 379 #define CODETYPEGPS_L2_P 10 380 #define CODETYPEGPS_L2_Z 11 381 382 if (bType == CODETYPEGPS_L1_CA) { 383 bb->p1c1 = bValue; 375 if (bType == CODETYPEGPS_L1_Z) { 376 bb->p1 = bValue; 377 } 378 else if (bType == CODETYPEGPS_L1_CA) { 379 bb->c1 = bValue; 384 380 } 385 381 else if (bType == CODETYPEGPS_L2_Z) { 386 bb->p 1p2 = bValue;382 bb->p2 = bValue; 387 383 } 388 384 } -
trunk/BNC/bncpppclient.h
r2365 r2426 102 102 public: 103 103 t_bias() { 104 p1c1 = 0.0; 105 p1p2 = 0.0; 104 p1 = 0.0; 105 p2 = 0.0; 106 c1 = 0.0; 106 107 } 107 108 bncTime tt; 108 double p1c1; 109 double p1p2; 109 double p1; 110 double p2; 111 double c1; 110 112 }; 111 113
Note:
See TracChangeset
for help on using the changeset viewer.