Changeset 6634 in ntrip
- Timestamp:
- Mar 5, 2015, 2:59:33 PM (10 years ago)
- Location:
- trunk/BNC/src/PPP_free
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP_free/pppClient.cpp
r6464 r6634 187 187 satData->L3 = a1 * satData->L1 + a2 * satData->L2; 188 188 satData->lambda3 = a1 * t_CST::c / f1 + a2 * t_CST::c / f2; 189 satData->lkA = a1; 190 satData->lkB = a2; 189 191 _epoData->satData[satData->prn] = satData; 190 192 } … … 208 210 satData->L3 = a1 * satData->L1 + a5 * satData->L5; 209 211 satData->lambda3 = a1 * t_CST::c / f1 + a5 * t_CST::c / f5; 212 satData->lkA = a1; 213 satData->lkB = a5; 210 214 _epoData->satData[satData->prn] = satData; 211 215 } -
trunk/BNC/src/PPP_free/pppFilter.cpp
r6407 r6634 328 328 329 329 double offset = 0.0; 330 t_frequency::type frqA = t_frequency::G1; 331 t_frequency::type frqB = t_frequency::G2; 330 332 if (satData->prn[0] == 'R') { 331 333 offset = Glonass_offset(); 334 frqA = t_frequency::R1; 335 frqB = t_frequency::R2; 332 336 } 333 337 else if (satData->prn[0] == 'E') { 334 338 offset = Galileo_offset(); 339 //frqA = t_frequency::E1; as soon as available 340 //frqB = t_frequency::E5; -"- 335 341 } 336 342 … … 338 344 if (_antex) { 339 345 bool found; 340 phaseCenter = _antex->rcvCorr(OPT->_antNameRover, t_frequency::G1, 341 satData->eleSat, satData->azSat, found); 346 phaseCenter = satData->lkA * _antex->rcvCorr(OPT->_antNameRover, frqA, 347 satData->eleSat, satData->azSat, 348 found) 349 + satData->lkB * _antex->rcvCorr(OPT->_antNameRover, frqB, 350 satData->eleSat, satData->azSat, 351 found); 342 352 if (!found) { 343 353 LOG << "ANTEX: antenna >" << OPT->_antNameRover << "< not found\n"; -
trunk/BNC/src/PPP_free/pppFilter.h
r6162 r6634 47 47 t_satData() { 48 48 obsIndex = 0; 49 P1 = 0.0; 50 P2 = 0.0; 51 P5 = 0.0; 52 P3 = 0.0; 53 L1 = 0.0; 54 L2 = 0.0; 55 L5 = 0.0; 56 L3 = 0.0; 49 P1 = 0.0; 50 P2 = 0.0; 51 P5 = 0.0; 52 P3 = 0.0; 53 L1 = 0.0; 54 L2 = 0.0; 55 L5 = 0.0; 56 L3 = 0.0; 57 lkA = 0.0; 58 lkB = 0.0; 57 59 } 58 60 ~t_satData() {} … … 75 77 bool slipFlag; 76 78 double lambda3; 79 double lkA; 80 double lkB; 77 81 unsigned obsIndex; 78 82 char system() const {return prn.toAscii()[0];}
Note:
See TracChangeset
for help on using the changeset viewer.