Changeset 9783 in ntrip for trunk/BNC/src/pppWidgets.cpp


Ignore:
Timestamp:
Jun 27, 2022, 5:09:40 PM (22 months ago)
Author:
stuerze
Message:

some changes regarding PPP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/pppWidgets.cpp

    r9599 r9783  
    7878  _snxtroAc     = new QLineEdit();     _snxtroAc    ->setObjectName("PPP/snxtroAc");     _widgets << _snxtroAc;
    7979  _snxtroSol    = new QLineEdit();     _snxtroSol   ->setObjectName("PPP/snxtroSol");    _widgets << _snxtroSol;
    80   _v2filenames  = new QCheckBox();     _v2filenames ->setObjectName("PPP/v2filenames");  _widgets << _v2filenames;
    8180  _staTable     = new QTableWidget();  _staTable    ->setObjectName("PPP/staTable");     _widgets << _staTable;
    8281  _lcGPS        = new QComboBox();     _lcGPS       ->setObjectName("PPP/lcGPS");        _widgets << _lcGPS;
     
    115114  _dataSource->addItems(QString(",Real-Time Streams,RINEX Files").split(","));
    116115  connect(_dataSource, SIGNAL(currentIndexChanged(const QString&)), this, SLOT(slotEnableWidgets()));
     116  connect(_pseudoObs, SIGNAL(currentIndexChanged(const QString&)), this, SLOT(slotEnableWidgets()));
    117117  connect(_modelObs, SIGNAL(currentIndexChanged(const QString&)), this, SLOT(slotEnableWidgets()));
    118118  connect(_snxtroPath, SIGNAL(textChanged(const QString &)), this, SLOT(slotPPPTextChanged()));
     
    168168  _snxtroIntr->setCurrentIndex(6);
    169169
    170   _minObs->setMinimum(5);
     170  _minObs->setMinimum(4);
    171171  _minObs->setMaximum(6);
    172172  _minObs->setSingleStep(1);
     
    209209  // WhatsThis, PPP (2)
    210210  // ------------------
    211   _staTable->setWhatsThis(tr("<p>Specify values for Sigma and white Noise of the Stations North, East and Height coordinate components in meters. Specify also a Sigma in meters for a priori model based Tropospheric delays and a Sigma in meters per second for the delay's Noise.</p><p>Specifying one record per Station is mandatory. BNC will only process data for stations which are listed here. To define a station, specify the 'Mountpoint' when in 'Real-Time Streams' mode or the 4-character station ID when in 'RINEX Files' mode.</p><p>'Sigma' is meant to describe the uncertainty of a single coordinate or tropospheric delay estimated for one epoch. 'Noise' is meant to describe the variation of estimates from epoch to epoch.</p><p><ul><li>A Sigma of 100.0 meters may be an appropriate choice e.g. for the initial N/E/H coordinates. However, this value may be significantly smaller (i.e. 0.01) for stations with well-known a priori coordinates.</li><li>A Noise of 100.0 meters for the estimated N/E/H coordinates may also be appropriate considering the potential movement of a rover position.</li><li>A value of 0.1 meters may be an appropriate Sigma for the a priori model based Tropospheric delay estimation.</li><li>Specify a Noise to describe the expected variation of the tropospheric effect over time. Supposing 1Hz observation data, specifying a value of 3e-6 would mean that the tropospheric effect may vary 3600 * 3e-6 = 0.01 meters per hour.</li></ul></p><p>You can also specify a 'NMEA Port' to output coordinates in NMEA format through an IP port of your local host. <i>[key: PPP/staTable]</i></p>"));
     211  _staTable->setWhatsThis(tr("<p>Specify values for Sigma and white Noise of the Stations North, East and Height coordinate components in meters. Specify also a Sigma in meters for a priori model based Tropospheric delays and a Sigma in meters per second for the delay's Noise. You can also specify a 'NMEA Port' to output coordinates in NMEA format through an IP port of your local host.</p><p>Specifying one record per Station is mandatory. BNC will only process data for stations which are listed here. To define a station, specify the 'Mountpoint' when in 'Real-Time Streams' mode or the 4-character station ID when in 'RINEX Files' mode.</p><p>'Sigma' is meant to describe the uncertainty of a single coordinate or tropospheric delay estimated for one epoch. 'Noise' is meant to describe the variation of estimates from epoch to epoch.</p><p><ul><li>A Sigma of 100.0 meters may be an appropriate choice e.g. for the initial N/E/H coordinates. However, this value may be significantly smaller (i.e. 0.01) for stations with well-known a priori coordinates.</li><li>A Noise of 100.0 meters for the estimated N/E/H coordinates may also be appropriate considering the potential movement of a rover position.</li><li>A value of 0.1 meters may be an appropriate Sigma for the a priori model based Tropospheric delay estimation.</li><li>Specify a Noise to describe the expected variation of the tropospheric effect over time. Supposing 1Hz observation data, specifying a value of 3e-6 would mean that the tropospheric effect may vary 3600 * 3e-6 = 0.01 meters per hour.</li></ul></p><p> <i>[key: PPP/staTable]</i></p>"));
    212212
    213213  // WhatsThis, PPP (3)
     
    248248  delete _snxtroAc;
    249249  delete _snxtroSol;
    250   delete _v2filenames;
    251250  for (int iRow = _staTable->rowCount()-1; iRow >=0; iRow--) {
    252251    _staTable->removeRow(iRow);
     
    395394  _eleWgtCode ->setCheckState(Qt::CheckState(settings.value(_eleWgtCode ->objectName()).toInt()));
    396395  _eleWgtPhase->setCheckState(Qt::CheckState(settings.value(_eleWgtPhase->objectName()).toInt()));
    397   _v2filenames->setCheckState(Qt::CheckState(settings.value(_v2filenames->objectName()).toInt()));
    398396
    399397  // SpinBoxex
     
    464462  settings.setValue(_snxtroAc    ->objectName(), _snxtroAc    ->text());
    465463  settings.setValue(_snxtroSol   ->objectName(), _snxtroSol   ->text());
    466   settings.setValue(_v2filenames ->objectName(), _v2filenames ->checkState());
    467464  settings.setValue(_lcGPS       ->objectName(), _lcGPS       ->currentText());
    468465  settings.setValue(_lcGLONASS   ->objectName(), _lcGLONASS   ->currentText());
     
    523520    enablePseudoObs = true;
    524521  }
     522  bool pseudoObsUsed = _pseudoObs->currentText() == "Ionosphere";
    525523
    526524  QListIterator<QWidget*> it(_widgets);
     
    557555  if (enablePseudoObs) {
    558556    _pseudoObs->setEnabled(true);
    559     _sigmaGIM->setEnabled(true);
    560     _maxResGIM->setEnabled(true);
     557    if (pseudoObsUsed) {
     558     _sigmaGIM->setEnabled(true);
     559     _maxResGIM->setEnabled(true);
     560    } else {
     561      _sigmaGIM->setEnabled(false);
     562      _maxResGIM->setEnabled(false);
     563    }
    561564  } else {
    562565    _pseudoObs->setEnabled(false);
     
    593596     if (iCol == 6) _staTable->setItem(iRow, iCol, new QTableWidgetItem("100.0"));
    594597     if (iCol == 7) _staTable->setItem(iRow, iCol, new QTableWidgetItem("0.1"));
    595      if (iCol == 8) _staTable->setItem(iRow, iCol, new QTableWidgetItem("1e-6"));
     598     if (iCol == 8) _staTable->setItem(iRow, iCol, new QTableWidgetItem("3e-6"));
    596599     if (iCol == 9) _staTable->setItem(iRow, iCol, new QTableWidgetItem("0"));
    597600  }
Note: See TracChangeset for help on using the changeset viewer.