Changeset 3112 in ntrip


Ignore:
Timestamp:
Mar 22, 2011, 3:37:18 PM (13 years ago)
Author:
weber
Message:

Option Max Solution Gap added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r3109 r3112  
    349349  _pppAverageLineEdit    = new QLineEdit(settings.value("pppAverage").toString());
    350350  _pppQuickStartLineEdit = new QLineEdit(settings.value("pppQuickStart").toString());
     351  _pppMaxSolGapLineEdit  = new QLineEdit(settings.value("pppMaxSolGap").toString());
    351352  _pppRefCrdXLineEdit    = new QLineEdit(settings.value("pppRefCrdX").toString());
    352353  _pppRefCrdYLineEdit    = new QLineEdit(settings.value("pppRefCrdY").toString());
     
    411412
    412413  connect(_pppAntexLineEdit, SIGNAL(textChanged(const QString &)),
     414          this, SLOT(slotBncTextChanged()));
     415
     416  connect(_pppQuickStartLineEdit, SIGNAL(textChanged(const QString &)),
    413417          this, SLOT(slotBncTextChanged()));
    414418
     
    529533  _pppSigCLineEdit->setWhatsThis(tr("<p>Enter a sigma for your code observations in meters.</p><p>The higher the sigma you enter, the less the contribution of code observations to a PPP solution based on a combination of code and phase data. 5.0 (default) is likely to be an appropriate choice.</p>"));
    530534  _pppQuickStartLineEdit->setWhatsThis(tr("<p>Enter the lenght of a startup period in seconds for which you want to fix the PPP solution to a known XYZ coordinate as introduced above and adjust a sigma 'XYZ Ini' according to the coordinate's precision. Fixing the coordinate is done in BNC through setting the 'Sigma XYZ Noise' you define below temporarily to zero.</p><p>This so-called Quick-Start option allows the PPP solution to rapidly converge. It requires that the antenna remains unmoved on the know position throughout the startup period.</p><p>A value of 120 is likely to be an appropriate choice for 'Quick-Start'. Default is an empty option field, meaning that you don't want BNC to operate in Quick-Start mode.</p>"));
     535  _pppMaxSolGapLineEdit->setWhatsThis(tr("<p>Specify a maximum PPP solution gap in seconds.</p><p>Default is an empty option field, meaning that you don't want the PPP solution to restart.</p>"));
    531536  _pppSigPLineEdit->setWhatsThis(tr("<p>Enter a sigma for your phase observations in meters.</p><p>The higher the sigma you enter, the less the contribution of phase observations to a PPP solutions based on a combination of code and phase data. 0.02 (default) is likely to be an appropriate choice.</p>"));
    532537  _pppAverageLineEdit->setWhatsThis(tr("<p>Enter the length of a sliding time window in minutes. BNC will continuously output moving average positions computed from those individual positions obtained most recently throughout this period.</p><p>An empty option field (default) means that you don't want BNC to output moving average positions.</p>"));
     
    804809  _pppAverageLineEdit->setMaximumWidth(6*ww);
    805810  _pppQuickStartLineEdit->setMaximumWidth(6*ww);
     811  _pppMaxSolGapLineEdit->setMaximumWidth(6*ww);
    806812  _pppRefCrdXLineEdit->setMaximumWidth(10*ww);
    807813  _pppRefCrdYLineEdit->setMaximumWidth(10*ww);
     
    837843  pppLayout->addWidget(_pppQuickStartLineEdit,               3, 5, Qt::AlignRight);
    838844  pppLayout->addWidget(new QLabel("Quick-Start (sec)"),      3, 6); 
    839   pppLayout->addWidget(_pppPlotCoordinates,                  3, 7, Qt::AlignRight);
    840   pppLayout->addWidget(new QLabel("PPP Plot"),               3, 8);
    841   pppLayout->addWidget(new QLabel("NMEA"),                   4, 0);
     845  pppLayout->addWidget(_pppMaxSolGapLineEdit,                3, 7, Qt::AlignRight);
     846  pppLayout->addWidget(new QLabel("Max Solution Gap (sec)"), 3, 8); 
     847  pppLayout->addWidget(new QLabel("Output"),                 4, 0);
    842848  pppLayout->addWidget(_pppNMEALineEdit,                     4, 1, 1, 3);
    843   pppLayout->addWidget(new QLabel("File"),                   4, 4);
     849  pppLayout->addWidget(new QLabel("NMEA File"),              4, 4);
    844850  pppLayout->addWidget(_pppNMEAPortLineEdit,                 4, 5, Qt::AlignRight);
    845   pppLayout->addWidget(new QLabel("Port"),                   4, 6);
     851  pppLayout->addWidget(new QLabel("NMEA Port"),              4, 6);
     852  pppLayout->addWidget(_pppPlotCoordinates,                  4, 7, Qt::AlignRight);
     853  pppLayout->addWidget(new QLabel("PPP Plot"),               4, 8);
    846854
    847855
     
    12511259  settings.setValue("pppAverage",  _pppAverageLineEdit->text());
    12521260  settings.setValue("pppQuickStart", _pppQuickStartLineEdit->text());
     1261  settings.setValue("pppMaxSolGap",  _pppMaxSolGapLineEdit->text());
    12531262  settings.setValue("pppRefCrdX",  _pppRefCrdXLineEdit->text());
    12541263  settings.setValue("pppRefCrdY",  _pppRefCrdYLineEdit->text());
     
    18291838     || sender() == _pppSync
    18301839     || sender() == _pppSPPComboBox
     1840     || sender() == _pppQuickStartLineEdit
    18311841     || sender() == _pppEstTropoCheckBox
    18321842     || sender() == _pppUsePhaseCheckBox   
     
    18631873      _pppRefCrdZLineEdit->setPalette(palette_white);
    18641874      _pppAntexLineEdit->setEnabled(true);
     1875      if (!_pppQuickStartLineEdit->text().isEmpty()) {
     1876      _pppMaxSolGapLineEdit->setPalette(palette_white);
     1877      _pppMaxSolGapLineEdit->setEnabled(true);
     1878      }
     1879      else {
     1880      _pppMaxSolGapLineEdit->setPalette(palette_gray);
     1881      _pppMaxSolGapLineEdit->setEnabled(false);
     1882      }
    18651883      if (!_pppRefCrdXLineEdit->text().isEmpty() &&
    18661884          !_pppRefCrdYLineEdit->text().isEmpty() &&
     
    18681886      _pppAverageLineEdit->setPalette(palette_white);
    18691887      _pppQuickStartLineEdit->setPalette(palette_white);
     1888      _pppMaxSolGapLineEdit->setPalette(palette_white);
    18701889      _pppAverageLineEdit->setEnabled(true);
    18711890      _pppQuickStartLineEdit->setEnabled(true);
     1891      _pppMaxSolGapLineEdit->setEnabled(true);
    18721892      }
    18731893      else {
     
    18761896      _pppQuickStartLineEdit->setPalette(palette_gray);
    18771897      _pppQuickStartLineEdit->setEnabled(false);
     1898      _pppMaxSolGapLineEdit->setPalette(palette_gray);
     1899      _pppMaxSolGapLineEdit->setEnabled(false);
    18781900      }
    18791901      if (!_pppAntexLineEdit->text().isEmpty() ) {
     
    19461968      _pppAverageLineEdit->setPalette(palette_gray);
    19471969      _pppQuickStartLineEdit->setPalette(palette_gray);
     1970      _pppMaxSolGapLineEdit->setPalette(palette_gray);
    19481971      _pppAntexLineEdit->setPalette(palette_white);
    19491972      _pppAntennaLineEdit->setPalette(palette_gray);
     
    19691992      _pppAverageLineEdit->setEnabled(false);
    19701993      _pppQuickStartLineEdit->setEnabled(false);
     1994      _pppMaxSolGapLineEdit->setEnabled(false);
    19711995      _pppAntexLineEdit->setEnabled(true);
    19721996      _pppAntennaLineEdit->setEnabled(false);
Note: See TracChangeset for help on using the changeset viewer.