Changeset 2473 in ntrip
- Timestamp:
- May 7, 2010, 4:20:41 PM (15 years ago)
- Location:
- trunk/BNC
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnchelp.html
r2472 r2473 174 174 3.11.2.3 <a href=#ppptropo>Estimate Tropo</a><br> 175 175 3.11.2.4 <a href=#pppglo>Use GLONASS</a><br> 176 3.11.3 <a href=#pppnmearef>Plot Origin</a><br> 177 3.11.4 <a href=#pppnmeaout>NMEA</a><br> 178 3.11.4.1 <a href=#pppnmeafile>File</a><br> 179 3.11.4.2 <a href=#pppnmeaport>Port</a><br><br> 176 3.11.3 <a href=#pppsigma>Sigma Code</a><br> 177 3.11.4 <a href=#pppnmearef>Plot Origin</a><br> 178 3.11.5 <a href=#pppnmeaout>NMEA</a><br> 179 3.11.5.1 <a href=#pppnmeafile>File</a><br> 180 3.11.5.2 <a href=#pppnmeaport>Port</a><br><br> 180 181 3.12. <a href=#streams>Streams</a><br> 181 182 3.12.1 <a href=#streamedit>Edit Streams</a><br> … … 1111 1112 </p> 1112 1113 1113 <p><a name="pppnmearef"><h4>3.11.3 Plot Origin - optional</h4></p> 1114 <p><a name="pppsigma"><h4>3.11.3 Sigma Code - mandatory if 'Use Phase Obs' is set</h4></p> 1115 <p> 1116 When 'Use phase obs' is set in BNC the PPP solution will be carried out using both code and phase observations. A sigma of 5.0 m for code observations and a sigma of 0.02 m for phase observations (defauls) is used to combine both types of observations. 1117 As the convergence characteristic of a PPP solution can be influenced by the relation between the sigmas for code and phase observations, you may like to introduce you own sigma for code observations which differs from the default of 5.0 m. 1118 <ul> 1119 <li>Introducing a smaller sigma (higher accuracy) for code observations leads to better results shortly after the program start. However, it may take more time till you finally get the best possible coordinates.</li> 1120 <li>Introducing a higher sigma (lower accuracy) for code observations may lead to a prolonged convergence time but more rapidly provide the final accurate coordinates.</li> 1121 </ul> 1122 </p> 1123 <p> 1124 Note that only values between 0.3 m and 50.0 m are accepted as code sigma. 1125 </p> 1126 1127 <p><a name="pppnmearef"><h4>3.11.4 Plot Origin - optional</h4></p> 1114 1128 <p> 1115 1129 Select an origin for North/East/Up time series plots of derived coordinates in the 'PPP Plot' tab. Note that this makes only sense for a stationary receiver. Available options are … … 1133 1147 </p> 1134 1148 1135 <p><a name="pppnmeaout"><h4>3.11. 4NMEA</h4></p>1149 <p><a name="pppnmeaout"><h4>3.11.5 NMEA</h4></p> 1136 1150 <p> 1137 1151 BNC allows to output results from Point Positioning in NMEA format. The NMEA messages generated are … … 1142 1156 </p> 1143 1157 1144 <p><a name="pppnmeafile"><h4>3.11. 4.1 File - optional</h4></p>1158 <p><a name="pppnmeafile"><h4>3.11.5.1 File - optional</h4></p> 1145 1159 <p> 1146 1160 Specify the full path to a file where Point Positioning results are saved as NMEA messages. The generated NMEA file begins with a single GPRMC message which carries only date and time information. The default value for 'File (full path)' is an empty option field, meaning that BNC will not saved NMEA messages into a file. 1147 1161 </p> 1148 1162 1149 <p><a name="pppnmeaport"><h4>3.11. 4.2 Port - optional</h4></p>1163 <p><a name="pppnmeaport"><h4>3.11.5.2 Port - optional</h4></p> 1150 1164 <p> 1151 1165 Specify the IP port number of a local port where Point Positioning results become available as NMEA messages. The default value for 'Port' is an empty option field, meaning that BNC does not provide NMEA messsages vi IP port. Note that the NMEA file output and the NMEA IP port output are the same. -
trunk/BNC/bncmodel.cpp
r2467 r2473 66 66 const double sig_amb_0_GPS = 100.0; 67 67 const double sig_amb_0_GLO = 1000.0; 68 const double sig_P3 = 5.0; // was 20.0, GW 68 //const double sig_P3 = 20.0; 69 69 const double sig_L3_GPS = 0.02; 70 70 const double sig_L3_GLO = 0.02; … … 79 79 index_old = 0; 80 80 xx = 0.0; 81 81 82 } 82 83 … … 530 531 t_irc bncModel::update(t_epoData* epoData) { 531 532 533 bncSettings settings; 534 double sig_P3; 535 sig_P3 = 5.0; 536 if ( Qt::CheckState(settings.value("pppUsePhase").toInt()) == Qt::Checked ) { 537 sig_P3 = settings.value("pppSigC").toDouble(); 538 if (sig_P3 < 0.3 || sig_P3 > 50.0) { 539 sig_P3 = 5.0; 540 } 541 } 542 532 543 _log.clear(); 533 544 … … 730 741 // NEU Output 731 742 // ---------- 732 bncSettings settings;733 743 if (settings.value("pppOrigin").toString() == "X Y Z") { 734 744 double xyzRef[3]; -
trunk/BNC/bncsettings.cpp
r2399 r2473 79 79 setValue("pppMount", ""); 80 80 setValue("pppSPP", "PPP"); 81 setValue("pppSigC", "5.0"); 81 82 setValue("pppStatic", ""); 82 83 setValue("pppUsePhase", ""); -
trunk/BNC/bncwindow.cpp
r2436 r2473 341 341 _pppNMEALineEdit = new QLineEdit(settings.value("nmeaFile").toString()); 342 342 _pppNMEAPortLineEdit = new QLineEdit(settings.value("nmeaPort").toString()); 343 _pppSigCLineEdit = new QLineEdit(settings.value("pppSigC").toString()); 343 344 _pppRefCrdXLineEdit = new QLineEdit(settings.value("pppRefCrdX").toString()); 344 345 _pppRefCrdYLineEdit = new QLineEdit(settings.value("pppRefCrdY").toString()); 345 346 _pppRefCrdZLineEdit = new QLineEdit(settings.value("pppRefCrdZ").toString()); 347 346 348 _pppOriginComboBox = new QComboBox(); 347 349 _pppOriginComboBox->setEditable(false); … … 351 353 _pppOriginComboBox->setCurrentIndex(ij); 352 354 } 355 353 356 _pppSPPComboBox = new QComboBox(); 354 357 _pppSPPComboBox->setEditable(false); … … 375 378 376 379 connect(_pppOriginComboBox, SIGNAL(currentIndexChanged(const QString &)), 380 this, SLOT(slotBncTextChanged())); 381 382 connect(_pppUsePhaseCheckBox, SIGNAL(stateChanged(int)), 377 383 this, SLOT(slotBncTextChanged())); 378 384 … … 462 468 _pppNMEAPortLineEdit->setWhatsThis(tr("<p>Specify an IP port number to output PPP results as NMEA messages through an IP port.</p>")); 463 469 _pppOriginComboBox->setWhatsThis(tr("<p>Select an origin for North/East/Up time series plots in the 'PPP Plot' tab. This option makes only sense for a stationary receiver.</p>")); 470 _pppSigCLineEdit->setWhatsThis(tr("<p>Enter a sigma for your code observations in meters.</p><p>5.0 (default) is likely to be an appropriate choice.</p>")); 464 471 _pppRefCrdXLineEdit->setWhatsThis(tr("<p>You may enter reference coordinates of the receiver position if known. The time series plots shown in the 'PPP Plot' tab will then be referred to these values.</p>")); 465 472 _pppRefCrdYLineEdit->setWhatsThis(tr("<p>You may enter reference coordinates of the receiver position if known. The time series plots shown in the 'PPP Plot' tab will then be referred to these values.</p>")); … … 699 706 // ---------- 700 707 QGridLayout* pppLayout = new QGridLayout; 708 _pppSigCLineEdit->setMaximumWidth(5*ww); 701 709 _pppRefCrdXLineEdit->setMaximumWidth(14*ww); 702 710 _pppRefCrdYLineEdit->setMaximumWidth(14*ww); … … 718 726 pppLayout->addWidget(_pppGLONASSCheckBox, 1, 7); 719 727 pppLayout->addWidget(new QLabel("Use GLONASS"), 1, 8); 720 pppLayout->addWidget(new QLabel("Plot origin"), 2, 0); 721 pppLayout->addWidget(_pppOriginComboBox, 2, 1, 1, 2); 722 pppLayout->addWidget(new QLabel(" "), 2, 3); 723 pppLayout->addWidget(_pppRefCrdXLineEdit, 2, 4); 724 pppLayout->addWidget(new QLabel(" "), 2, 5); 725 pppLayout->addWidget(_pppRefCrdYLineEdit, 2, 6); 726 pppLayout->addWidget(new QLabel(" "), 2, 7); 727 pppLayout->addWidget(_pppRefCrdZLineEdit, 2, 8); 728 pppLayout->addWidget(new QLabel("NMEA File (full path)"), 3, 0); 729 pppLayout->addWidget(_pppNMEALineEdit, 3, 1, 1, 6); 730 pppLayout->addWidget(new QLabel("Port"), 3, 7); 731 pppLayout->addWidget(_pppNMEAPortLineEdit, 3, 8); 732 pppLayout->addWidget(new QLabel("Coordinates from Precise Point Positioning (PPP)."),4, 0,1,15); 733 pppLayout->addWidget(new QLabel(" "), 5, 0); 728 pppLayout->addWidget(new QLabel("Sigma code"), 2, 0); 729 pppLayout->addWidget(_pppSigCLineEdit, 2, 1); 730 pppLayout->addWidget(new QLabel("Plot origin"), 3, 0); 731 pppLayout->addWidget(_pppOriginComboBox, 3, 1, 1, 2); 732 pppLayout->addWidget(new QLabel(" "), 3, 3); 733 pppLayout->addWidget(_pppRefCrdXLineEdit, 3, 4); 734 pppLayout->addWidget(new QLabel(" "), 3, 5); 735 pppLayout->addWidget(_pppRefCrdYLineEdit, 3, 6); 736 pppLayout->addWidget(new QLabel(" "), 3, 7); 737 pppLayout->addWidget(_pppRefCrdZLineEdit, 3, 8); 738 pppLayout->addWidget(new QLabel("NMEA File (full path)"), 4, 0); 739 pppLayout->addWidget(_pppNMEALineEdit, 4, 1, 1, 6); 740 pppLayout->addWidget(new QLabel("Port"), 4, 7); 741 pppLayout->addWidget(_pppNMEAPortLineEdit, 4, 8); 742 743 pppLayout->addWidget(new QLabel("Coordinates from Precise Point Positioning (PPP)."),5, 0,1,15); 734 744 pppgroup->setLayout(pppLayout); 735 745 … … 1045 1055 settings.setValue("nmeaFile", _pppNMEALineEdit->text()); 1046 1056 settings.setValue("nmeaPort", _pppNMEAPortLineEdit->text()); 1057 settings.setValue("pppSigC", _pppSigCLineEdit->text()); 1047 1058 settings.setValue("pppRefCrdX", _pppRefCrdXLineEdit->text()); 1048 1059 settings.setValue("pppRefCrdY", _pppRefCrdYLineEdit->text()); … … 1397 1408 QPalette palette_white(QColor(255, 255, 255)); 1398 1409 QPalette palette_gray(QColor(230, 230, 230)); 1410 bncSettings settings; 1399 1411 1400 1412 // Proxy … … 1586 1598 // ---------- 1587 1599 if (sender() == 0 || sender() == _pppMountLineEdit 1588 || sender() == _pppOriginComboBox ) {1600 || sender() == _pppOriginComboBox || sender() == _pppUsePhaseCheckBox ) { 1589 1601 if (!_pppMountLineEdit->text().isEmpty()) { 1590 1602 _pppSPPComboBox->setPalette(palette_white); … … 1626 1638 _pppRefCrdZLineEdit->setEnabled(false); 1627 1639 } 1640 if (_pppUsePhaseCheckBox->isChecked() 1641 && !_pppMountLineEdit->text().isEmpty()) { 1642 _pppSigCLineEdit->setPalette(palette_white); 1643 _pppSigCLineEdit->setEnabled(true); 1644 } 1645 else { 1646 _pppSigCLineEdit->setPalette(palette_gray); 1647 _pppSigCLineEdit->setEnabled(false); 1648 } 1628 1649 } else { 1629 1650 _pppSPPComboBox->setPalette(palette_gray); … … 1638 1659 _pppGLONASSCheckBox->setPalette(palette_gray); 1639 1660 _pppOriginComboBox->setPalette(palette_gray); 1661 _pppSigCLineEdit->setPalette(palette_gray); 1640 1662 _pppSPPComboBox->setEnabled(false); 1641 1663 _pppNMEALineEdit->setEnabled(false); … … 1649 1671 _pppGLONASSCheckBox->setEnabled(false); 1650 1672 _pppOriginComboBox->setEnabled(false); 1651 } 1652 } 1653 } 1673 _pppSigCLineEdit->setEnabled(false); 1674 } 1675 } 1676 } -
trunk/BNC/bncwindow.h
r2386 r2473 116 116 QLineEdit* _pppNMEALineEdit; 117 117 QLineEdit* _pppNMEAPortLineEdit; 118 QLineEdit* _pppSigCLineEdit; 119 QLineEdit* _pppSigPLineEdit; 118 120 QLineEdit* _pppRefCrdXLineEdit; 119 121 QLineEdit* _pppRefCrdYLineEdit;
Note:
See TracChangeset
for help on using the changeset viewer.