Changeset 10327 in ntrip for trunk/BNC/src
- Timestamp:
- Feb 8, 2024, 12:17:36 PM (12 months ago)
- Location:
- trunk/BNC/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppFilter.cpp
r10326 r10327 326 326 const vector<t_pppSatObs*> &obsVector) { 327 327 328 const double SLIP = 20.0; 328 double SLIP = 20.0; 329 double fac = 1.0; 330 if (_lastEpoTimeOK.valid()) { 331 fac = _epoTime - _lastEpoTimeOK; 332 if (fac > 60.0 || fac < 1.0) { 333 fac = 1.0; 334 } 335 } 336 SLIP *= fac; 329 337 string epoTimeStr = string(_epoTime); 330 338 const vector<t_pppParam*> ¶ms = _parlist->params(); -
trunk/BNC/src/PPP/pppSatObs.cpp
r10256 r10327 111 111 obs->_codeValid && obs->_code && 112 112 obs->_phaseValid && obs->_phase) { 113 _obs[iFreq] = new t_frqObs(*obs); //cout << "================> newObs: " << obs->_rnxType2ch << endl;113 _obs[iFreq] = new t_frqObs(*obs); //cout << "================> newObs: " << obs->_rnxType2ch << " obs->_lockTime: " << obs->_lockTime << endl; 114 114 } 115 115 } … … 354 354 retVal = sqrt(retVal); 355 355 356 // De-Weight GLO +BDS357 // ------------- ----356 // De-Weight GLO 357 // ------------- 358 358 if (_prn.system() == 'R' && t_lc::includesCode(tLC)) { 359 359 retVal *= GLO_WEIGHT_FACTOR; 360 }361 if (_prn.system() == 'C' && t_lc::includesCode(tLC)){362 retVal *= BDS_WEIGHT_FACTOR;363 360 } 364 361 … … 401 398 402 399 403 // Enlarge maxRes GLO +BDS404 / * ----------------------400 // Enlarge maxRes GLO 401 // ------------------ 405 402 if (_prn.system() == 'R' && t_lc::includesCode(tLC)) { 406 403 retVal *= GLO_WEIGHT_FACTOR; 407 404 } 408 if (_prn.system() == 'C' && t_lc::includesCode(tLC)){409 retVal *= BDS_WEIGHT_FACTOR;410 }*/411 405 412 406 return retVal; -
trunk/BNC/src/bnchelp.html
r10279 r10327 4081 4081 <li>'Pi&Li' means that uncombined code and phase data of two frequencies shall be used.</li> 4082 4082 <li>'Pi' means that uncombined code data of two frequencies shall be used.</li> 4083 <li>'Li' means that uncombined phase data of two frequencies shall be used.</li>4084 4083 <li>'P1&L1' means that uncombined code and phase data of one frequency shall be used.</li> 4085 4084 <li>'P1' means that uncombined code data of one frequency shall be used.</li> 4086 <li>'L1' means that uncombined phase data of one frequency shall be used.</li>4087 4085 <li>'P3&L3' means that the inonosphere-free linear combination of code and phase data shall be used.</li> 4088 4086 <li>'P3' means that the inonosphere-free linear combination of code data shall be used.</li> -
trunk/BNC/src/bncmain.cpp
r10280 r10327 248 248 "\n" 249 249 "PPP Client Panel 2 keys:\n" 250 " PPP/lcGPS {Select the kind of linear combination from GPS code and/or phase data [character string: Pi&Li|Pi|Li|P1&L1|P1|L1|P3&L3|P3|L3|no]}\n"251 " PPP/lcGLONASS {Select the kind of linear combination from GLONASS code and/or phase data [character string: Pi&Li|Pi| Li|P1&L1|P1|L1|P3&L3|P3|L3|no]}\n"252 " PPP/lcGalileo {Select the kind of linear combination from Galileo code and/or phase data [character string: Pi&Li|Pi| Li|P1&L1|P1|L1|P3&L3|P3|L3|no]}\n"253 " PPP/lcBDS {Select the kind of linear combination from BDS code and/or phase data [character string: Pi&Li|Pi|Li|P1&L1|P1|L1|P3&L3|P3|L3|no]}\n"250 " PPP/lcGPS {Select the kind of linear combination from GPS code and/or phase data [character string: Pi&Li|Pi|P1&L1|P1|P3&L3|P3|L3|no]}\n" 251 " PPP/lcGLONASS {Select the kind of linear combination from GLONASS code and/or phase data [character string: Pi&Li|Pi|P1&L1|P1|P3&L3|P3|L3|no]}\n" 252 " PPP/lcGalileo {Select the kind of linear combination from Galileo code and/or phase data [character string: Pi&Li|Pi|P1&L1|P1|P3&L3|P3|L3|no]}\n" 253 " PPP/lcBDS {Select the kind of linear combination from BDS code and/or phase data [character string: Pi&Li|Pi|P1&L1|P1|P3&L3|P3|L3|no]}\n" 254 254 " PPP/sigmaC1 {Sigma for code observations in meters [floating-point number]}\n" 255 255 " PPP/sigmaL1 {Sigma for phase observations in meters [floating-point number]}\n" -
trunk/BNC/src/bncwindow.cpp
r10276 r10327 1513 1513 "<li>'Pi&Li' means that uncombined code and phase data of two frequencies shall be used.</li>" 1514 1514 "<li>'Pi' means that uncombined code data of two frequencies shall be used.</li>" 1515 "<li>'Li' means that uncombined phase data of two frequencies shall be used.</li> "1516 1515 "<li>'P1&L1' means that uncombined code and phase data of one frequency shall be used.</li>" 1517 1516 "<li>'P1' means that uncombined code data of one frequency shall be used.</li>" 1518 "<li>'L1' means that uncombined phase data of one frequency shall be used.</li> "1519 1517 "<li>'P3&L3' means that the inonosphere-free linear combination of code and phase data shall be used.</li>" 1520 1518 "<li>'P3' means that the inonosphere-free linear combination of code data shall be used.</li>" … … 1530 1528 "<li>'Pi&Li' means that uncombined code and phase data of two frequencies shall be used.</li>" 1531 1529 "<li>'Pi' means that uncombined code data of two frequencies shall be used.</li>" 1532 "<li>'Li' means that uncombined phase data of two frequencies shall be used.</li> "1533 1530 "<li>'P1&L1' means that uncombined code and phase data of one frequency shall be used.</li>" 1534 1531 "<li>'P1' means that uncombined code data of one frequency shall be used.</li>" 1535 "<li>'L1' means that uncombined phase data of one frequency shall be used.</li> "1536 1532 "<li>'P3&L3' means that the inonosphere-free linear combination of code and phase data shall be used.</li>" 1537 1533 "<li>'P3' means that the inonosphere-free linear combination of code data shall be used.</li>" … … 1547 1543 "<li>'Pi&Li' means that uncombined code and phase data of two frequencies shall be used.</li>" 1548 1544 "<li>'Pi' means that uncombined code data of two frequencies shall be used.</li>" 1549 "<li>'Li' means that uncombined phase data of two frequencies shall be used.</li> "1550 1545 "<li>'P1&L1' means that uncombined code and phase data of one frequency shall be used.</li>" 1551 1546 "<li>'P1' means that uncombined code data of one frequency shall be used.</li>" 1552 "<li>'L1' means that uncombined phase data of one frequency shall be used.</li> "1553 1547 "<li>'P3&L3' means that the inonosphere-free linear combination of code and phase data shall be used.</li>" 1554 1548 "<li>'P3' means that the inonosphere-free linear combination of code data shall be used.</li>" … … 1564 1558 "<li>'Pi&Li' means that uncombined code and phase data of two frequencies shall be used.</li>" 1565 1559 "<li>'Pi' means that uncombined code data of two frequencies shall be used.</li>" 1566 "<li>'Li' means that uncombined phase data of two frequencies shall be used.</li> "1567 1560 "<li>'P1&L1' means that uncombined code and phase data of one frequency shall be used.</li>" 1568 1561 "<li>'P1' means that uncombined code data of one frequency shall be used.</li>" 1569 "<li>'L1' means that uncombined phase data of one frequency shall be used.</li> "1570 1562 "<li>'P3&L3' means that the inonosphere-free linear combination of code and phase data shall be used.</li>" 1571 1563 "<li>'P3' means that the inonosphere-free linear combination of code data shall be used.</li>" -
trunk/BNC/src/pppMain.cpp
r10326 r10327 262 262 } 263 263 } 264 if (settings.value("PPP/lcGPS").toString() == "Li") {265 opt->_LCsGPS.push_back(t_lc::l1);266 opt->_LCsGPS.push_back(t_lc::l2);267 if (opt->_pseudoObsIono) {268 opt->_LCsGPS.push_back(t_lc::GIM);269 }270 }271 264 if (settings.value("PPP/lcGPS").toString() == "P1&L1") { 272 265 opt->_LCsGPS.push_back(t_lc::c1); … … 281 274 opt->_LCsGPS.push_back(t_lc::GIM); 282 275 } 283 }284 if (settings.value("PPP/lcGPS").toString() == "L1") {285 opt->_LCsGPS.push_back(t_lc::l1);286 if (opt->_pseudoObsIono) {287 opt->_LCsGPS.push_back(t_lc::GIM);288 }289 276 } 290 277 if (settings.value("PPP/lcGPS").toString() == "P3&L3") { … … 315 302 } 316 303 } 317 if (settings.value("PPP/lcGLONASS").toString() == "Li") {318 opt->_LCsGLONASS.push_back(t_lc::l1);319 opt->_LCsGLONASS.push_back(t_lc::l2);320 if (opt->_pseudoObsIono) {321 opt->_LCsGLONASS.push_back(t_lc::GIM);322 }323 }324 304 if (settings.value("PPP/lcGLONASS").toString() == "P1&L1") { 325 305 opt->_LCsGLONASS.push_back(t_lc::c1); … … 334 314 opt->_LCsGLONASS.push_back(t_lc::GIM); 335 315 } 336 }337 if (settings.value("PPP/lcGLONASS").toString() == "L1") {338 opt->_LCsGLONASS.push_back(t_lc::l1);339 if (opt->_pseudoObsIono) {340 opt->_LCsGLONASS.push_back(t_lc::GIM);341 }342 316 } 343 317 if (settings.value("PPP/lcGLONASS").toString() == "P3&L3") { … … 368 342 } 369 343 } 370 if (settings.value("PPP/lcGalileo").toString() == "Li") {371 opt->_LCsGalileo.push_back(t_lc::l1);372 opt->_LCsGalileo.push_back(t_lc::l2);373 if (opt->_pseudoObsIono) {374 opt->_LCsGalileo.push_back(t_lc::GIM);375 }376 }377 344 if (settings.value("PPP/lcGalileo").toString() == "P1&L1") { 378 345 opt->_LCsGalileo.push_back(t_lc::c1); … … 387 354 opt->_LCsGalileo.push_back(t_lc::GIM); 388 355 } 389 }390 if (settings.value("PPP/lcGalileo").toString() == "L1") {391 opt->_LCsGalileo.push_back(t_lc::l1);392 if (opt->_pseudoObsIono) {393 opt->_LCsGalileo.push_back(t_lc::GIM);394 }395 356 } 396 357 if (settings.value("PPP/lcGalileo").toString() == "P3&L3") { … … 421 382 } 422 383 } 423 if (settings.value("PPP/lcBDS").toString() == "Li") {424 opt->_LCsBDS.push_back(t_lc::l1);425 opt->_LCsBDS.push_back(t_lc::l2);426 if (opt->_pseudoObsIono) {427 opt->_LCsBDS.push_back(t_lc::GIM);428 }429 }430 384 if (settings.value("PPP/lcBDS").toString() == "P1&L1") { 431 385 opt->_LCsBDS.push_back(t_lc::c1); … … 440 394 opt->_LCsBDS.push_back(t_lc::GIM); 441 395 } 442 }443 if (settings.value("PPP/lcBDS").toString() == "L1") {444 opt->_LCsBDS.push_back(t_lc::l1);445 if (opt->_pseudoObsIono) {446 opt->_LCsBDS.push_back(t_lc::GIM);447 }448 396 } 449 397 if (settings.value("PPP/lcBDS").toString() == "P3&L3") { … … 529 477 opt->_aprSigClkOff = 300000.0; 530 478 opt->_aprSigAmb = 10000.0; 531 opt->_aprSigIon = 1.0e 8;532 opt->_noiseIon = 1.0e 8;479 opt->_aprSigIon = 1.0e3; 480 opt->_noiseIon = 1.0e3; 533 481 opt->_aprSigCodeBias = 10000.0; 534 482 opt->_noiseCodeBias = 10000.0; -
trunk/BNC/src/pppWidgets.cpp
r10251 r10327 128 128 _lcGPS->addItems(QString("P3,P3&L3").split(",")); 129 129 #else 130 _lcGPS->addItems(QString("Pi&Li,Pi, Li,P1&L1,P1,L1,P3&L3,P3,L3,no").split(","));130 _lcGPS->addItems(QString("Pi&Li,Pi,P1&L1,P1,P3&L3,P3,L3,no").split(",")); 131 131 #endif 132 132 … … 134 134 #ifdef USE_PPP_SSR_I 135 135 _lcGLONASS->addItems(QString("no,P3,L3,P3&L3").split(",")); 136 #else 137 _lcGLONASS->addItems(QString("Pi&Li,Pi, Li,P1&L1,P1,L1,P3&L3,P3,L3,no").split(","));136 #else 137 _lcGLONASS->addItems(QString("Pi&Li,Pi,P1&L1,P1,P3&L3,P3,L3,no").split(",")); 138 138 #endif 139 139 … … 141 141 #ifdef USE_PPP_SSR_I 142 142 _lcGalileo->addItems(QString("no,P3,L3,P3&L3").split(",")); 143 #else 144 _lcGalileo->addItems(QString("Pi&Li,Pi, Li,P1&L1,P1,L1,P3&L3,P3,L3,no").split(","));143 #else 144 _lcGalileo->addItems(QString("Pi&Li,Pi,P1&L1,P1,P3&L3,P3,L3,no").split(",")); 145 145 #endif 146 146 … … 148 148 #ifdef USE_PPP_SSR_I 149 149 _lcBDS->addItems(QString("no,P3,L3,P3&L3").split(",")); 150 #else 151 _lcBDS->addItems(QString("Pi&Li,Pi, Li,P1&L1,P1,L1,P3&L3,P3,L3,no").split(","));150 #else 151 _lcBDS->addItems(QString("Pi&Li,Pi,P1&L1,P1,P3&L3,P3,L3,no").split(",")); 152 152 #endif 153 153
Note:
See TracChangeset
for help on using the changeset viewer.